-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSBuild tools version is generally does not correlate with the Visual Studio or SDK version, and the changes between different versions of scripts under Contracts/MsBuild/ were inconsequential anyway. We now use a common set of build files for all MSBuild versions 4.0 and above. See dotnet/msbuild#52 (comment) for the elaboration on the versioning conventions.
- Loading branch information
kkm
committed
Dec 21, 2017
1 parent
cb52a7f
commit 45d52d1
Showing
10 changed files
with
46 additions
and
2,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
254 changes: 0 additions & 254 deletions
254
Contracts/MsBuild/v12.0/Microsoft.CodeContractAnalysis.targets
This file was deleted.
Oops, something went wrong.
646 changes: 0 additions & 646 deletions
646
Contracts/MsBuild/v12.0/Microsoft.CodeContracts.targets
This file was deleted.
Oops, something went wrong.
254 changes: 0 additions & 254 deletions
254
Contracts/MsBuild/v14.0/Microsoft.CodeContractAnalysis.targets
This file was deleted.
Oops, something went wrong.
646 changes: 0 additions & 646 deletions
646
Contracts/MsBuild/v14.0/Microsoft.CodeContracts.targets
This file was deleted.
Oops, something went wrong.
254 changes: 0 additions & 254 deletions
254
Contracts/MsBuild/v15.0/Microsoft.CodeContractAnalysis.targets
This file was deleted.
Oops, something went wrong.
646 changes: 0 additions & 646 deletions
646
Contracts/MsBuild/v15.0/Microsoft.CodeContracts.targets
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
nuget/CodeContracts.MSBuild/build/CodeContracts.MSBuild.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<CodeContractsInstallDir Condition="'$(DontOverrideCodeContractsInstallDir)' != 'true'">$(MSBuildThisFileDirectory)..\Contracts\</CodeContractsInstallDir> | ||
<_CodeContractsBuildToolsVersion Condition="$(MSBuildToolsVersion) < 4.0">3.5</_CodeContractsBuildToolsVersion> | ||
<_CodeContractsBuildToolsVersion Condition="$(MSBuildToolsVersion) >= 4.0">4.0</_CodeContractsBuildToolsVersion> | ||
</PropertyGroup> | ||
<Import Condition="'$(CodeContractsImported)' != 'true' AND '$(DontImportCodeContracts)' != 'true'" Project="$(CodeContractsInstallDir)MsBuild\v$(MSBuildToolsVersion)\Microsoft.CodeContracts.targets" /> | ||
<Import Condition="'$(CodeContractsImported)' != 'true' AND '$(DontImportCodeContracts)' != 'true'" Project="$(CodeContractsInstallDir)MsBuild\v$(_CodeContractsBuildToolsVersion)\Microsoft.CodeContracts.targets" /> | ||
</Project> |