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
10
votes
6 answers
Disadvantages and Advantages of separated projects/DLLs in .NET? How many of them are too much?
The question involves some other related questions, I'll just throw every single on of them feel free to answer one or many of them.
What are the advantages of separating Projects/DLL?
What are the disadvantages of separating Projects/DLL?
If I…

dr. evil
- 26,944
- 33
- 131
- 201
10
votes
2 answers
Modify .csproj files programmatically
I have source code of Entlib 5.0 and I need sign all assemblies using my own key (snk file).
The easiest way would be to open the EnterpriseLibrary.2010 solution file in Visual Studio 2010 and for each project, select Properties->Signing then select…

Kiquenet
- 14,494
- 35
- 148
- 243
10
votes
5 answers
How get the default namespace of project csproj (VS 2008)
I have VS 2008 and csproj project (C# Library).
In properties of project, has an assembly name, and default namespace.
Note: each class has a namespace.
Is it possible, in runtime, get the value of default namespace ??
My target is use resources,…

Kiquenet
- 14,494
- 35
- 148
- 243
10
votes
4 answers
VS2010 Assembly reference between projects failed
Context:
I have 3 projects in my solutions (C#, .NET 4.0):
Abc.Business (Dll project)
Abc.Test (Test project)
Abc.Ui (Wpf project)
Abc.Business is my business logic. It contains Entities, Managers, Services, Etc.
Abc.Test have a…

Philippe Lavoie
- 2,583
- 5
- 25
- 39
10
votes
1 answer
Is there a way to exclude project/s from solution in VS using command-line?
I have a solution contains 10 projects and would like to exclude 1 or 2 projects when building the solution.
The issue is that I'm building the solution in command line and would like to run it once partially (not all projects) and the next time it…

ShaiO
- 153
- 1
- 10
10
votes
1 answer
How to update master solution automatically when dependencies are added?
We are using the single master solution strategy in more than one software project, and recently somebody added a dependency in common code which broke the other project's solution until the new dependency was added to their solution. What's a good…

snips-n-snails
- 637
- 5
- 22
10
votes
1 answer
What does the Keyword tag mean in a *.vcxproj file?
I see the following in many *.vcxproj files
{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
Win32Proj
yadayada
What does the…

Jordan Crittenden
- 1,010
- 2
- 11
- 23
10
votes
3 answers
Custom common target to build a solution
I created a custom common target "RealClean" which remove every files in the output and "intermediate output" directory. I put it in the Microsoft.Common.targets file.
When I run MsBuild on my csproj everything is fine.
But when I run MsBuild on my…

Benjamin Baumann
- 4,035
- 2
- 25
- 35
10
votes
1 answer
How do I create a pure solution-level NuGet package
I want to create and distribute a NuGet package that when installed only installs solution-wide to the root packages-folder, referencing the package in the .NuGet\packages.config file.
I have found some information on the NuGet package format in…

Spiralis
- 3,232
- 2
- 39
- 53
10
votes
2 answers
Opening non-express VS projects with Visual Studio 2010 Express
Is it possible to open / edit a normal Visual Studio Solution with Visual Studio Express Edition ?

Kottan
- 4,944
- 9
- 41
- 67
10
votes
1 answer
Visual Studio 2012 keeps showing upgrade report
I have a SharePoint 2013 solution migrated from VS 2010 and SharePoint 2010 which gives me an upgrade report every time it loads in VS 2012. I have not opened it with VS 2010 in the mean time. Also, all the source code files are write protected so…

Matt
- 1,213
- 14
- 39
10
votes
3 answers
Single config file for solution
Now I have seen this question before on SO in a variant ways, but surprisingly not in this form:
I have a solution with multiple web services (projects) that need to talk to each other. After publishing each of these web services might end up on a…

nl-x
- 11,762
- 7
- 33
- 61
10
votes
2 answers
Project path or other macro in command-line parameters for console project in VS2010
The debug tab of the project properties for a console application in VS2010 allows me to set command-line parameters to pass to the project whilst debugging.
I would like to set a parameter which is a path and the path is specific to each…

enashnash
- 1,578
- 1
- 15
- 36
9
votes
5 answers
How to fix visual studio 'projects out of date' message each time I run it
I have a visual studio (2005) solution file with 70 projects.
Each time I press F5 to run it, it tells me that 4 of the projects are out of date, and asks me if I want to rebuild them. It does this even though I have just done a full build.
I…

hamishmcn
- 7,843
- 10
- 41
- 46
9
votes
5 answers
VS2010: Incompatible Reference when trying to add reference
VS2010: In my newly created project, any time I try to add a reference to any of my other projects or, in this case, MySql.Data...I get an error that says "Incompatible Reference" - "In order to add it you should to change the project's target to a…

J Benjamin
- 4,722
- 6
- 29
- 39