|
#1
|
|||
|
|||
Visual Studio integration - Use specified .bld file
Hi,
I would like to assign an existing bld file to the Visual Build button in the Visual Studio Tools menu item. Is this possible an if so how? |
#2
|
|||
|
|||
No -- the Visual Build VS add-in always passes the name of the current solution to Visual Build.
You could create a custom external tool in VS to call Visual Build with a hard-coded solution filename (path+filename of visbuildpro.exe in the Command field and path+filename of the solution in the Arguments field). http://msdn.microsoft.com/en-us/libr.../76712d27.aspx |
#3
|
|||
|
|||
OK - thanks.
|
#4
|
|||
|
|||
The problem I am having is that when asked to save the changes it asks me for a filename, directory etc. I save that into the Projects root directory (<projectname>.bld) but starting up VSBuild from VS creates a new project each time.
|
#5
|
|||
|
|||
The latest build (VisBuildPro.exe 9.0.0.1) has been updated to re-open the last project when called from the Visual Studio add-in (if Tools | User Options | General | Reload last project at startup is checked).
|
#6
|
|||
|
|||
Quote:
When I click on the VSBuild menu item, it repeatedly opens a blank new VS project with MSBuild as the first item. Great - exactly what's supposed to happen according to the docs . Now, when I click on save, what directory do I chose to save it in and assuming your help file is correct then it will save it as <projectname>.bld. Unfortunately I don't know which directory to insert as none of them appear to be correct - I have saved it everywhere that is obvious to me. |
#7
|
|||
|
|||
Quote:
It doesn't matter which directory you save the .bld file in. |
#8
|
|||
|
|||
Clarification please...
Quote:
If so, can this option (if it is an option) be disabled anywhere? I only want the VS -? VsBuild button to ever open the VSBuild project that 'belongs' to that specific VS project. Thanks. |
|
|