Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-16-2009, 11:25 AM
ahouriet ahouriet is online now
Registered User
 
Join Date: 09-25-2008
Posts: 5
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)
Reply With Quote
  #2  
Old 02-16-2009, 11:35 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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).
Reply With Quote
  #3  
Old 02-16-2009, 11:53 AM
ahouriet ahouriet is online now
Registered User
 
Join Date: 09-25-2008
Posts: 5
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:11 AM.


Copyright © 1999-2023 Kinook Software, Inc.