Why would you use a ".pfx" file in .NET

Developer picture Developer · Dec 29, 2008 · Viewed 19.3k times · Source

What is the ".pfx" extension used for in .NET?


Why does it ask for a password when the solution is being built?

Answer

Mitchell Gilman picture Mitchell Gilman · Dec 29, 2008

A file containing an encrypted private key. It's probably being used for code signing the application (so the user knows who created the program and hence if they can trust it).

You can probably see it being used by right-clicking on the project, getting Properties, then looking at the Signing tab.