-
Notifications
You must be signed in to change notification settings - Fork 4
Visual Studio Pre or Post Build Event
Ewen edited this page Oct 27, 2015
·
2 revisions
If the CodeLinker EXE was copied to the Solution's root folder the post-build events would look like this ...
$(SolutionDir)CodeLinker.exe \_Builds\CodeLinker-3.5\CodeLinker-3.5.csproj
$(SolutionDir)CodeLinker.exe \CodeLinkerGui\CodeLinkerGui.csproj
$(SolutionDir)CodeLinker.exe \_Builds\CodeLinker-3.5\CodeLinkerGui-3.5.cspro
In each case of the above the destination project contains the source: etc information to Link code into itself.
Note the order here - CodeLinkerGui.csproj is done before CodeLinkerGui-3.5.csproj because CodeLinkerGui-3.5 depends on CodeLinkerGui
They are only like below because this project is so ridiculously self-referential...
$(TargetPath) ..\..\..\_Builds\CodeLinker-3.5\CodeLinker-3.5.csproj
$(TargetPath) ..\..\..\CodeLinkerGui\CodeLinkerGui.csproj
$(TargetPath) ..\..\..\_Builds\CodeLinker-3.5\CodeLinkerGui-3.5.csproj
...this is an edge-case but a good example of relative paths.