diff options
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> |