Removing all PlatformTarget setting in the default Sdk.props file.
This value is passed in by the CLI.
This commit is contained in:
parent
e908ffec91
commit
5296b28db7
1 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue