Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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.