question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For C#/VB.NET, keep solution and project file in same directory

See original GitHub issue

Even though Visual Studio by default creates the .sln file in the root directory and creates a .csproj/.vbproj file in a subdirectory with all the project files, I don’t think this is really necessary.

For example, Amazing (C#) has only four files without a subdirectory; while Acey Ducey (VB.NET) has the unneeded subfolder.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
zspitzcommented, Jan 17, 2022

This is implemented via #520.

1reaction
zspitzcommented, Jan 9, 2022

OK. I’ll work it out, as part of generating a standard template for the C#/VB versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the best location for solution file in Visual Studio?
I prefer for the solution file to be in the same folder as the project files in Visual Studio. I know this is...
Read more >
Place solution and project in same directory ...
If you create a new project in VS2019 preview 2.0 and check the “Place solution and project in same directory” when creating an...
Read more >
1. Solutions and Projects - Mastering Visual Studio .NET ...
The solution file is located in an arbitrary project directory. (Specifically, it is in the first project that was created in the solution.)...
Read more >
What are solutions and projects in Visual Studio?
A "solution folder" is a virtual folder that's only in Solution Explorer, where you can use it to group projects in a solution....
Read more >
What is the default location of a solution file with respect to ...
csproj in the same folder. This checkbox is off by default. So by default the .sln file is at the “root” and each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found