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
Describe your problem, question, or feature in a clear and concise way. Please make sure you:
Repro steps:
Setup dotnet 7 console app
Add SimpleInjector reference to the csproj
Update csproj with the following: <IsTrimmable>true</IsTrimmable> <PublishTrimmed>true</PublishTrimmed>
Create a Registration.cs file and a few abstractions
Create a Container and register abstractions in Container
In Main, get reference to abstraction.
Run dotnet publish --self-contained --configuration Release
Observe the following warning: C:\Users\{username}\.nuget\packages\simpleinjector\5.4.1\lib\netstandard2.1\SimpleInjector.dll : warning IL2104: Assembly 'SimpleInjector' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [C:\Users\{username}\source\repos\{project}.csproj]
The text was updated successfully, but these errors were encountered:
Describe your problem, question, or feature in a clear and concise way. Please make sure you:
Repro steps:
<IsTrimmable>true</IsTrimmable> <PublishTrimmed>true</PublishTrimmed>
Container
and register abstractions in Containerdotnet publish --self-contained --configuration Release
C:\Users\{username}\.nuget\packages\simpleinjector\5.4.1\lib\netstandard2.1\SimpleInjector.dll : warning IL2104: Assembly 'SimpleInjector' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [C:\Users\{username}\source\repos\{project}.csproj]
The text was updated successfully, but these errors were encountered: