Questions tagged [solution]

A solution (.sln file) is a structure for organizing projects in Visual Studio. It groups one or more projects that work together to create an application.

893 questions
9
votes
4 answers

How do I get MSBuild Task to generate XML Documents when building a solution?

I have a solution with lots of projects. Each project is configured to generate the XML documentation file when building in Debug-Mode (which is default). That works when I build in Visual Studio 2008. In my build script on my integration server I…
toba303
  • 93
  • 1
  • 5
9
votes
5 answers

best way to add jquery to an "empty" web project in visual studio?

Hey so when i start a new solution and pick "web application" visual studio goes ahead and by default creates a script folder with jquery-1.4.1.js, jquery-1.4.1.min.js, and jquery-1.4.1-vsdoc.js. But if I instead start a new solution and pick…
chilleo
  • 536
  • 3
  • 9
  • 23
8
votes
2 answers

Build a solution folder with MSBuild

We have a solution file that contains some solution folders: libraries, unit-tests, applications, etc. With Visual Studio 2010 we can build only the projects of a given folder by right-clicking on it and using "build" or "rebuild". This is perfect…
8
votes
4 answers

How do I remove TFS connections from a Visual Studio 2010 C# project/solution?

I have been given the full source code to work on locally (C#.NET/XAML/Visual Studio 2010), but I do not have access to TFS. Every time I open the solution, it always asks for TFS which I have to cancel every time, but the code is now developed…
Wibble
  • 321
  • 1
  • 3
  • 8
8
votes
1 answer

Setting WarningsAsErrors for entire Visual Studio solution, not just per project

In Visual Studio you can go to a project's properties -> Build -> "Treat warnings as errors" and provide a comma-separated list of warnings to be treated as errors at build time. This results in the following line being added to the .csproj file's…
Petter Brodin
  • 2,069
  • 4
  • 21
  • 27
8
votes
3 answers

Does Peterson's algorithm satisfy starvation?

I've been searching information on Peterson's algorithm but have come across references stating it does not satisfy starvation but only deadlock. Is this true? and if so can someone elaborate on why it does not? Peterson's algorithm: flag[0] =…
IZI_Shadow_IZI
  • 1,921
  • 4
  • 30
  • 59
8
votes
5 answers

vs 2015 Error CS0006 Metadata file .dll' could not be found

I am trying to add two new test projects to my solution. When I add them and add references, the build initially creates the dll's in the debug folder. when I build or rebuild again, it is always empty and I have a Error CS0006 Metadata file…
stacv
  • 87
  • 1
  • 1
  • 8
8
votes
3 answers

Create Solution Folder in Visual Studio Express 2013

I noticed that when you open a solution in VS 2013 Express which contains solution folders, they load properly and the solutions builds properly. Unlike the express versions of Visual Studio 2010 which showed error messages when the solution…
8
votes
4 answers

ASP.NET / VS2010 Finding unused files in project

Folks, is there any smart way to easily find unused files in entire solution? My project was consolidated by previous developer and it gained size at least 3x. I'd like to shrink the size of project but I cannot find quick and easy way. Any advices?
Darj
  • 1,403
  • 1
  • 17
  • 47
7
votes
1 answer

Visual studio solution folder at the project level

In Visual Studio (2010) is it possible to create a "Solution Folder" at the project level? A "virtual" project folder within Visual Studio? The problem: We have a project in our solution which contains all our culture resource files. We employ a…
paligap
  • 942
  • 1
  • 12
  • 28
7
votes
2 answers

Is there an easy way to add multiple projects to a solution?

In some solutions I use direct references to internal projects during development and switch to nuget references for release. However, adding 30+ projects to new solutions manually is a tedious task. I was wondering whether there is a quicker way…
t3chb0t
  • 16,340
  • 13
  • 78
  • 118
7
votes
6 answers

Can't Create Project or Solution in Visual Studio 2010

So I can't seem to be able to create any new projects or solutions. I can navigate and open existing solutions but cannot create any new solutions. All help is appreciated. See screenshot below:
Guido Anselmi
  • 3,872
  • 8
  • 35
  • 58
7
votes
6 answers

MVC general class location

In the MVC folder structure, where should general class files reside? For example, I have a class that determines the right DataContext to use, so I'm not reinventing the wheel in each of my controllers. Should it live in the Controllers folder even…
gfrizzle
  • 12,419
  • 19
  • 78
  • 104
7
votes
2 answers

Visual studio How to set the active test settings

Hi My question is about how can i set the active test settings in the project file for visual studio 2010, I mean, what flag or entry does the visual studio modify in the solution file or where is that setting. Im developing a solution file…
Mimere
  • 763
  • 2
  • 10
  • 15
7
votes
11 answers

the best or speedest way to understand uncommented and complex project

I have complex project without comments. The project is programed in Java but have more than one main class, use several .txt files like a template and use several .bat files. I don't know where to start and how to start discovering the project,…
Ballon
  • 6,882
  • 18
  • 49
  • 63