Can build using visual studio ide, but cannot build using devenv.com

I am using VS 2008. I can compile my solution using the IDE successfully. However, when I try to create it using devenv.com, it does not say that "ERROR: cannot find the output of the project group" (name cannot be determined). Either the group, its configuration, or its project can be removed from the solution. "When creating the installation project .vdproj.

Similar problem here

any ideas to fix this? THX

Edit: Actually cruisecontrol.net is trying to build a solution using devenv.com. Here is the devenv section that I use in ccnet.config:

<devenv>
      <solutionfile>xxxxx.sln</solutionfile>
      <configuration>Debug</configuration>
      <buildtype>Build</buildtype>
      <executable>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com</executable>
      <buildTimeoutSeconds>60000</buildTimeoutSeconds>
      <version>VS2008</version>
    </devenv>
+3
2

, , devenv.com.

, hello world?

,

Sebastiaan

0

MSBuild VisualStudio? MSBuild, , , VisualStudio, .

, , :

<msbuild>
    <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
    <workingDirectory>D:\dev\your\path\</workingDirectory>
    <projectFile>xxxx.sln</projectFile>
    <buildArgs>/v:m /noconlog /p:Configuration=Debug</buildArgs>
    <targets>Build</targets>
    <!--<logger>C:\Program Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll</logger>-->
    <!-- If you dont have that logger for CruiseControl, you should try it :) -->
</msbuild>

, :

>cd "D:\dev\your\path\"
>D:
>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe /v:m /p:Configuration=Debug xxxxx.sln

v (Verbosity) - , , (. msdn MSBuild ).

0

Source: https://habr.com/ru/post/1760738/


All Articles