I'm trying to convert from using a homebuilt continous integration system to use TeamCity, but I have not been able to setup my project so that it compiles.
The project is a C# project, and I try to use the sln2005 build runner to build it.
In a few of the projects within the solution file there is a post-build event that has this format:
"$(DevEnvDir)\..\..\SDK\v2.0\Bin\sn" -Vr "$(TargetPath)"
but it seems that TeamCity cannot expand the DevEnvDir macro (the TargetPath macro expands fine)
Here is the error I get when running the build:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3090, 13): error MSB3073: The command ""*Undefined*\..\..\SDK\v2.0\Bin\sn" -Vr "D:\TeamCity\buildAgent\work\eefbdc179805b02e\Debug\CoreLib.dll"" exited with code 3.
Does anybody know how to work around this?
Sorry if this is already asked and answered here in this forum, but I was unable to find a search tool to search it. Please point me in the rigth direction if that is the case