Questions tagged [projects-and-solutions]

Some IDEs organize code and resources into projects and solutions, usually in a directory-based hierarchy. This can also be done manually.

1354 questions
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
7
votes
2 answers

Android Studio | Navigate to file in the project explorer from the editor

I find myself with many files open in the editor (in separated tabs), and sometimes I want to find specific file in the project explorer. Does there is any shortcut to reveal the file in the project window ? EDIT to do the question more clear I add…
AsfK
  • 3,328
  • 4
  • 36
  • 73
7
votes
3 answers

Looking for Suggestions on Microsoft Visual Studio Solution and Project Naming Conventions

There doesn't seem to be any tried and true set of best practices to guide you on how to setup your solutions, projects and the assemblies they output. Microsoft seemed to have tried back in the VS.net days, but they have since retired this content.…
Rodney S. Foley
  • 10,190
  • 12
  • 48
  • 66
7
votes
2 answers

Set a default build configuration for project

I have several possible configurations in a Visual Studio project file. How can I specify which one is selected by default (when no .suo is present)? Right now, when I open the project in Visual Studio, Debug configuration is selected by…
hsim
  • 2,000
  • 6
  • 33
  • 69
7
votes
4 answers

Is a solution with hundreds of projects dangerous or just unwieldy?

our main client solution has 111 projects. When I first started on this team I was surprised (and alarmed) that we had so many projects and recommended consolidating the tiers into less but larger assemblies. our structure has models (DTOs) with…
MarkDav.is
  • 640
  • 1
  • 8
  • 16
7
votes
1 answer

ProjectGuid (.csproj), how to generate it correctly?

I'm creating an app. to change the namespace of multiple projects (solution), I copy the content to another location, change folder names, replace text in files content (old namespaces with new namespaces), all is OK. The solution has folders(these…
AiApaec
  • 660
  • 1
  • 6
  • 12
7
votes
0 answers

Automatically arrange file structure to match Solution Folder

I'm using a Solution Folder in Visual Studio 2013. Per the common 'complaint' about solution folders it does not align with the filesystem so all the added files are currently floating about in the solution directory. I am looking for a process in…
7
votes
1 answer

Platform configuration for projects in VS 2010

I have a third-party project type in Visual Studio which for some reason only supports the .NET Platform configuration for the build, for all other (standard C#) projects in the solution I only have AnyCPU. Unfortunately, ever since upgrading to VS…
7
votes
5 answers

How to open VS 2008 solution in VS 2005?

I have seen Solutions created in Visual Studio 2008 cannot be opened in Visual Studio 2005 and tried workaround 1. Yet to try the workaround 2. But as that link was bit old and out of desperation asking here: Is there any convertor available? I…
prakash
  • 58,901
  • 25
  • 93
  • 115
7
votes
3 answers

ApplicationDbContext - where it belongs in project

I want to use one (EF) context file in my mvc 5 app and I want to use asp identity. I have a few projects in solution DAL, GUI and WebAPI. I want to just move ApplicationDbContext in DAL assembly and remove EF completly from my UI project. What you…
7
votes
1 answer

Visual Studio 2008 project file does not load because of an unexpected encoding change

In our team we have a database project in visual Studio 2008 which is under source control by Team Foundation Server. Every two weeks or so, after one co-worker checks in, the project file won't load on the other developers machines. The error…
Xenan
  • 543
  • 4
  • 12
7
votes
6 answers

About the leading newline in Visual Studio solution files

Sometimes, for unknown reasons, VS 2008 creates solution files led by a newline. Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 [...] This happened on various machines, and I have no idea why this is. A Google…
mafu
  • 31,798
  • 42
  • 154
  • 247
7
votes
1 answer

How to make Solution Explorer return to its previous state after clearing search?

I currently have a VS installation with no extensions to see how that works out. For navigation that means making heavy use of Ctrl+; aka Search Solution Explorer. While the search itself is ok, it has one major drawback for me that makes it a pain…
stijn
  • 34,664
  • 13
  • 111
  • 163
7
votes
2 answers

TFSBuild/MSBuild and Project Reference vs File Reference

We Have a large VS solution using project references which is build by TFS Build like so: Solution - Project 1 - Project 2 - Project ... - Project N Because the solution is too large we have several smaller solutions which we use day to…
7
votes
1 answer

In a C# solution, Where do you declare solution-scope enums?

In a C# solution, Where do you declare solution-scope enums ?
odiseh
  • 25,407
  • 33
  • 108
  • 151