![]() |
VS.NET action does not use DEVENV
I need to compile managed C# code using VS.NET 2002 and unmanaged C++ code using both VS.NET 2002 and 2003. I have tried setting the DEVSTUDIO_NET_DIR macro to the required respective locations, but the command line used does not use the modified path. I even tried setting DEVENV directly but to no avail.
|
While I haven't done exactly what you are requesting, the help file has this to say about the matter:
Override default DEVENV location: Normally, the custom action looks for the command-line DEVENV compiler by first looking for this registry entry: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio \ So I would recommend either hard-coding a path (probably won't work in your situation), or assign your macro to this field, and change the macro value to the appropriate value before you invoke this step (maybe a subroutine?) in your build. |
All times are GMT -5. The time now is 05:24 PM. |
Copyright © 1999-2023 Kinook Software, Inc.