Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help
Conditional Post-build event in Visual Studio 2008

I have a class library project where I want to add the assembly to the GAC but only when the configuration is Debug.

The solution is:

if "$(ConfigurationName)" == "Debug" "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\"gacutil /i "$(TargetPath)" /f

Posted: Wednesday, February 20, 2008 7:17 AM by ricardo.costa
Filed under: ,

Comments

No Comments

Anonymous comments are disabled