Custodio Custodio -4 years ago 184
C# Question

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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download