diff options
author | Buyaa Namnan <bunamnan@microsoft.com> | 2021-06-08 00:48:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 00:48:17 +0300 |
commit | 61587f4f18aa082f40cce941fd913c0852641bd6 (patch) | |
tree | 80f5504690a5bd1b9886e8d420141039df2db1e8 /eng/versioning.targets | |
parent | 15eca9148387528ce5fca4c5ea2cf78d21268b26 (diff) |
Add PlatformNeutralAssembly property for targeted builds of cross platform assembly (#53626)
Diffstat (limited to 'eng/versioning.targets')
-rw-r--r-- | eng/versioning.targets | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eng/versioning.targets b/eng/versioning.targets index 9981f73a0be..4dacec01a86 100644 --- a/eng/versioning.targets +++ b/eng/versioning.targets @@ -84,6 +84,11 @@ </ItemGroup> </Target> + <!-- Add PlatformNeutralAssembly property for targeted builds of cross platform assemblies --> + <ItemGroup Condition="'$(TargetsAnyOS)' != 'true' and '$(IsTestProject)' != 'true' and '@(SupportedOSPlatforms)' == ''"> + <CompilerVisibleProperty Include="PlatformNeutralAssembly" /> + </ItemGroup> + <PropertyGroup> <!-- corefx has never generated these attributes so don't let the SDK generate them --> <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |