Tags: automated, build, building, file, files, foundation, intention, microsoft, msdn, pfx, projects, server, snk, software, studio, team, visual

Replace SNK file by PFX file before automated build

On Microsoft » Microsoft Visual Studio

1,756 words with 1 Comments; publish: Fri, 28 Dec 2007 18:47:00 GMT; (300109.38, « »)

Hi all,

We want to replace the SNK files by PFX files before building our projects with our Team Foundation Server. The intention is that the developers use a SNK file and that the build server uses PFX files. What is the easiest way to do this?

Also, when we change the SNK file by a PFX file, we need to change the InternalsVisibleTo attribute. How can I do this?

Thanks in advance,


Geert Verhoeven

Consultant .visual-studio.todaysummary.com. Ausy Belgium

My Personal Blog

All Comments

Leave a comment...

    • If the file names are in .csproj, etc. files, you would need to write a custom task to change those files, as well as change InternalsVisibleTo. You may find tasks to either do what you need or help in one of the collections of msbuild tasks: http://blogs.msdn.com/buckh/archive/2006/08/16/msbuild-tasks.aspx.


      #1; Tue, 04 Sep 2007 10:25:00 GMT