rebuild solution automaticly each time im running the solution in the ide

D

Daylor

i have solution of window application and assemblies ,
i alway forget to rebuild the solotion after i change the code in the
assemblies.

is there way to tell the ide, to rebuild soloution each time im running the
soloution in the ide ?
 
C

Chris Dunaway

i have solution of window application and assemblies ,
i alway forget to rebuild the solotion after i change the code in the
assemblies.

is there way to tell the ide, to rebuild soloution each time im
running the soloution in the ide ?

I thought I had an answer for you. I was going to suggest creating a
macro and then assigning the macro to a toolbar button, but I hit a snag
when creating the macro. Here is the macro I added to the
MyMacros.Module1:

Sub BuildStart()
Application.ExecuteCommand("Build.BuildSolution")
Application.ExecuteCommand("Debug.Start")
End Sub

But it appears that the Debug.Start command attempts to run before the
BuildSolution command is complete. It gives me an msgbox that says
"Debug.Start command not available".

I tried adding a sleep between the two commands, but then the
BuildSolution command did not execute until AFTER the sleep interval had
passed.

I thought I'd post in case someone else had any ideas.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top