.net6 Support for System.Security.Principal.Windows NuGet Package

Copper Contributor

I want to use Package "System.Security.Principal.Windows" in my .net6 application but latest preview version of it supports .NET Core 2.1, .NET Standard 2.0 and .NET Framework 4.6.1. Is there any way I can make it work for .net6? The Build throws error "Ensure that restore has run and that you have included 'netcoreapp2.1' in the TargetFrameworks for your project".

2 Replies

Hi @mahirratanpara,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang