Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NETSDK1195 indicates that you're using a feature of the SDK which is not available for the selected target framework. The following features depend on the ILLink pack, which is only available when targeting netcoreapp3.0 and above:
- Trimming (via
PublishTrimmedorPublishAot) - Trim analysis (via
PublishTrimmed,PublishAot,IsTrimmable,IsAotCompatible, orEnableTrimAnalyzer) - Single-file analysis (via
PublishSingleFileorEnableSingleFileAnalyzer) - Ahead-of-time compilation analysis (via
PublishAotorEnableAotAnalyzer)
To resolve this error, either target a supported TargetFramework, or turn off the setting that requires the ILLink pack.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.