Skip to content

Commit

Permalink
Mark System.Private assemblies as framework assemblies (dotnet#143)
Browse files Browse the repository at this point in the history
We mostly need `[assembly: AssemblyMetadata(".NETFrameworkAssembly", "")]` because compiler checks for this in places. Versioning.targets adds a bunch of other stuff too.
  • Loading branch information
MichalStrehovsky authored Oct 5, 2020
1 parent b866f5e commit 9c38e5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/src/nativeaot/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,6 @@
<AotCommonPath>$(MSBuildThisFileDirectory)Common\src\</AotCommonPath>
<CompilerCommonPath>$(MSBuildThisFileDirectory)..\tools\Common\</CompilerCommonPath>
</PropertyGroup>

<Import Condition="'$(MSBuildProjectName)' != 'System.Private.CoreLib'" Project="$(RepositoryEngineeringDir)versioning.targets" />
</Project>

0 comments on commit 9c38e5e

Please sign in to comment.