Questions tagged [visual-studio-project]

81 questions
130
votes
10 answers

Visual Studio Project vs. Solution

Being new to VS, how may I think of these two concepts, what is the difference?
bmw0128
  • 13,470
  • 24
  • 68
  • 116
71
votes
6 answers

How do I change the startup project of a Visual Studio solution via CMake?

I am using CMake to generate Visual Studio projects. Everything works fine except one thing. The startup project in the solution is always ALL_BUILD. How do I change the startup project to the real project I want via CMake?
giggle
  • 1,911
  • 5
  • 21
  • 25
50
votes
4 answers

How to know which other projects refer to a certain project in Visual Studio?

In Visual Studio, for a class, a field, a method, I can just right click and say "Find All References" to see who is calling my code. But there is no similar thing for a project. What is the simplest way to do so? Do I have to check every project to…
24
votes
2 answers

Order of AfterBuild tasks in Visual Studio projects ...?

I have defined several AfterBuild - Tasks in my Visual Studio project with different conditions:
Konrad
  • 4,329
  • 10
  • 54
  • 88
20
votes
2 answers

What are Visual Studio project references?

I came across the Framework and References tab of my project and noticed that I can "Add New Reference..." to my project, what is this functionality?
James Linden
  • 1,055
  • 3
  • 11
  • 21
10
votes
3 answers

How to not copy app.config file to output directory

I have a WPF application I am building. I am using Visual Studio Community 2015. In an effort to create a "true" release build, I am changing up some build settings so it only generates necessary files that will be installed on the user's…
David
  • 1,847
  • 4
  • 26
  • 35
10
votes
8 answers

How to upgrade IIS 6 web app, so it opens in visual studio on machine running IIS 7

My web apps created in VS 2008 on Windows Server 2003, refuse to open in VS 2008 on Windows Server 2008. "The Web Application project 'MyProjectName' is configured to use IIS. To access local IIS Web sites, you must install the following IIS…
Triynko
  • 18,766
  • 21
  • 107
  • 173
9
votes
10 answers

Cycles detected

My project does not add reference to another in the same solution. I created a project for a website and and abstracted all the parts of the program into .Net Class Libraries (My models in a different class library, Interfaces in a different class…
Formula12
  • 305
  • 1
  • 3
  • 14
6
votes
2 answers

Where the data-tier application version number is stored in a Visual Studio project?

I have an utility which fills version numbers in AssemblyInfo.cs files. Now I need to implement a functionality to adjust version numbers for Visual Studio Data-Tier applications (DACPAC). I see that I can adjust the number manually if I open…
5
votes
1 answer

Visual Studio 2015 - Can I make a project for client side-only development that has support for bower, and AngularJS intellisense?

I would like to do some client side-only web development using VS 2015. I don't need any server-side code, and I don't need any .net code compilation going on. However, I would like javascript intellisense, specifically in this case for angularjs…
4
votes
0 answers

Visual studio project, how to check if project is VB or C#

I'd like to create a targets file that is compatible with C# and VB projects, unfortunately it needs knowledge of the project language. I could just make one file for each language, but it would be cleaner if I could just use one file, and have a…
Doctor Jones
  • 21,196
  • 13
  • 77
  • 99
4
votes
4 answers

Bad to leave unused default assemblies in the reference folder?

There are usually some that I don't use in whatever project I'm working on (System.XML, System.XML.Linq for example). Are there any drawbacks from leaving default assemblies that I won't be using in my project?
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486
4
votes
2 answers

Setting up a build dependency without using a reference?

All: I am working on a solution where one of the projects is actually plug-in to the main exe that the solution builds. Since this one project is a plug in, it's wrong to reference the plug-in from the main exe (that assembly isn't guaranteed to be…
JMarsch
  • 21,484
  • 15
  • 77
  • 125
3
votes
0 answers

How can I fix the node.js tools "an unexpected error occurred" issue in Visual Studio 2022

I have a combined .Net Core / Vue app I created in VS2019. I recently separated the app so I can run the API separate to the UI, with the UI project created in VS2022 as the project file as a .njsproj extension which is incompatible with…
3
votes
3 answers

Build Visual Studio Projects from Jamfiles?

Anyone know of a way to create Visual Studio Projects from a build based on Jamfiles? I'd settle for a jamfile -> XML-or-some-other-intermediate-format exporter tool, so I could write my own.
Eddie Parker
  • 4,770
  • 3
  • 35
  • 43
1
2 3 4 5 6