Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
43 views

How do I create a solution for an existing C project in Visual Studio?

I have an existing program (the SM64 decompilation) that was written in C and is built using a makefile. I have this program opened in Visual Studio 2022 as a folder. Currently when I want to make a ...
Stevoisiak's user avatar
  • 26.6k
0 votes
2 answers
64 views

How to check which project is unloaded in Visual Studio

I have 350 projects in my solution. The projects are grouped under Solution level folders. While experimenting on few things I unloaded few of the projects (right click on project and Unload Project). ...
Sisir's user avatar
  • 5,348
-2 votes
1 answer
63 views

Visual Studio C++: copy projects and solutions from one pc to another (github not working)

Visual Studio C++: copy projects and solutions from one pc to another (github not working): Can I just copy these files to another pc? Or will I mess things up (e.g. in github)? On the destination pc, ...
babipsylon's user avatar
-2 votes
1 answer
82 views

API to manipulate VS solution and project files (DOM) [closed]

I am working in a code generation scenario where an entire solution is generated including projects, folders, *.cs files, the works. Currently, I generate all the files programmatically as text files ...
Raheel Khan's user avatar
  • 14.7k
0 votes
0 answers
959 views

Visual Studio 2022 Community edition missing afxres.h

I'm attempting to compile an old VS project from 2010 that includes just C files. The VS Studio 2022 community edition I have had to first convert the project files which it did but with a few ...
user avatar
0 votes
0 answers
22 views

Use Case configuration does not exist for Tax Type: , and Case ID : {00000000-0000-0000-0000-000000000000} how to resolbe this error

