General XMetaL Discussion
lerche April 2, 2018 at 11:01 am
How to build xdp project with command line?April 2, 2018 at 11:01 amParticipants 1Replies 2Last Activity 4 years, 6 months ago
Hello at all,
First of all: Happy easter!
*.xdp.metaproj: warning MSB 4078: The project file “*.xdp” is not supported by MSBuild and cannot be build.
The command was:
Obviously xdp files are not supported by msbuild. I think the correct build tool is hidden somewhere in my installation path of XMetaL developer. Can you give me a hint how to trigger the build with the command line correctly? This would be very helpful to automate my build and release process with just one gulp command.
I would be very grateful for every advice.
My system is the following:
XMetaL(R) Author Enterprise 12.0.0.077
XMetaL(R) Developer Version 12.0.0.077
Visual Studio 2015 (Community Edition) Update 3
OS: Windows 10 Pro, English
RenéDerek Read April 2, 2018 at 5:38 pm
Reply to: How to build xdp project with command line?April 2, 2018 at 5:38 pm
XMetaL Developer cannot be run standalone as it is a plugin for Visual Studio. The Microsoft documentation for “devenv” should let you control Visual Studio from the command line. I suspect you likely need either the /build or /rebuild switch, or perhaps one of the others documented here:
The following works for me:
"C:Program Files (x86)Microsoft Visual Studio2017CommunityCommon7IDEdevenv.exe" "C:Visual Studio ProjectsProject1Project1.sln" /buildlerche April 3, 2018 at 3:47 pm
Reply to: How to build xdp project with command line?April 3, 2018 at 3:47 pm
This is a good advice.
But there is certainly one disadvantage. The command line switch doesn't get any feedback from visual studio.
Probably I can examine the build completion by writing the build output into a log file. By observing the changes I will get my feedback. I will check it out.
Thank you, Derek!
- You must be logged in to reply to this topic.