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
35
votes
7 answers
Visual Studio 2017 HRESULT: 0x80070005 / E_ACCESSDENIED on project creation
I'm running Visual Studio 2017, version 15.0.0+26228.9
When I'm trying to create a new project via File > New > Project... in Visual Studio 2017, I'm receiving the following error message and the project is not created:
Access denied (Exception…

M463
- 2,003
- 3
- 23
- 39
35
votes
8 answers
How to handle same class name in different namespaces?
I am trying to create a common library structure. I am doing this by creating separate projects for every common lib I want.
I have the following 2 namespaces: MyCompany.ERP and MyCompany.Barcode
I need both of them to have a class named Utilities…

e4rthdog
- 5,103
- 4
- 40
- 89
35
votes
5 answers
Visual Studio: How to make one solution depend on another?
Is it possible to make a solution in VS depend on (i.e. include) an entire other solution? I've seen some stuff about "Solution Folders", but these don't seem to be the same thing....? Thanks! (BTW, I'm using VS 2008)

Robert Fraser
- 10,649
- 8
- 69
- 93
33
votes
4 answers
How do I show the References folder in Solution Explorer without selecting 'Show All Files' in a VB.NET project?
As I compare many C# example projects to my VB.NET projects, I see that the References folder shows in the Solution Explorer without having to select "Show All Files". Is it possible to have this for a VB.NET project as well? I find that it would be…

Jeff
- 2,191
- 4
- 30
- 49
33
votes
9 answers
How can I refer to a project from another one in c#?
I added a project, Project2, to my solution. It already had another project lets say Project 1. How can I call classes and methods from project2 into project1?
What I did:
I have Project 1 and its solution. I added Project 2 to Project 1's solution.…

C..
- 6,897
- 10
- 30
- 37
33
votes
5 answers
Visual studio not copying content files from indirectly referenced project
I have the following project structure:
Library1 <--[project reference]-- Library2 <--[ref]-- Executable
-------- -------- ----------
ContentFile .cs files .cs files
.cs files
All…

dialer
- 4,348
- 6
- 33
- 56
32
votes
2 answers
Moving files from one Visual Studio solution to another
What I usually do is create a new file in the solution where I want to use it (same name), copy & paste the contents of a class from the source solution to the target, fix the namespace & imports as needed.
The only other way I know to do it is open…

Berryl
- 12,471
- 22
- 98
- 182
31
votes
7 answers
VS2008 Setup Project: Shared (By All Users) Application Data Files?
fellow anthropoids and lily pads and paddlewheels!
I'm developing a Windows desktop app in C#/.NET/WPF, using VS 2008. The app is required to install and run on Vista and XP machines. I'm working on a Setup/Windows Installer Project to install the…

Lyman Enders Knowles
- 691
- 1
- 5
- 11
31
votes
7 answers
Folders or Projects in a Visual Studio Solution?
When spliting a solution in to logical layers, when is it best to use a separate project over just grouping by a folder?

Dan
- 29,100
- 43
- 148
- 207
31
votes
9 answers
Visual Studio open files question
Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project,…

mpal
- 439
- 1
- 6
- 8
29
votes
6 answers
How can I open a project without opening its associated solution in Visual Studio?
I have a solution that contains few projects.
The problem is that when I want to open just one of the projects by clicking on the specific .csproj file, it opens all the solution.
How can I open just one project?
Thanks.

Itay.B
- 3,991
- 14
- 61
- 96
29
votes
2 answers
What is a Sqlite database doing in my project's .vs folder?
I have now noticed this in VS 2017 in a Core console app, and a standard .NET Framework MVC app. It is named .sqlite, and has the following…

ProfK
- 49,207
- 121
- 399
- 775
28
votes
7 answers
Building both DLL and static libs from the same project
I have a number of native C++ libraries (Win32, without MFC) compiling under Visual Studio 2005, and used in a number of solutions.
I'd like to be able to choose to compile and link them as either static libraries or DLLs, depending on the needs…

Tim Lesher
- 6,341
- 2
- 28
- 42
28
votes
4 answers
ASP.NET MVC project "not supported by this installation"
I can create new MVC projects and they work and run however trying to open an existing project is not working at all.
I tried the following changing the project type…

roundcrisis
- 17,276
- 14
- 60
- 92
27
votes
6 answers
Tool to view the contents of the Solution User Options file (.suo)
Are there any free tools available to view the contents of the solution user options file (the .suo file that accompanies solution files)?
I know it's basically formatted as a file system within the file, but I'd like to be able to view the contents…

Joseph Daigle
- 47,650
- 10
- 49
- 73