I'm wondering what the best/simplest way to run the assembly linker utility to create publisher policy assembly in VS.Net as a part of the build process. Specifically, I would like to run the commands below (to my knowledge this is the only way to create the required publisher policy assembly) each time the solution is built or maybe better only during a release build. One thing I think I can do is either create a macro containing the commands or paste the commands into the utility so that they are run from a VS.Net project "Post-build event Command Line". Is this the best option? Are there other better options?
cls :"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7 \Tools\vsvars32.bat" al /linkresource:policy.1.0.TokenManagement.Business.config /out:policy.1.0 .TokenManagement.Business.dll /keyfile:..\TokenManagement.Business.snk /des cription:"Backward compatibility support." /company:"eSylvan" /product:"TokenManagement" /version:1.0.* /prod uctversion:"1.0" =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with C# November 29 - December 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com