Skip to content

Conversation

@AntonLapounov
Copy link
Member

Amendment to #38600. I figured out that the issue was caused by appending a trailing slash to TargetPath in netcoreapp.depproj file in #36781: https://github.com/dotnet/runtime/pull/36781/files#diff-9fac0b3c275ca346bd7e392f9ae3807cL108-R108, which made the native libraries to be omitted by the following line in Microsoft.NETCore.App.Crossgen2.pkgproj:

<Crossgen2File Include="@(RuntimeFile)" Condition="'%(RuntimeFile.TargetPath)' == 'runtimes/$(PackageRID)/native'" />

The changes in this PR remove the trailing slash and exclude static .a libraries, which are not used by Crossgen2. @dotnet/crossgen-contrib

@jkoritzinsky jkoritzinsky merged commit b93d570 into dotnet:master Jul 6, 2020
@AntonLapounov AntonLapounov deleted the Crossgen2Package branch July 6, 2020 14:53
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants