MSBUILD - Error: MSB4019

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
Site Admin
Posts: 2461
Joined: Fri Aug 13, 2004 5:10 pm

MSBUILD - Error: MSB4019

Post by jussij » Tue Oct 18, 2016 2:51 am

After importing a Visual Studio solution file into Zeus and trying to build that solution from inside Zeus can report this error:
C:\Projects\Test\.csproj(122,3): error MSB4019:

The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found.

Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
This is caused by the fact the Visual Studio environment variables have not be correctly configure.

To fix this create a shortcut on the desktop using these details:

Code: Select all

    File: c:\Program Files\Zeus\ze.cmd
     Run: Minimized
Now if you run the build from inside an instance of Zeus created from that shortcut the build will run fine :)

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 3 guests