Top "Post-build-event" questions

An event to run scripts, macros or other custom actions after compilation.

Visual Studio: Run C++ project Post-Build Event even if project is up-to-date

In Visual Studio (2008) is it possible to force the Post-Build Event for a C++ project to run even if the …

c++ visual-studio post-build-event regsvr32
VS2010: Can we have multiple if in post-build event?

Can we have something like this: if "Debug"=="$(ConfigurationName)" ( goto :nocopy ) else if "Release"=="$(ConfigurationName)" ( del "$(TargetPath).config" copy "$(ProjectDir)\…

post-build-event
VS PostBuild Event - Copy file if it exists

Is there a simple way to copy a file in a post-build event for a Visual Studio project, but only …

visual-studio post-build-event
VS Post Build Event, copy one level above solution folder?

I currently have <PropertyGroup> <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)Shared.Lib\$(TargetFileName)"</PostBuildEvent> </PropertyGroup&…

visual-studio post-build-event
Updating local nuget package on post-build event

I have my local nuget library repository separately both for my personal and work releted class libraries. I have created …

c# asp.net visual-studio nuget post-build-event
VS2012 Post-build event not firing

I have a web project that fires a post-build event "On successful build" to perform some cleanup/migration activities (command …

visual-studio-2012 post-build-event
Post build SET command and %variable% error

I am a batch newbie and I might have made a mistake. But I have the following post-build event: IF $(…

visual-studio-2010 command-line batch-file post-build-event
Are there any better ways to copy a native dll to the bin folder?

I have C# wrapper code that calls functions from a native (C++) dll. Currently, I can add a reference to …

.net visual-studio build post-build-event
How to use user-defined variable inside post-build event?

I want to use local variable inside the PostBuild event, but I could not understand how to use it inside. …

c# variables msbuild post-build-event
The command xcopy ... exited with code 9009 in Visual Studio

When I build my solution with 10 Projects I get Build failures for 7 projects. All 10 Projects have post-build events. Even those …

visual-studio-2012 build post-build-event build-error