You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a Native AOT library that references an ASP.NET nuget package on windows, the aspnetcorev2_inprocess.dll is being published to the output folder.
What is it that triggers the copying of that file, the transitive ?
Correct. It originates from resolving the "RuntimePack" assets:
In #29984, we ended up setting PublishIISAssets=false when PublishAot == true. But that is only with the WebSDK, which doesn't really help here since I'm just building a library and the ASP.NET runtime pack is getting brought in transitively.
Describe the bug
When building a Native AOT library that references an ASP.NET nuget package on windows, the
aspnetcorev2_inprocess.dll
is being published to the output folder.To Reproduce
dotnet publish -r win-x64
the following library:Look in the
bin\Release\net8.0\win-x64\publish
folder:that
aspnetcorev2_inprocess.dll
shouldn't be present. It is not used by the library.This is similar to #29896, but for libraries and not web apps.
Exceptions (if any)
N/A
Further technical details
dotnet --info
cc @halter73 @DamianEdwards
The text was updated successfully, but these errors were encountered: