Visual studio 2008 可以使用visual studio ide生成,但无法使用devenv.com生成
我用的是VS2008。我可以使用IDE成功编译我的解决方案。但是,当我尝试使用devenv.com构建它时,在构建.vdproj安装项目时,它没有说“错误:找不到项目输出组的输出”(无法确定名称)。该组、其配置或其项目可能已从解决方案中删除。” 类似的问题也存在 有办法解决这个问题吗? thx 编辑:实际上cruisecontrol.net尝试使用devenv.com构建解决方案。以下是我在ccnet.config中使用的devenv部分:Visual studio 2008 可以使用visual studio ide生成,但无法使用devenv.com生成,visual-studio-2008,build-process,cruisecontrol.net,devenv,Visual Studio 2008,Build Process,Cruisecontrol.net,Devenv,我用的是VS2008。我可以使用IDE成功编译我的解决方案。但是,当我尝试使用devenv.com构建它时,在构建.vdproj安装项目时,它没有说“错误:找不到项目输出组的输出”(无法确定名称)。该组、其配置或其项目可能已从解决方案中删除。” 类似的问题也存在 有办法解决这个问题吗? thx 编辑:实际上cruisecontrol.net尝试使用devenv.com构建解决方案。以下是我在ccnet.config中使用的devenv部分: <devenv> <so
<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>
xxxxx.sln
调试
建造
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com
60000
VS2008
听起来在传递给devenv.com的命令行中有一个无效参数
如果你用一个简单的hello world项目创建一个新的解决方案,它可以工作吗
干杯
Sebastiaan您是否尝试过使用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>
如果需要(),您可以将
v
(Verbosity
)标志更改为更高的值以获得更多输出。yes devenv.com成功构建另一个解决方案。也许这与.vdproj项目有关。请不要让我们猜测您使用的命令行。我想我也试过了,但我现在记不清了。现在我已经将平台切换到Mac,所以很遗憾我不能再尝试,但我希望你的回答能帮助其他人。Thx Pondidum:)
>cd "D:\dev\your\path\"
>D:
>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe /v:m /p:Configuration=Debug xxxxx.sln