kkkk00999
kkkk00999

Reputation: 179

Starting visual studio with a specific project/solution

I have a schedule a task, that task launches Visual Studio with administrator privileges and now I would like to give an argument which launches a specific project/solution(.sln file) on visual studio startup.

Is that possible, if not how ?

Ty

Upvotes: 1

Views: 29

Answers (1)

Gilles
Gilles

Reputation: 5407

Just pass the solution name with the path between quotes.

For example, from the command line:

devenv.exe "C:\YourPath\SolutionFile.sln"

For the scheduled task, in the arguments textbox add:

"C:\YourPath\SolutionFile.sln"

Upvotes: 1

Related Questions