Should those paths be in the environmet variable PATH?
I mean, when I open the VS2008 command prompt I can use without problem all the tools in the SDK. I can execute signtool.exe and other VS tools from this command prompt. So I guess I would be able of using all the tools I can use from the VS2008 command prompt in a post build event, Am I wrong?
On the other hand, signtool executes successfully in a post build event of a VC++ project of the same solution than the C# project. I don't get what is the problem with the build of the C# project.
I have found that the VC++ project uses two environment variables: $(WindowsSdkDir) points to 'C:\Program Files\Microsoft SDKs\Windows\v6.0A' and $(FrameworkSdkDir) points to'C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin' to resolve some paths. Then I have changed the post build event to$(WindowsSdkDir)\bin\signtool but the environment variable is not defined.
Now, the problem is simplified to make available the environment variable to the Build process of C# projects. Any Ideas?
As a temporal solution I am using an absolute path to specify the location of signtool in the post build event. Set it in the PATH could solve the problem but I haveinstalled VS2005 and VS2003 and don't want to add something specific to VS2008 available to the others version.
-Fred