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
7
votes
3 answers
Reference to Library Binary - Debug or Release version?
I asked a question earlier today (Methods of Managing Source Code) as I've been unhappy with the way I manage my shared libraries' source code. As a result of the answers posted, I have found a better method.
I'm now working through my repository…

Bryan
- 3,224
- 9
- 41
- 58
7
votes
2 answers
Modify programatically csproj files with Microsoft.Build.Evaluation (instead of Engine)
I would like to read, modify and write back csproj files.
I've found this code, but unfortunately Engine class is depreciated.
Engine engine = new Engine()
Project project = new…

g.pickardou
- 32,346
- 36
- 123
- 268
7
votes
1 answer
Is there a way to override $(VCTargetsPath) from the project file?
I needed to build my software for several different platforms using Microsoft Visual C++ 2010 and MSBuild. I added the platforms to the $(VCTargetsPath) directory and created the .props and .targets files. I then copied the files to my…

gideonkane
- 101
- 4
7
votes
1 answer
Quick-switching startup projects in Visual Studio 2012
In my application I often need to change the startup project from the UI shell to the tests and vice-versa.
I know that by using the context menu in Solution Explorer, I can right-click and select a project as the start-up project. However, there…

Alex
- 7,639
- 3
- 45
- 58
7
votes
2 answers
If i want to make a copy of my c# project in the same workspace how can i do it?
In other words lets say i have already completed a project using visual studio. Now i want to make a separate project that is identical to the already completed project(except for some future changes).
How can i do this while keeping the new…

rage
- 1,777
- 5
- 25
- 36
7
votes
3 answers
Unloading different sets of projects in Visual Studio
Is there an extension to Visual Studio that provides the ability to create something like an 'unloaded project profile' for a solution?
I have a solution with a large number of projects (~100). When working on a certain part, I can unload unrelated…

David Gardiner
- 16,892
- 20
- 80
- 117
7
votes
2 answers
How to delete a test project in visual studio?
Lately I had a problem (Could not load type '...' from assembly '...') with my test project (unit-test in Visual Studio 2010), so I tried (after looking for solutions here) deleting it and rewriting it. I deleted it by right-clicking on the project…

Lee
- 125
- 1
- 1
- 7
7
votes
1 answer
How does one go about creating custom IntelliJ project templates?
I wish to have a custom project template in IntelliJ IDEA (Community edition 12.0)
What I need, is for the project, when created, to copy in some standard files and then insert some values into those files.
I can probably do this myself using a bit…

Morten Nilsen
- 621
- 7
- 18
7
votes
1 answer
Re-load Unloaded Projects in EnvDTE
I have listed all the projects in my solution, using EnvDTE, but I found a bug in my code: I can't get the projects that are Unloaded.
I found a way to skip the Unloaded projects:
if (string.Compare(EnvDTE.Constants.vsProjectKindUnmodeled,…

Thalia
- 13,637
- 22
- 96
- 190
7
votes
2 answers
How to remove duplicate entries from visual studio web project?
I am working in a large team with multiple branches and merges happening on a regular basis.
One thing that happens on regular basis is that web project files end up with duplicate entries for static content (.js, favicon.ico etc...).
I have two…

Oded
- 489,969
- 99
- 883
- 1,009
6
votes
5 answers
.csproj.user issues when checked into TFS
We made the mistake of allowing .csproj.user files to be checked in to TFS so we could set "Start external program" defaults. This worked poorly, especially when branching.
Now we're trying to undo this.
If I delete the .csproj.user file for a…

TrueWill
- 25,132
- 10
- 101
- 150
6
votes
2 answers
Can Visual Studio 2010 C++ inherit include path from referenced projects?
Visual Studio C++'s project reference (Accessible in Property Pages/Common Properties/Add New Reference...) feature allows you to use the symbol definitions in one project (e.g. project A a static lib) in another (e.g. project B an…

Elliot Woods
- 834
- 11
- 20
6
votes
4 answers
Which visual studio solution type is right for me?
I currently have a program that i wrote that is divided up into 3 separate solutions.
Front end (all display related stuff)
Parsers (multiple (39) projects that each create a dll to parse specific data)
Globals (multiple (5) projects that each…

Jason
- 2,147
- 6
- 32
- 40
6
votes
2 answers
What is the best MVC3 solution structure?
I plan to start a MVC3 project, and we hope this project will be the blueprint of MVC3 project for our company, please see below initial ideas:
Guys, please help share your ideas and best practise!

Harry Liu
- 361
- 1
- 4
- 8
6
votes
2 answers
Building F# .fsproj on Mac (Mono)
I have an .fsproj (and .sln) from an F# project that was developed on Windows that I want to build on the Mac.
I've built several single-source-file F# programs with Mono, and it's great. Unfortunately, this .fsproj is non-trivial, as there are…

Harold
- 1,584
- 1
- 12
- 20