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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Visual Studio Doesn't Create Solution

I keep running into this weird problem with Visual Studio. On numerous occasions I've made projects, but they don't make a Solution file. In here I made a simple example where I make an Empty Project -...
Zoltan Torok's user avatar
1 vote
0 answers
35 views

Visual Studio: 2 projects in 1 solution. How to start project 2 from project 1?

Noob here! Hey! I'll tell everything in details now. I have 2 projects in 1 solution. 2 in 1. The C# one is main of 2 and working with my postgres database. The second one is a Python app where the ...
Егор Крутов's user avatar
0 votes
1 answer
8 views

How in MSVS C++, work on multiple projects of different solutions?

I created two projects in different Solutions. Project1 Calculator which is Static Lib(.lib) containing multiple functions and Project2 Trigger which is Application Exe(.exe) is try to use the ...
Vikas Prajapati's user avatar
0 votes
0 answers
14 views

What property sheet can be used by the solution in Visual Studio

I'm debugging a existing codes for my company. They are built by some third party building tool. We use Microsoft Visual Studio to view/edit the source code. The source codes are in hundreds of ...
jerron's user avatar
  • 303
0 votes
0 answers
29 views

How can I maintain an up-to-date database of TLD classifications using the IANA Root Zone Database?

I'm working on a project where I need to determine the type or classification of a Top-Level Domain (TLD). This classification includes categories like generic TLDs, country code TLDs, and more. The ...
sriram's user avatar
  • 15
0 votes
0 answers
15 views

Non project files in PhpStorm

On my project in PhpStorm usually the background for my project files is black. I did a reverse in the git console to cancel some changes. From those changes the background color changed for yellow ...
GrischK's user avatar
  • 21
1 vote
1 answer
74 views

QRCoder Html Base64 lengthy URI need to shorten

I am trying to link a lengthy HTML URI to QR code generated through QRCoder, but it gives the below error: QRCoder.Exceptions.DataTooLongException: The given payload exceeds the maximum size of the ...
shubham shaw's user avatar
0 votes
1 answer
31 views

Giving file in the project a name A.Designer.cs will make it nested to A.cs

I just discovered an interesting feature of Visual Studio (using VS2022), renaming existing class or creating new with same name as another class plus ".Designer" will make it nested to ...
Sinatr's user avatar
  • 21.1k
0 votes
0 answers
20 views

Is it possible to have a nuget packaged library exist also as an editable project?

In managing my development projects, historically I would break my solutions up unto modular projects, each which could be used by multiple solutions. This allowed the modular project 'library' to be ...
J Collins's user avatar
  • 2,106
0 votes
0 answers
15 views

How to achieve end-end debugging in visual studio using projects that reference sub-projects via (custom) nuget packages

We have a solution A, which is a desktop application, which contains various projects. Solution A uses code from Projects X,Y,Z, which used to live inside solution A but have been isolated into ...
user2790954's user avatar
4 votes
1 answer
43 views

How do you mark implicitly loaded assemblies for an entire team?

The repository we work in contains multiple applications and services, and a whole bunch of DLL files that are shared among many of them. We have a form of inversion of control in place to keep the ...
DaCodaDragon's user avatar
-2 votes
1 answer
39 views

Vb.net - error after converting website to solution '<name> is ambiguous because multiple kinds of members with this name exist in <type> ' [closed]

I converted by vb.net website into multiple project solution. But after creating that I am getting many errors in each aspx file and vb file. Below screenshot for reference. I have multiple labels or ...
Ghanshyam Singh's user avatar
1 vote
0 answers
81 views

How to persuade saved connections in SSMS projects to actually remember their password

Is there any way to persuade saved connections in SSMS projects to remember their password? There's a checkbox on the connection to "remember password" but when I open a query inside the ...
Belladonna's user avatar
0 votes
0 answers
94 views

Using Visual Studio "Build Action" or Preprocessor directives to embed different Resource Files, Different Output Release Folder, and Sign by Script

I have an add-on application for vendor supplied application(APP) (Siemens NX CAD/CAM) with multiple versions. For each version of the add-on, the build needs a different resource file, different ...
NobleMO's user avatar
1 vote
0 answers
53 views

Maintaining two Git repositories

I have a question regarding maintaining multiple repositories in git. I currently have 2 projects divided into 3 folders: Landing, Admin, Stores. Which in turn the two projects are divided into US and ...
Saltaro's user avatar
  • 29
2 votes
0 answers
229 views

Application resolving incorrect version of assembly referenced in another project

Environment: Microsoft Visual Studio Community 2022 (64-bit) Version 17.4.4 Microsoft .NET Framework Version 4.8.04084 Windows 10 Pro (x64) Version: 21H2 OS Build: 19044.2486 Project Info: Solution ...
G_Hosa_Phat's user avatar
  • 1,026
