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

  • Thread starter Thread starter Daylor
  • Start date Start date
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 ?
 
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
 
Back
Top