I want to add some files recursively to a single project that are located in folders inside my solution root. Right now, I found a working solution t ...
I want to add some files recursively to a single project that are located in folders inside my solution root. Right now, I found a working solution t ...
One of the biggest hurdles when migrating from .NET Framework to .NET 5+ is having to convert all csproj's to the new SDK-style format. There is no to ...
I need to generate another language translation file automatically based on my Resources.resx file. I already have the following lines present in my ...
When I am developing my MAUI application and I press build. The build process runs for all platforms (I am on windows). But what I want to achieve is ...
I have a large number of .Net6 console apps in a solution which all have mostly the same csproj content and contain a single .cs file which differs fr ...
I sometimes create C#-based software that consists of multiple projects inside one solution. The assemblies created from the projects should go into d ...
I am new to C# and I've been able to build out an application for a client using the pre-built providers for CDKTF and Azure. My question is when ther ...
I need better file nesting. I have Index.razor, Index.razor.cs, Index.Model.cs, Index.Interface.cs inside the Pages folder. In csproj I have I c ...
I was using the "or pattern" in my C# code, but I am getting the following error: CS8370 Feature 'or pattern' is not available in C# 7.3. Please u ...
I just noticed that there is not any <import> in the .csproj files anymore. Where is the starting target? How does it find C:\Program Files\dotn ...
When I am running "dotnet publish --runtime=linux-x64 -c Release" the libusb-1.0.pdb file is added to the publish folder even though the condition fla ...
I have a project which I am using as a simple testbed for a graphical application. I am attempting to add a shared project file (.shproj), but wheneve ...
My question is similar to Visual studio project build dependencies with no references? : I have a Web API project that references some services from ...
I have solution that uses clean architecture, so I have following projects: Core Application that depends on Core Infrastructure that depends ...
I have a two unit test projects, Tests.Common and Tests.Foobar. Tests.Foobar references Tests.Common as a dependency. Tests.Common includes content fi ...
I sometimes lose my pending changes to the .csproj file. I'm left with a changeset of new files, which still carry the appended [add] tag in the Team ...
I have a CSPROJ in which I define my own constant / compiler directive. <PropertyGroup> <DefineConstants>$(DefineConstants);MY_DIRECT ...
I have multiple assemblies which include UnitTests for a single .NET Standard 2.0 project. To thoroughly test my project I want the internal classes t ...
When I'm building the application, one of the PreBuildEvents is the build of the React front-end: Which overwrites the Project\Scripts\client\build ...
Is there a way via NuGet.exe or within Visual Studio 2022, natively or via the Package Management Console, to only re-download all packages for a give ...