MSBUILD - Error: MSB4019

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

MSBUILD - Error: MSB4019

Postby 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

Return to “Tutorials, Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest