web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Not able to Sign in Assembly. key file getting saved as .pfx instead of .snk

(1) ShareShare
ReportReport
Posted on by
I have created a Class library project (C# Library). But when I try to sign in DLL. it gives the below error. I tried without password protection as well.
 
I have stored this files in my local D Drive only. 
 
Keys are getting created but with .pfx extension instead of .snk
 
I am using 4.7.2 C# framework for my project.
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Ray Profile Picture
    1,537 on at
    You can create .snk with VS powershell, check this link for detail: How to: Sign an assembly with a strong name - .NET | Microsoft Learn
  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at
    you don't need to put the password if you want a snk file, when you use a password you get a pfx signing and you need to know the password if you want to rebuild the signed project.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans