projects-and-solutions Questions

3

Solved

I'm learning C# and I don't know exactly how to make a class visible to all projects inside the Solution. Basically I have many projects, all Windows Forms, all of them have some similarity, so the...

3

In the Solution Explorer, the vcxproj projects that have references, show a warning symbol on each of the references associated with the project. When the reference is highlighted, the properties p...
Garnierite asked 27/4, 2016 at 21:0

6

Solved

As pointed out in this SO answer, the Add > Existing item dialog in Visual Studio by default displays the Add button (meaning that the selected items will be physically copied to the new location),...
Grisette asked 1/8, 2012 at 20:43

2

Solved

In Visual Studio, how do you change the order of your source files? By default, it seems that they go in alphabetical order but I want to put them in a more logical order.
Acherman asked 29/4, 2011 at 1:37

2

I see the following in many *.vcxproj files <PropertyGroup Label="Globals"> <ProjectGuid>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}</ProjectGuid> <RootNamespace>yada...
Twitch asked 28/7, 2017 at 16:55

7

Solved

Designer file is locked and when go to project properties it gives this error. An error occurred trying to load the project properties window. Close the window and try again. The CurrentContext pr...
Thermocouple asked 10/11, 2009 at 11:32

11

Solved

Visual studio has always annoyed me because (to my knowledge) you cannot create a solution first and then add new/existing projects to it. The only way I know how to create a solution is to create ...
Adulterate asked 27/7, 2010 at 16:27

5

Solved

Following examples from here I'm trying to execute dotnet sln AllProjects.sln add **/*.csproj But I get this error: Could not find project or directory **/*.csproj. Looks like wildcards ar...
Civic asked 25/8, 2018 at 12:28

32

Solved

When I debug my project, I get following error: "Unable to copy file "obj\Debug\My Dream.exe" to "bin\Debug\My Dream.exe". The process cannot access the file 'bin\Debug\My Dream.exe' because it ...
Subreption asked 25/7, 2012 at 8:54

8

Solved

I want to know how we can add projects in single solution file. When I create the solution and try to add projects in it, the solution file is not visible. How can I add projects/websites to the ...
Selfpossessed asked 17/10, 2009 at 17:23

13

We are starting to develop new application that will include something like 30-50 projects developed by about dozen of developers with C# in MS Visual Studio. I am working on componentize the appl...
Concourse asked 9/2, 2009 at 20:56

43

Solved

My current solution for renaming the project folder is: Remove the project from the solution. Rename the folder outside Visual Studio. Re-add the project to the solution. Is there a better way?...
Larynx asked 17/10, 2008 at 6:47

2

Solved

I am new to Visual Studio. I just followed a tutorial and successfully wrote and ran a simple program. But after I closed Visual Studio and double click the cpp file I just wrote. I can't find the ...
Badillo asked 19/1, 2016 at 2:28

1

So I've always had to use the project's "Additional Include Directories" property to set relative paths to other (library) projects that I'm dependent on for a given solution. So the solution stru...

2

Solved

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...

8

Solved

In Visual Studio, we can "Add as link" to add a link to a file in another project in the solution. Is there any way to do this for entire folders, so that an entire folder in project A will be vis...
Windrow asked 31/8, 2010 at 15:58

3

What's the current preferred method for setting up NuGet to have a common package directory across all solutions in a project? Also is there a way I can include PCL packages in a common folder acro...

4

Solved

I have a Visual Studio solution with 5 C# projects. I want the assembly versions to match in each project. But it looks like I have to go into each project's properties and click assembly version f...

3

Solved

I'm convinced that I'm just having a bad day and missing something obvious. I'm trying to create a new Grails project in IntelliJ IDEA 9.0 and I am unable to associate it with an SDK. I've tried cr...
Coenosarc asked 16/12, 2009 at 15:3

16

Solved

Is there a way to add existing Folders to a Visual Studio Project so that I do not have to do this file by file? Edit To make it clear: I want to add references not copies.
Ejaculate asked 17/11, 2013 at 16:33

7

Solved

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 ar...
Debut asked 19/2, 2010 at 10:13

3

I use Microsoft Visual Studio Ultimate 2013 and it looks like this button is working in one project (WPF app.) and not working in other project (server app.) within the same solution. Which VS sett...
Imf asked 13/4, 2016 at 16:9

3

Solved

Is there a way to define the project file path in a solution using a user macro/environment variable? I can't seem to do that. Kind of like an environment variable is used to define the additional...

14

How do I programmatically list all of the projects in a solution? I'll take a script, command-line, or API calls.

16

Solved

I've checked out a branch of C# code from source control. It contains maybe 50 projects in various folders. There's no existing .sln file to be found. I intended to create a blank solution to add...
Spadiceous asked 11/12, 2009 at 21:39

© 2022 - 2024 — McMap. All rights reserved.