mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 17:44:48 +09:00
System.Runtime.Serialization.Formatters: fix target framework check for source-build. (#104735)
* System.Runtime.Serialization.Formatters: fix target framework check for source-build. The inbox implementation should no longer include a working binary formatter. The check used to build a working formatter was '$(TargetFramework)' == '$(NetCoreAppMinimum)'. Because NetCoreAppMinimum gets set to TargetFramework in the source-build configuration, the source-build configuration unintentionally included a working binary formatter. * Don't build the net8.0 target when DotNetBuildSourceOnly. * Join lines.
This commit is contained in:
parent
42b2b19e88
commit
9b09bcfada
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<PropertyGroup>
|
||||
<NoWarn>$(NoWarn);CA1822;IDE0060</NoWarn>
|
||||
|
||||
<FunctioningBinaryFormatter Condition="'$(TargetFramework)' == '$(NetCoreAppMinimum)'">true</FunctioningBinaryFormatter>
|
||||
<FunctioningBinaryFormatter Condition="'$(TargetFramework)' == '$(NetCoreAppMinimum)' and '$(DotNetBuildSourceOnly)' != 'true'">true</FunctioningBinaryFormatter>
|
||||
<!-- The GenerateNuspec target fails if this property is keyed off of FunctioningBinaryFormatter, so keep it logically in sync -->
|
||||
<IncludeBuildOutput Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">false</IncludeBuildOutput>
|
||||
<SuppressDependenciesWhenPacking Condition="'$(FunctioningBinaryFormatter)' != 'true'">true</SuppressDependenciesWhenPacking>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue