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
87
votes
8 answers
Solution-wide pre-build event?
I have a solution in Visual Studio which contains several projects. I'd like to run a command at the very beginning of every build - no matter which projects are involved and whether or not they are up-to-date.
Essentially I need something similar…

user200783
- 13,722
- 12
- 69
- 135
85
votes
14 answers
Display solution/file path in the Visual Studio IDE
I frequently work with multiple instances of Visual Studio, often working on different branches of the same solution.
Visual C++ 6.0 used to display the full path of the current source file in its title bar, but Visual Studio 2005 doesn't appear to…

James Sutherland
- 3,793
- 2
- 27
- 24
76
votes
3 answers
Why does Visual Studio check out the .vspscc file when I add a file to a project?
If I add a new file to a project under TFS source control, it will check out the project file and the corresponding .vspscc file for that project file.
The project file itself changes (to include the new file), but the .vspscc file doesn't change…

kenwarner
- 28,650
- 28
- 130
- 173
74
votes
22 answers
Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code)
Visual Studio 2017 breaks in debug mode and displays the message:
Your app has entered a break state, but there is no code to show
because all threads were executing external code (typically system or
framework code).
The message is in the…

Gerard
- 13,023
- 14
- 72
- 125
70
votes
7 answers
Using Visual Studio project properties effectively for multiple projects and configurations
I have always used Visual Studios built in GUI support for configuring my projects, often using property sheets so that several projects will use a common set.
One of my main gripes with this is managing multiple projects, configurations and…

Fire Lancer
- 29,364
- 31
- 116
- 182
69
votes
12 answers
Android - copy existing project with a new name in Eclipse
I'm using Eclipse. Say I have a project 'ProjectA' in the eclipseworkspace (in a folder ProjectA). I want to copy the project but with a new name (ProjectB) and have all the references in the new project adjusted. I can't find much help for what I…

ron
- 5,219
- 8
- 39
- 44
67
votes
10 answers
Visual Studio 2012 doesn't convert vs2010 solution?
I opened my vs2010 solution with vs2012 but it didn't make any conversion as from 2008 to 2010 was happening. So my solution still remains the same as 10 label on it. when I make a new solution of course it has 11 label on it. I haven't got any…

Emil
- 6,411
- 7
- 62
- 112
66
votes
8 answers
Visual Studio 2010 & 2008 can't handle source files with identical names in different folders?
Direct Question: If I have two files with the same name (but in different directories), it appears that only Visual Studio 2005 can handle this transparently?? VS 2008 & 2010 require a bunch of tweaking? Aside from my naming convention, am I doing…

M. Tibbits
- 8,400
- 8
- 44
- 59
62
votes
16 answers
error in csproj - duplicate item
I have error from visual studio 2010:
Error 1 The item "CrossDomainService.svc.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter. WcfServiceDomain
and from msbuild…

netmajor
- 6,507
- 14
- 68
- 100
61
votes
5 answers
What does the "Link Library Dependency" linker option actually do in Visual Studio 2010 - 2015 and upwards?
Up to VS2008, you set your native C++ project dependencies up in the solution file (Project Dependencies ...) and if (by default) the Linker Option
Properties -> Linker -> General : Link Library Dependencies = Yes
is set, the Visual Studio Build…

Martin Ba
- 37,187
- 33
- 183
- 337
61
votes
12 answers
How do I find files that are missing from visual studio projects?
Due to issues with merging etc, we have lots of project files that don’t contain all source code files that are within their folders.
Before I write a little tool, that checks that every *.cs file is included in a project file, I wish to make sure…

Ian Ringrose
- 51,220
- 55
- 213
- 317
61
votes
6 answers
Project Order in Visual Studio Solution
In Visual Studio 2008, what determines the order in which projects appear within a solution folder? It's not alphabetical order, nor is it build order.
I cannot find any way of altering the order in which projects are being listed. I've tried…

Kent Boogaart
- 175,602
- 35
- 392
- 393
60
votes
10 answers
MSBuild does not contain a value for the "VCTargetsPath" property
I recently installed the Visual Studio 11 Developer Preview to try it out, and now my VS 2010 projects won't open. Instead, I get the following error message:
MSBuild does not contain a value for the "VCTargetsPath" property
I found someone that…

superstatic
- 649
- 1
- 5
- 4
55
votes
9 answers
Copying Visual Studio project file(s) to output directory during build
When I build a Visual Studio project, the executable is written to the output directory specified in the projects Property Page.
I have a project that has some extra files (e.g., .ini file) that are used by the program.
How can I configure the…

Synetech
- 9,643
- 9
- 64
- 96
54
votes
11 answers
Cannot add reference to project because of a circular dependency error
I created 2 dummy projects in my application and named them BAL and DAL. When I build them, they build successfully. If I add a reference to BAL to the DAL project, it added nicely. But while adding the DAL reference to the BAL project, I get the…

Venkat
- 551
- 1
- 4
- 3