i have field in purchase invoice which name is TDS section code when we click on it its gives me error like this Use Case configuration does not exist for Tax Type: , and Case ID : {00000000-0000-0000-...
dipali shirsath's user avatar
0 votes
0 answers
22 views

Including a Linux library in VS solution so that it's copied correctly

I have a .NET C# solution, developed on Windows but intended for deployment on a Linux machine. It comprises several projects: "lanucher" project, UI project (Blazor) Lib project, and "...
Shaggydog's user avatar
  • 3,778
0 votes
0 answers
47 views

Visual Studio project template contained in, and limited to, specific solution

I have a solution where certain rules needs to be applied to certain projects. This makes it perfect to be "templatized". However, I only want the template to be available to this specific ...
TheHvidsten's user avatar
  • 4,384
1 vote
0 answers
394 views

Visual Studio Code gives error EISDIR illegal operation on a directory, read

For some reason it can't even open solution it used to open. Even if i try to create and open a solution it just give me the same EISDIR error after creating a solution. I'm using vscode-solution-...
IsusHristos's user avatar
0 votes
0 answers
81 views

Class disappears when switching from "Release" to "Debug"

I'm using Visual Studio 2022 (Version 17.9.2) to write some C# (.Net 8.0) Code. I have a Solution with multiple projects, and most of it works fine. However, I have a class "PreProcessor" in ...
David Hutter's user avatar
0 votes
0 answers
35 views

Is there a way to add bulk of files to a Visual Studio C++ project?

I need to add many source files to a new Visual Studio C++ project. Probably around 3k+ files, distributed between several nested folders. I am using Visual Studio 2022. I tried to drag and drop the ...
PazO's user avatar
  • 1,486
0 votes
1 answer
130 views

How to suppress MSBuild warning when external EXE project defined in sln file cannot be found

I have a Visual Studio solution file for a plugin DLL that works just fine when I build locally via VS. It contains a "project" that is a reference to the executable I need to use as my VS ...
Tom Bogle's user avatar
  • 499
-1 votes
2 answers
231 views

Where does PDF/Office documents generation fits into clean/onion architecture

I need to add docx/excel reports into following solution Question Where does my document generation fit? Solution description Presentation references Application Application references Domain ...
Liero's user avatar
  • 27.2k
1 vote
0 answers
54 views

Visual Studio Changing Project Paths to Invalid Values

We have multiple developers running Visual Studio 2022 that occasionally run into an issue where the solution file project references are changed to an invalid path by removing the first character. It ...
R Stevens's user avatar
0 votes
0 answers
50 views

How do I see VS solution structure?

I am returning to a Xamarin.Forms project, and when I open it in Visual Studio for Mac: all I see in the solution explorer is: which shows none of the files in each project nor any dependencies. How ...
Peter K.'s user avatar
  • 8,128
0 votes
1 answer
2k views

Incompatible and unloaded projects in a Visual Studio Solution File (.sln)

I'm trying to open a solution file in visual studio 2022. When I'm opening the solution, I'm getting incompatible and unloaded on two of its projects. my solution explorer As far as I can tell, what I'...
karim's user avatar
  • 13
0 votes
0 answers
65 views

Nest folder in Solution Explorer

I was looking for the ability to nest a folder in solution explorer directly by code, and I found the function AddFromDirectory to achieve the result (I don't want to deal too much with xml parser). ...
Zenek's user avatar
  • 90
0 votes
0 answers
45 views

VS2022 just creates empty Solution [duplicate]

I just installed V2022 from the Online installer (community) and when I try creating a project in C# winform using.net6 I get nothing! No project No form,no debug and I can not add anything to it try ...
S2G's user avatar
  • 133
1 vote
0 answers
144 views

Should I edit the solution generated by CMake? (Intended workflow with CMake on Windows)

Let's say I'm part of a team of developers working on an application. The application "lives" on GitHub and we have decided to use CMake because people use different operating systems and ...
Otto's user avatar
  • 39
0 votes
1 answer
204 views

Publish a VS2022 solution with 2 projects in it

I am doing my first VS solution that I would like to publish, but I am really confused. I have a VS2022 solution with 2 projects in it. 1 project, STM32CubePrgAPI, is the project that has all the ...
RTL's user avatar
  • 11
1 vote
1 answer
116 views

Project/Solution Level Code Snippets for Visual Studio

I'm able to create snippets for visual studio in my documents file. But I'd like some snippets to be distributed to the rest of my team via source control, so some way of including a snippet with a ...
Thomas Slade's user avatar
0 votes
1 answer
192 views

F# library that subclasses a class from a C# library

I want to convert the C# classes in my console app to F#, one at a time. With stunning help from Co-pilot, I got one class done. But I can’t build with it. So I made a tiny test solution, to ...
silvalli's user avatar
  • 315
0 votes
2 answers
916 views

Unknown source of ASP Net Identity code being added during build/run

I have an asp net core solution with identity which I thought I had removed the section of code that included these login page links: Forgot Password, Register as a New User, Resend Email Confirmation ...
Dave's user avatar
  • 863
28 votes
4 answers
11k views

Visual Studio 2022 unable to create .editorconfig file

Using Visual Studio Community 2022, version 17.4.4. I just created a WPF (.NET Framework) solution using the built in VS template. To this solution, I wanted to add a .editorconfig file to aid with ...
Reece's user avatar
  • 715
0 votes
1 answer
751 views

Solution Explorer in Visual Studio 2022

I just installed Visual Studio 2022 professional, installation went perfectly without failures. However, when I try to create any project I get solution explorer like this ('Webapplication1' (0 ...
user405038's user avatar
1 vote
1 answer
320 views

How do i restore a solution file from folder view or sync them

How do I resolve a discrepancy between the files shown in my .NET Winforms Project's .sln file and the files in the folder view, where the folder view includes commits that are not reflected in the ....
BlackArch.py's user avatar
0 votes
0 answers
155 views

Visual Studio 2022 installation issue

After installing Visual Studio 2022 Community Version on Windows 10, it does not work. I cannot add a project to a solution. Please see the error information: The project file cannot be opened. Unable ...
user3749638's user avatar
3 votes
3 answers
2k views

Create symbolic link instead of coping the content to the output directory

Let's assume I've a Visual Studio solution with 50 C# projects. Project 1 has a native DLL which gets loaded from Project 1. All other projects depend on Project 1. The native DLL has size of 200 MB ...
Wollmich's user avatar
  • 1,646
-1 votes
2 answers
381 views

C# Use classes in projects from Solution level

In this current Solution I will have ~10 projects (Console Applications) which will use the same functions from Helper classes. In the past I would just copy paste those folders in each project and ...
Victor Valeanu's user avatar
0 votes
1 answer
928 views

Defining C# preprocessor directive at the Solution level [duplicate]

I have a question Based on This question Is it possible in C# to define a preprocessor directive at the solution level rather than the project level. Motivation: I have a common library, and there ...
JosephDoggie's user avatar
  • 1,584
1 vote
0 answers
321 views

Missing .sln file in C# / vb.net apps?

I am working with source code (C# and vb.net apps). Many of the projects do not have a solution file (.sln file). I would like to know (which version of Visual Studio) these projects were coded/...
Joseph's user avatar
  • 403
2 votes
1 answer
1k views

How to relocate my solution (.sln) file to a different location

I need to relocate my solution file to the root folder, I tried to do it in Visual studio from File-> Save .sln As, but it doesn't let me to change the location. Appreciate any advise for this.
Mahsa stz's user avatar
3 votes
1 answer
851 views

Visual Studio Error : Unrecognized Guid format

I have a solution containing CSharp projects and Python projects in a specific folder. I just added a Directory.Build.targets into the root of the folder as following: <Project> <...
Saeid Mirzaei's user avatar
1 vote
0 answers
126 views

How to wrap common functions from different versions of the same dll, without code replication?

I have two versions A and B of the WinIDEA library. and they have the same name i.e. IConnectCSLib. There are some functions in these two versions which are similar, but some functions which are ...
maumau's user avatar
  • 27
2 votes
1 answer
474 views

Can I set a solution-wide macro from VS a project property sheet?

Short Version: I need to find a way allow a new VS solution to "override" a build macro used by existing C++ projects, but only for that solution, without affecting the value of that macro ...
Joe's user avatar
  • 6,738
0 votes
2 answers
3k views

Adding an existing Visual Studio 2022 Solution to a new Azure Git Repository

I'm getting really confused about the process. This is partly because I'm moving from SVN to Git, I think. I've created a Solution with 3 projects in. I've also created a new matching project in Azure ...
stigzler's user avatar
  • 983
0 votes
1 answer
438 views

How to force build-friendly root path convention in web site solution file

We're using VS 2019, working with a legacy "Web Site" project. The solution file created by using "File->Open->Web Site..." and then saved to the root of the folder structure ...
KeithS's user avatar
  • 71.5k
0 votes
1 answer
195 views

MS CRM PCF Control Create Solution

I have a working PCF Control but cannot create the solution successfully: I did create folder and jump in => FINE pac solution init -- ... => FINE pac solution add-reference -- => FINE ...
Robert's user avatar
  • 9
1 vote
0 answers
142 views

How to manually order libraries in a VisualStudio solution?

I have a VisualStudio 2022 solution with multiple libraries in it. I'm using common application layers (DAL, Business, Presentation). Right now this is what it looks like in the solution explorer. ...
Batesias's user avatar
  • 2,136
2 votes
0 answers
731 views

Visual Studio "Open a solution, folder, or other item"

As of recently, (probably as of Visual Studio 2022?) when I launch Visual Studio and use the "open repository" drop-down list at the bottom-right corner of the screen, Visual Studio does not ...
Mike Nakis's user avatar
  • 61.8k
4 votes
4 answers
5k views

Error: Visual Studio 2022 "The build must be stopped before the solution can be closed." Disable Bullid option after build

I have a problem with my Visual Studio 2022 and my Solution. When I open my Visual Studio 2022, and Build the the entire solution my visual studio disable the button to build and show a message when ...
RosnelOn's user avatar
1 vote
1 answer
174 views

C# programm can't find my workspace with MSBuildWorkspace

Hi I am trying to analyze my CsProj using Roslyn. I'm having issues finding my solution. This is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using ...
Luca Hafer's user avatar
1 vote
0 answers
364 views

Solution Layers architecture for big enterprises in visual studio

I need to get a very clear idea about how to divide my solution folders and projects in the visual studio. this should serve as will the big enterprise solutions too. I need to have an idea about ...
Mohm Zanaty's user avatar
0 votes
0 answers
315 views

Is there a way to prevent visual studio to remove a file or write ItemGroup with remove action?

I'm working on a project where I generate C# classes in a pre-build step using XSLT and XML to generate those. Those generated classes are included in one file, let's name it "MyClasses.cs" ...
Khaled Saleh's user avatar
1 vote
0 answers
672 views

Where is it recorded which projects unloaded from a solution in Visual Studio Professional 2019

I have a solution with 6 projects loaded into Visual Studio 2019. It is a C# solution. I unload a project, and go to the "Git Changes" tab expecting to see an unstaged change to a file ...
M Bowen's user avatar
  • 30
0 votes
1 answer
1k views

VS code: tell omnisharp which project/solution to work on

I have a workspace with several unrelated folders in it. I don't get any C# code checks (errors marked red and such). I followed this and checked the output of the OmniSharp log which only contained ...
Kjara's user avatar
  • 2,872
1 vote
1 answer
7k views

How do i >install< a platform toolset for a visual studio project?

i'm trying to open up a C# project on my computer, but visual studio complained that the platform toolset was wrong, it wanted the v141 toolset (from VS2017, im using 2019). I found many posts on here ...
Kevin Uchiha's user avatar
0 votes
1 answer
711 views

Using existing project in a new solution and git branches in Visual Studio

My question is what happens if I add an existing project to a Visual Studio 2019 solution which is also in a version control. What I know is that the original solution where project was created will ...
Piotr Golacki's user avatar
1 vote
2 answers
696 views

Visual Studio: Set Project configuration 'Release' as default for new Solution configuration

I have a VS solution with Release and Debug Configuration. Each project in the solution has different settings for Release and Debug. Now I have added a new solution configuration named '...
user1470240's user avatar
0 votes
0 answers
689 views

In a Visual Studio 2022 C# Solution, is it possible to have a local project which is not included in the repository?

I am working on a C# solution which contains multiple projects. I have one project I am just using as a scratch pad to test things out. I don't want to include this in the repository as it is not for ...
Brian Kessler's user avatar

1
2 3 4 5
14