ilyalozovyy / credentialmanagement

.NET based API to deal with Windows Credentials Management API
Apache License 2.0
29 stars 31 forks source link

Using NuGet packets CredentialManagement on .NET6 - Warning NU1701 #7

Open Esterl-Christian opened 1 year ago

Esterl-Christian commented 1 year ago

I am using the NuGet CredentialManagement package in a .NET6 project (Target OS Windows; Build x86). When compiling I get the following error message:

warning NU1701: Package 'CredentialManagement 1.0.2' was restored using '.NETFramework,version=v4.6.1, .NETFramework,version=v4.6.2, .NETFramework,version=v4.7, . NETFramework,version=v4.7.1, .NETFramework,version=v4.7.2, .NETFramework,version=v4.8, .NETFramework,version=v4.8.1' instead of the project target framework 'net6.0-windows7.0'. This package may not be fully compatible with your project.

Questions:

  1. Can I ignore this error message?
  2. Does CredentialManager no longer work properly on .NET6?
  3. Do I still need an installed .NET Framework 4.8.1 in addition to the .NET6 runtime?

Greetings Chris

AdriVergara commented 10 months ago

Yeah, I finished using this one:

https://github.com/AdysTech/CredentialManager/tree/d30cf565f0ec8d20729c72a80ee9ab7fcb4677a2