1,342 questions
0
votes
1
answer
200
views
How to implement role based google authentication using Firebase [closed]
I am developing a platform using Vite + React, Firebase Authentication where users (teachers and students) sign in using Google authentication. I need to implement role-based access control (RBAC) to ...
0
votes
1
answer
211
views
What is the meaning of this variation of the CsProj project icon in Visual Studio 2022 Solution Explorer?
I'm using VS2022 and I have a mixture of class library and executable projects in my solution. Some of the projects are SDK-Style and some are the old format. Some of the libraries target ...
1
vote
1
answer
244
views
Is there a way to toggle displayed target framework in VS 2022 Solution Explorer?
I have a multi target C# project that targets .Net Framework 4.8 and .NET 7.0.
Some of my source code files are included only for one of the above target frameworks.
The Solution Explorer shows the ...
0
votes
1
answer
18
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 ...
0
votes
1
answer
110
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 ...
4
votes
1
answer
73
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 ...
1
vote
0
answers
300
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 ...
1
vote
0
answers
69
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 ...
0
votes
2
answers
2k
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 ...
0
votes
1
answer
46
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....
4
votes
5
answers
5k
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".
...
0
votes
0
answers
61
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 ...
0
votes
1
answer
197
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 ...
0
votes
1
answer
1k
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 ...
1
vote
1
answer
3k
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 ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
994
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 ...
0
votes
1
answer
281
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 ...
2
votes
1
answer
2k
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# ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
162
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 ...
0
votes
1
answer
124
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:
<...
1
vote
2
answers
309
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 ...
0
votes
1
answer
486
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 ...
16
votes
1
answer
13k
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 (...