Search code examples
c#msbuildbuildnantvdproj

I have a error building a .vdproj on msbuild with nant


I'm getting used to using nant for build releases. But I have started to use asp.net MVC, and i choice make the setup for installation with a .vdproj .

But, when I call the:

< exec program="${dotnet.dir}/msbuild.exe" commandline='"./Wum.sln" /v:q /nologo /p:Configuration=Release' />

in nant, my result is:

[exec] D:\My Documents\Visual Studio 2008\Projects\Wum\Wum.sln : warning MS
B4078: The project file "Wum.Setup\Wum.Setup.vdproj" is not supported by MSBuild
and cannot be built.

Someone have some clue, or a solution?

If I use the devenv, I'll have a problem?


Solution

  • MSBuild cannot build .vdproj projects. You should use Visual Studio (devenv.com) for this.