Removing all PlatformTarget setting in the default Sdk.props file.

This value is passed in by the CLI.
This commit is contained in:
Eric Erhardt 2016-07-21 19:36:09 -05:00
parent e908ffec91
commit 5296b28db7

View file

@ -15,7 +15,8 @@
<!-- User-facing configuration-specific defaults -->
<PropertyGroup>
<PlatformTarget>AnyCPU</PlatformTarget>
<!-- TODO: This property can't be set in the CLI since ResolveNuGetPackageAssets needs an exact RID from the project.json, and the RID is made up of the PlatformTarget -->
<!--<PlatformTarget>AnyCPU</PlatformTarget>-->
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>$(NoWarn);1701</NoWarn>
@ -54,8 +55,6 @@
<CopyNuGetImplementations>false</CopyNuGetImplementations>
This will be set to false during "build", but set to true during "publish"
-->
<!--Setting PlatformTarget is needed when CopyNuGetImplementations is left on, or else you get 'Your project.json doesn't list 'win10' as a targeted runtime. You should add '"win10": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore' errors -->
<PlatformTarget Condition=" '$(PlatformTarget)' == '' ">x64</PlatformTarget>
<!-- Temp Hack: https://github.com/dotnet/roslyn/issues/12167 -->
<NoLogo>true</NoLogo>