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
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
Consultant .visual-studio.todaysummary.com. Ausy Belgium
Leave a comment...
- 1 Comments
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.
Buck#1; Tue, 04 Sep 2007 10:25:00 GMT