Talk:Compiling under VS2010: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (damn i've got some problems today...)
No edit summary
Line 3: Line 3:


Also, i use Environment variables to copy files to the right mod folder, makes piece of code cleaner ;) --[[User:Neico|Neico]] 12:18, 14 March 2010 (UTC)
Also, i use Environment variables to copy files to the right mod folder, makes piece of code cleaner ;) --[[User:Neico|Neico]] 12:18, 14 March 2010 (UTC)
:If I remember right I tried using ''Execute After: PostBuildEvent'' and ''Execute After: Build'' and ran into the same problem, IE: It would sometimes decide it didn't want to copy the files, despite the fact that it was compiling changes that I had made. My alternative solution is obviously pretty inelegant. I have no idea how to use use environment variables though, I will have to look into that. -Sarkahn

Revision as of 05:35, 14 March 2010

Fixing Compilation

It should be noted that it seems to have trouble with the new Execute after / before options in the custom build, i recommend using: "Execute after: PostBuildEvent"

Also, i use Environment variables to copy files to the right mod folder, makes piece of code cleaner ;) --Neico 12:18, 14 March 2010 (UTC)

If I remember right I tried using Execute After: PostBuildEvent and Execute After: Build and ran into the same problem, IE: It would sometimes decide it didn't want to copy the files, despite the fact that it was compiling changes that I had made. My alternative solution is obviously pretty inelegant. I have no idea how to use use environment variables though, I will have to look into that. -Sarkahn