diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2015-04-04 00:41:00 +0300 |
---|---|---|
committer | Matt Mitchell <mmitche@microsoft.com> | 2015-04-04 00:41:00 +0300 |
commit | d9d82ac1baac0b462caf55d7a66f7f3bf9f58731 (patch) | |
tree | 4ae388084f2839150e06a3427c42979b14e2702b /dir.targets | |
parent | d49f8f5f40458b850b2c49c2966db13777957ac0 (diff) |
Revert "Merge pull request #1315 from mmitche/supported-oses"
This reverts commit d49f8f5f40458b850b2c49c2966db13777957ac0, reversing
changes made to c2c8efbd2a359d8e33ddef54b5b553c45404865f.
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/dir.targets b/dir.targets index c02443e3ae..bdf1ea4dfe 100644 --- a/dir.targets +++ b/dir.targets @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" InitialTargets="_RestoreBuildToolsWrapper;CheckProperties" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project ToolsVersion="12.0" InitialTargets="_RestoreBuildToolsWrapper" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- Inline task to bootstrap the build to enable downloading nuget.exe --> <UsingTask TaskName="DownloadFile" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll"> @@ -69,20 +69,5 @@ <Target Name="BuildAndTest" DependsOnTargets="Build;Test" /> <Target Name="Test" /> - - <Target Name="CheckProperties"> - <ItemGroup> - <MatchedOSs Include="%(AllowableOSs.Identity)" Condition="'%(AllowableOSs.Identity)' == '$(OS)'" /> - </ItemGroup> - <ItemGroup> - <MatchedConfigurations Include="%(AllowableConfigurations.Identity)" Condition="'%(AllowableConfigurations.Identity)' == '$(Configuration)'" /> - </ItemGroup> - <ItemGroup> - <MatchedPlatforms Include="%(AllowablePlatforms.Identity)" Condition="'%(AllowablePlatforms.Identity)' == '$(Platform)'" /> - </ItemGroup> - <Error Condition="'@(MatchedOSs)' == ''" Text="OS=$(OS) not allowed, valid values are: @(AllowableOSs)" /> - <Error Condition="'@(MatchedConfigurations)' == ''" Text="Configuration=$(Configuration) not allowed, valid values are: @(AllowableConfigurations)" /> - <Error Condition="'@(MatchedPlatforms)' == ''" Text="Platform=$(Platform) not allowed, valid values are: @(AllowablePlatforms)" /> - </Target> </Project>
\ No newline at end of file |