Some IDEs organize code and resources into projects and solutions, usually in a directory-based hierarchy. This can also be done manually.
Questions tagged [projects-and-solutions]
1354 questions
16
votes
2 answers
How to add x64 (or Any CPU) as a build option in Visual Studio 2010 (from console application to class library)
Initially, I created a console application using Mass Transit as my service bus. Recently, I switched to NServiceBus, which doesn't require you to make a console application, but a class library instead. In the project properties, I simply switched…

Ryan Hayes
- 5,290
- 4
- 42
- 52
16
votes
1 answer
Change order of files in solution explorer
In Visual Studio, how do you change the order of your source files?
By default, it seems that they go in alphabetical order but I want to put them in a more logical order.

Mark Lalor
- 7,820
- 18
- 67
- 106
16
votes
5 answers
Which projects in my solution are using a project reference for a certain project?
In my solution, I have a lot of projects which use project references to other projects in the solution. How do I figure out which projects reference a particular project?

Zack
- 2,789
- 33
- 60
16
votes
1 answer
How to add an existing folder to a Visual Studio project?
I have a web application project made in Visual Studio 2008.
Well, I added a jquery folder and added it to source control and other such things. I forgot to add it to the visual studio project though. How do I add the existing folder now? I've tried…

Earlz
- 62,085
- 98
- 303
- 499
16
votes
4 answers
Setting up a Git repository for a .NET solution
I have a solution with 15 C# projects and I'm trying to set up an efficient git repository for them. Should I create a repository on that level or for each project under the solution?
WebServices/
|- WebServices.sln
|- WebService1/
`-…

Gaui
- 8,723
- 16
- 64
- 91
16
votes
2 answers
Disable migration report in VisualStudio
SCENARIO
I normally download a lot of 3rd party source codes to examine them and learn new things.
PROBLEM
I'm using VS2013, and everytime that I open an old Visual Studio solution it automatically updgrades the project and then shows an html report…

ElektroStudios
- 19,105
- 33
- 200
- 417
15
votes
0 answers
Microservices naming convention with API and background workers (MessageBus/ScheduledTasks)
To expand on this existing question Microservices: Worker roles, APIs or both?:
I have seen mixed examples of Microservices implemented as worker
roles processing requests off a queue and/or as APIs (REST).
Supporting asynchronous scenarios, a…

morleyc
- 2,169
- 10
- 48
- 108
15
votes
6 answers
Add a folder structure to a Visual Studio Solution
Is it possible to add a folder structure to Solution Items without manually adding each level of the tree?
We have a multi project solution which requires several third-party libraries, at least one of which has a multi-layer tree.
We have a libs…

Shevek
- 3,869
- 5
- 43
- 63
15
votes
3 answers
VS Crashing after 'Set As StartUp Project'
I have a solution in VS 2012,
I try to change the startup project to specific project but the vs crashing immediately (with the other projects - no problem)
with the familiar message "Visual Studion Stop Working.."
I try also to define the startup…

Stack Overflow
- 2,416
- 6
- 23
- 45
15
votes
6 answers
What is the best pattern for using same Log4net logger across many assemblies in a solution?
I have a solution consisting of a main winforms app, with associated internally written class library dll’s from which I wish to log. This logging should performed by the same logger, regardless of whether the main UI client or the associated dll’s…

Topdown
- 443
- 1
- 8
- 17
15
votes
4 answers
What are the advantages of using more then 1 code file for a project? (C++)
What are the advantages of using multiple source (.cpp) and header (.h) files in a single project?
Is it just a preferential thing or are there true benefits?

user1958850
- 475
- 7
- 20
15
votes
5 answers
"Add existing item" in Visual Studio: is it possible to make "Add as link" default?
As pointed out in this SO answer, the Add > Existing item dialog in Visual Studio by default displays the Add button (meaning that the selected items will be physically copied to the new location), whereas the desirable action is often (always?) to…

Anders Gustafsson
- 15,837
- 8
- 56
- 114
14
votes
3 answers
Visual Studio is prompting to install ASP.NET Web pages with Razor syntax 1.0
I'm somewhat at a loss as what to do with my development environment. Anytime I open up a solution Visual Studio is prompting me to install "ASP.NET Web pages with Razor syntax 1.0".
If I ignore the prompt and continue into the solution the only…

Jesse
- 8,223
- 6
- 49
- 81
14
votes
5 answers
Visual Studio solutions: Do these solutions have too many projects?
In the company I currently work for, we support 4 windows applications that are somewhat related. For each application we have a solution, each ranging from 50 to 100 projects. There are probably 40 or 50 projects that are shared between one or more…

Mike
- 753
- 1
- 7
- 16
14
votes
3 answers
Will visual studio 2015 projects and solutions be backward compatible with 2013?
Now that Visual Studio 2015 RC is out, has anyone installed it and opened Visual Studio 2013 projects/solutions?
Does it ask the files to be changed?
If yes, are the changes it makes backward compatible?

sprocket12
- 5,368
- 18
- 64
- 133