428d541627
When building the entire stack for a non windows target, the windows resolver packages will not be present (and in the case of a windows build, you'd only have one architecture anyway). Provide a way to opt out of including the resolver. It's only interesting for Visual Studio insertion cases, which is something the community at large doesn't need to worry about.
22 lines
1.7 KiB
XML
22 lines
1.7 KiB
XML
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<CLITargets Condition=" '$(CLITargets)' == '' ">Prepare;Compile;Test;Package;Publish</CLITargets>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<IncludeNuGetPackageArchive Condition=" '$(IncludeNuGetPackageArchive)' == '' ">true</IncludeNuGetPackageArchive>
|
|
<SkipBuildingInstallers Condition=" '$(SkipBuildingInstallers)' == '' ">false</SkipBuildingInstallers>
|
|
<IncludeAspNetCoreRuntime Condition="'$(IncludeAspNetCoreRuntime)' == ''">true</IncludeAspNetCoreRuntime>
|
|
<IncludeMSBuildSdkResolver Condition="'$(IncludeMSBuildSdkResolver)' == ''">true</IncludeMSBuildSdkResolver>
|
|
<UsePortableLinuxSharedFramework Condition=" '$(UsePortableLinuxSharedFramework)' == '' AND '$(OSPlatform)' == 'linux' ">true</UsePortableLinuxSharedFramework>
|
|
<IncludeSharedFrameworksForBackwardsCompatibilityTests Condition=" $(IncludeSharedFrameworksForBackwardsCompatibilityTests) == '' AND '$(Rid)' != 'linux-x64' ">true</IncludeSharedFrameworksForBackwardsCompatibilityTests>
|
|
<HighEntropyVA>true</HighEntropyVA>
|
|
|
|
<!-- Only use asset target fallback that we set (not implicit one to net461). -->
|
|
<DisableImplicitAssetTargetFallback>true</DisableImplicitAssetTargetFallback>
|
|
|
|
<!-- Disable asset target fallback warning globally since it does not work transitively on NoWarn of individual packages -->
|
|
<!-- Since we disabled the implict fallback to net461, this will only kick in when we have an explicit fallback and we don't need to be warned about it doing what we asked it to do. -->
|
|
<NoWarn>NU1701</NoWarn>
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
</Project>
|