0 votes
2 answers
563 views

Dependency injection between projects in a solution

Im trying to make a dependency injection of Serilog into a solution of multiple projects, so that all projects can use it. My Entryproject with the Program.cs starts a workerservice string ...
Kim Sandberg's user avatar
0 votes
0 answers
21 views

Website solution requires file not in version control

At my new job there is a C# website which relies on a secrets.xml file which is not in the version control repository. It contains links to databases and passwords. You need to copy it into the root ...
Michael Sandler's user avatar
0 votes
1 answer
42 views

How can I create a VisualStudio2015 solution from a given directory structure?

Suppose I have isolated some header and source files from a huge CMake C++ project. C:\USERS\PC\SOURCE\REPOS\my_app_src ├───apps {a.hh, b.cc, c.hh, d.cc} │ └───biosimulations {main1.hh, main1.cc, x....
user366312's user avatar
  • 16.9k
1 vote
0 answers
197 views

How can I compile(generate a .sln file or something similar) a project via meson

I have the following problem: enter image description here G:\Programs\Soft\Coding\C\VisualStudio\Coders\rellume>meson build The Meson build system Version: 1.0.0 Source dir: G:\Programs\Soft\...
OSPFv3's user avatar
  • 33
2 votes
4 answers
4k views

Visual Studio 2022: There is no project properties provider for "Persistence = ProjectFileWithInterceptionViaSnapshot". Projects are not loaded

I cannot load all projects from one visual studio solution because of an error. error : There is no project properties provider for "Persistence = ProjectFileWithInterceptionViaSnapshot". ...
ael's user avatar
  • 514
0 votes
1 answer
866 views

VS 2022: An error occured while loading the project properties editor. System.ArgumentException: Expected _ values Build::DefineConstants, but got _

I use Visual Studio 17.3.5 I have this error: An error occured while loading the project properties editor. System.ArgumentException: Expected _ values Build::DefineConstants, but got _ Projects can't ...
Eric Ouellet's user avatar
  • 11.2k
0 votes
0 answers
49 views

How do you execute a method from a different Project within the same Solution?

I have two c# projects within one solution. Within one project (Project1), I have some code that runs when a user clicks on the button (public void btnTranslate_Click(object sender, EventArgs e). what ...
AJA's user avatar
  • 1
0 votes
2 answers
93 views

How to include functionality from one project into another in the same solution?

In my company, we are creating C# client/server applications as follows: We create three project inside one single Visual Studio solution: Product.General Product.Client Product.Server The "...
Dominique's user avatar
  • 16.3k
0 votes
1 answer
143 views

Modifiable Python application architecture

I develop an application in Python, but I want to make it so that other users can later modify its functionality with their extensions, but I do not know how to organize the architecture of the ...
selfkilla666's user avatar
1 vote
0 answers
89 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
  • 1,944
0 votes
1 answer
514 views

how to fully rename all folders and files of a visual studio project?

So I copied a project, and change the name at every place I could find, but at one place I cant change the name without destroying the project. So in the folder "TestName" I got another ...
user avatar
1 vote
1 answer
475 views

.netstandard 2.0 project Always compiles to AnyCPU

We have a large solution with many projects. We are moving from .NET4.8 to .NET6 (eventually). To get started, we are changing some projects to .NetStandard2.0. Our first test is to modify one ...
RobCole's user avatar
  • 90
1 vote
1 answer
2k views

VS2019 copy project within solution to use as starting point for new project

Hi I have a VS2019 solution that contains multiple projects, some are class libraries and some are commandline apps I want to start a new commandline app but would like to base it on an existing app ...
Vida's user avatar
  • 490
-2 votes
1 answer
602 views

Copy/clone an entire WPF solution& project and use it under another name

I have a WPF solution & project(written in Visual Studio2019) that I would like to use under another name. On the other words, I have a project like( EXAMPLE_A ) that I would like to use on my ...
sansui1's user avatar
  • 17
1 vote
1 answer
887 views

Visual Studio 2022 ignores BaseIntermediateOutputPath property specified in project files

I have a solution containing a large number of projects. To separate binaries from the sources, I changed BaseOutputPath to "..\bin" and BaseIntermediateOutputPath property in all projects ...
Harry's user avatar
  • 4,614
3 votes
1 answer
1k views

Where does the $(WixTargetsPath) property get set for this .wixproj file?

I am new to project files and was doing some investigating today to try and understand the .wixproj file that was automatically generated using VS2019 WiX project template. I was able to understand ...
ObeyTheShihtzu's user avatar
0 votes
1 answer
873 views

Reference Web API appsettings.json file in console app project in the same solution - issue with dotnet run

I have a .net 5 ASP.NET Core Web API and a console app in one Visual Studio solution. I have an appsettings.json file in my API's host project, which file I want to reference in my console app. The ...
Konstantina's user avatar
0 votes
1 answer
518 views

Access $(VCToolsInstallDir) from a non CPP project

I have a WiX project and need to call editbin.exe to change the stack size on an executable. I am working in VS2017 and have the component "VC++ 2017 version 15.9 v14.16 latest v141 tools" ...
SmudgerDan's user avatar
0 votes
1 answer
216 views

Share C# class and static variables in VB.NET insde the same solution

I want to share code from a C# project inside a VB.Net project. I want to refer a public class and its variables inside VB. So I've put both VB and C# project inside the same solution. Here is the ...
VSB's user avatar
  • 9,949
-1 votes
1 answer
2k views

How do you initialize a bitmap in kotlin(android)?

Here's my code: class Result : AppCompatActivity() { private lateinit var select_image_button : Button private lateinit var capture_image: Button private lateinit var make_prediction ...
Gauraksh's user avatar
2 votes
1 answer
644 views

C# projects in a solution now displaying as F#

Using the dotnet cli interface in a VS Code Terminal. I have created a blank solution file, a blank project file and added the project to the new solution. Now when I open the folder it opens a F# ...
DoImagine's user avatar
3 votes
2 answers
734 views

Typescript NodeJs solution split into multiple projects

I want to develop a typescript nodejs solution split into 3 sub project like a csharp solution split into multiple libraries. I want that each of them has its own pacakge.json UI project package.json ...
Max's user avatar
  • 6,881
0 votes
1 answer
861 views

How to create a configuration file (json) for the entire solution in visual studio?

I have a solution with many projects; I would like to have a shared configuration (for example all have the same connection string). During deployment I don't want to make the same modifications in 10 ...
Victor Iorinescu's user avatar
0 votes
1 answer
150 views

Change Visual Studio project property Start action to "Don't open page" in several projects

When I first download our solution from the version control server, I need to set every project Start action property manually. I would like to know if there is any 'unattended' way to do this. I don'...
cerfus's user avatar
  • 21
0 votes
0 answers
134 views

Outdated React Native Project

I posted this question yesterday, but apparently worded it badly, so I'm trying again. I'm working on a project that had been closed for a couple of years and reopened. During that time, a large ...
MeditatingGuru's user avatar
0 votes
1 answer
76 views

Can a file name of a .vxproj be used as a variable within the file itself?

My intention is to use the file-name as Projectname: So I do have (for example) a vs project-file: "MyAwesomeProject.vxproj" And I would like to use it (for example) this way: <...
Petit Bateau's user avatar
6 votes
1 answer
4k views

Incompatible project type .deployproj (Visual Studio 2019)

I have a solution that contains a .deployproj type of project. It seems that Visual Studio 2019 is not able to load that project. The detailed error message is the following: Unsupported This version ...
Marius Stănescu's user avatar
1 vote
2 answers
203 views

Solution repo structure -VS Azure functions

Im developing 3 Azure Functions called EmployeeAPI, StudentAPI, ProjectsAPI all of which is accessing the same SQL database. I was instructed to make sure that each of projects are deployed separately ...
samantha07's user avatar
0 votes
1 answer
307 views

Missing Packages after Upload in Team Foundation Server (TFS)

I created two Visual Studio Solutions S1 and S2, which both include a main project P1 and P2, and two external projects X and Y, which S1 and S2 share. So my setup looks like this: Solution S1 - ...
nomeal's user avatar
  • 68
0 votes
1 answer
261 views

How to avoid copying referenced assemblies with new PackageReference xml tag in csproj

In C# project (SDK based project) I have following xml tag: <ItemGroup> <PackageReference Include="log4net" Version="2.0.8" /> </ItemGroup> When building ...
TarmoPikaro's user avatar
  • 4,853
0 votes
1 answer
216 views

How to change default project build options?

How I could change this option to default: release x64? I have my source on a folder and i have it as Release x64, but when i make a copy of this folder and open the project from this copied folder ...
user avatar
15 votes
0 answers
12k views

Microservices naming convention with API and background workers (MessageBus/ScheduledTasks)

To expand on this existing question Microservices: Worker roles, APIs or both?: I have seen mixed examples of Microservices implemented as worker roles processing requests off a queue and/or as APIs (...
morleyc's user avatar
  • 2,259
0 votes
0 answers
111 views

Meaning of project files icons in Android Studio

In Android Studio, in the Project list of files, what is the difference between these 2 icons : and also between these 2 icons : Thank you
Christian's user avatar
  • 748
1 vote
3 answers
1k views

C# use class from another project - add reference

I have a problem with my solution in C#. Inside the solution I have 2 projects, Project1 and Project2. I have a problem because in Project1 I use functions that are within Project2 so I need to ...
liran's user avatar
  • 75

1
2 3 4 5
28