Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Make VS.NET Question (https://www.kinook.com/Forum/showthread.php?t=3940)

ahouriet 02-16-2009 10:25 AM

Make VS.NET Question
 
I need to build a specific .exe file as a result of a Make VS.NET step. How can I pass the name of the resulting executable to msbuild and have it pass it to csc?

All of my attempts have ended in the exe name as the project name.

I have tried passing the name of the exe on the command line as a property:

/p:out=newexename.exe

but that seems to have no effect on the result.

Thanks,
Andy

(VBP: 6.7a, VS2005)

kinook 02-16-2009 10:35 AM

I believe that you must change the assembly name in the VS project (.csproj file) to alter the name of the compiled executable VS creates when building. One option would be to modify the .csproj file accordingly (for instance, using a Replace in File action). Another option would be to rename the executable after it gets built (for instance, using the Rename Files action).

ahouriet 02-16-2009 10:53 AM

I did the rename thing, that seems to work fine.

It seems odd that there would be no way to instruct the compiler from msbuild.

Thanks,
Andy


All times are GMT -5. The time now is 03:42 AM.


Copyright © 1999-2023 Kinook Software, Inc.