Msbuild is not compiling the project

msbuild

This is in reference to this question:

Unexpected token with msbuild script?

I fixed the errors, but when I run msbuild ScrewTurnWiki.build, it does not compile the solution. The buildartifacts directory is not created either.

Let me rephrase, when I build it, it says Build Succeeded and 0 errors, 0 warnings, but it does not create the buildartifacts output directory.

Ok, if I run it like this:

msbuild ScrewTurnWiki.build /t:Compile

It creates the directory with a couple files, but gives me the error message:

C:\ScrewTurnWiki\WebDeployment\WebDeployment.wdproj(42,11): error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets" was not
found. Confirm that the path in the declaration is correct, and that
the file exists on disk.

LOG FILE

Build started 10/6/2009 8:54:23 AM.
Project "C:\ScrewTurnWiki\Build\ScrewTurnWiki.build" on node 0 (default targets).
Building with tools version "3.5".
Target "Clean" in file "C:\ScrewTurnWiki\Build\ScrewTurnWiki.build" from project "C:\ScrewTurnWiki\Build\ScrewTurnWiki.build":
Using "RemoveDir" task from assembly "Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "RemoveDir"
Directory ".\buildartifacts\" doesn't exist. Skipping.
Done executing task "RemoveDir".
Done building target "Clean" in project "ScrewTurnWiki.build".
Done Building Project "C:\ScrewTurnWiki\Build\ScrewTurnWiki.build" (default targets).

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:00.01

Best Answer

Can you try msbuild ScrewTurnWiki.build /fl and then look at the generated file (msbuild.log) for more info and paste it here?

Related Topic