0

I have a solution with 4 projects in it. I wish to start them all.

For example, I had somebody new clone by work. This means that startup projects wouldn't be configured. However what I want is a file that defines what startup projects should be set when you run for the first time.

John_Mason27
  • 227
  • 4
  • 17
  • Not sure if I understood the question - but maybe this can help you further? https://stackoverflow.com/questions/17543360/multiple-set-startup-projects-configurations?rq=1 – Marwie May 06 '21 at 07:29
  • Sadly not, basically, I'm looking for a way to configure the startup projects of a solution either via command line or with a config file. – John_Mason27 May 06 '21 at 07:31

2 Answers2

0

From what I found this information is written by Visual Studio to *.suo file in .vs directory that Visual uses to store some user solution settings and options.

Maybe you could develop Visual Studio extension that could persist selection of start up project. You can find some information here.

More about .suo file in this SO post.

Michał Turczyn
  • 32,028
  • 14
  • 47
  • 69
0

Solution explorer > "yourcoolprojectname" right click> properties> common properties> multiple startup project> choose projects

cankirma
  • 1
  • 1
  • Yeah, I'm aware of how to do it in VS. Currently trying to automate the process for other developers. – John_Mason27 May 06 '21 at 07:46
  • @John_Mason27, maybe you simply agree among developers to follow up instruction file when cloning repository? Such file can be added to projects in source control and contains instructions written in words. Not everything can/should be automated. – Sinatr May 06 '21 at 07:49
  • I agree with that, just seeing if there is a way to do this. As then my companies projects can be installed and setup to develop on a new machine by running an exe – John_Mason27 May 06 '21 at 07:52
  • I Understand now .Maybe you should package your project with docker compose. I don't know if there is any other way.@John_Mason27 – cankirma May 06 '21 at 08:01