0
改變的MSBuild ConfigurationToBuild到具體項目中,我利用這個代碼從打擊環節 MSbuild task fails because "Any CPU" solution is built out of order如何在TFS
<Project ...>
<PropertyGroup>
<!-- We want to build the install solution after the build solution -->
<BuildSolutionsInParallel>false</BuildSolutionsInParallel>
</PropertyGroup>
<ItemGroup>
<SolutionToBuild Include="$(BuildProjectFolderPath)/Pricer/Pricer.sln">
<Targets></Targets>
<Properties></Properties>
</SolutionToBuild>
<SolutionToBuild Include="$(BuildProjectFolderPath)/Pricer/Pricer.Install/Pricer.Install.sln">
<Targets></Targets>
<Properties></Properties>
</SolutionToBuild>
</ItemGroup>
<ItemGroup>
<ConfigurationToBuild Include="Release|Any CPU">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Any CPU</PlatformToBuild>
</ConfigurationToBuild>
<ConfigurationToBuild Include="Release|x86">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>x86</PlatformToBuild>
</ConfigurationToBuild>
</ItemGroup>
</Project>
我的問題是,現在我要指定
的X86爲$(BuildProjectFolderPath )/Pricer/Pricer.sln
和
任何CPU爲$(BuildProjectFolderPath)/Pricer/Pricer.Install/Pricer.Install.sln
意味着有任何規範或屬性我需要在SoutionToBuild
我看到你的提供鏈接提前,我也遵循它,但同樣的事情發生。我的二進制文件不生成。我在代碼中缺少的東西。但是這並沒有給我適當的輸出。 –