0
msbuildからオンデマンドでプロジェクトを有効にする方法はありますか?msbuildからプロジェクトを有効にする
私はビルドサーバー上で一晩を構築したいこれらの無効なプロジェクトを持っています。
> msbuild solution.sln /t:Common.Test /p:Configuraion="Release" /p:Platform="x64"
Microsoft (R) Build Engine version 12.0.40629.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 03/11/2016 16:31:10.
Project "soluton.sln" on node 1 (Common.Test target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
ValidateProjects:
The project "Common.Test" is not selected for building in solution configuration "Debug|x64".
solution.sln.metaproj : error MSB4057: The target "Common.Test" does not exist in the project. [solution.sln]
Done Building Project "solution.sln" (Common.Test target(s)) -- FAILED.
Build FAILED.
"solution.sln" (Common.Test target) (1) ->
solution.sln.metaproj : error MSB4057: The target "Common.Test" does not exist in the project. [solution.sln]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.04
これはVS2013のものですが、Team Foundation Server 2015のビルド定義で有効にしたいと考えています。 TFSでは
TFSビルドで "Common.Test"をビルドしたいのですが、ローカルマシンにビルドしていませんか? –