116,196 questions
2
votes
2
answers
182
views
Why is @apply underlined in my Tailwind CSS input file in VS Code?
I'm learning Tailwind CSS for the first time and trying to set up a global custom class using @apply. Even though everything seems to be working fine, the @apply line is underlined in my CSS file in ...
1
vote
0
answers
91
views
When adding nuget packages, why do dependencies also get referenced in the parent project?
I have a project that I'm sharing on nuget.
However, this project itself contains references to more nuget packages, which I've added as dependencies in the nuspec.
<metadata>
<version&...
0
votes
1
answer
96
views
WinDbg Connects to Remote Debugger But Cannot Load Module
I am running WinDbg on my development Win10 machine and connecting via pipe to my Win10 VM. WinDbg is definitely talking to my VM and indicates as such with "Debuggee is running". If I break ...
0
votes
1
answer
104
views
After updating ASP.NET Core MVC from .NET 6 to .NET 8, the project property throws error
Recently, I have updated my ASP.NET Core MVC application from .NET 6 to .NET 8. The VS 2022 Professional was also updated to version 17.14.7.
After that, when I right-click my web project, which is ...
-1
votes
1
answer
53
views
Error C1010 When using Precompiled Headers and adding new Source Files [CMake] [Visual Studio]
I have the following problem: I enabled precompiled headers for my CMake project using target_precompile_headers(${APPLICATION_NAME} PRIVATE include/precompiled/pch.h) . This worked, however only for ...
0
votes
1
answer
62
views
Why Visual Studio aborts test of async method returning void instead of Task? [duplicate]
I have an async test method which is not very well written, that it returns void, instead of Task.
[TestMethod]
[DoNotParallelize]
public async void ComponentDrawingAspectParserTest()
{...
0
votes
0
answers
59
views
Make Blazor Project Name Dynamic For Non '.cs' files
I am working with Blazor, and I have been tasked to create a template, in VS, so that all of our developers have base starting point for new projects.
When I export as a template, it all goes pretty ...
1
vote
2
answers
228
views
disconnect Visual Studio from a Copilot subscription
How to disconnect Visual Studio from a Copilot subscription so that it is possible to subscribe to another subscription?
0
votes
2
answers
116
views
"DefineStaticWebAssetEndpoints" Error After Updating to Visual Studio 17.14.3
I recently updated Visual Studio to version 17.14.3, and now I am encountering the following errors that prevent me from running my project:
The "DefineStaticWebAssetEndpoints" task failed ...
0
votes
1
answer
49
views
Add a DebugDisplayAttribute dependent on another project (avoiding or handling cycling dependencies)
I've written an Assembler, Interpreter, and Disassembler for MIPS.
They're split each into their own projects, with a base project containing some basic models to use between each.
One of those models ...
0
votes
0
answers
39
views
How to interpret core dump analysis result of ASP.NET Core application
We collected a core dump of our productive ASP.NET Core application using dotnet-dump collect -p <PID>.
Loading it into Visual Studio and running diagnostic analysis revealed some interesting ...
0
votes
0
answers
86
views
How to get reboundx installed on my Windows Anaconda?
I'm trying to install Reboundx on my Windows Anaconda, and keep failing.
So far I've been using Google and ChatGPT to try and install reboundx, but the final result is the same.
I have no experience ...
0
votes
0
answers
47
views
Publish Error in ASP.NET MVC - Could not find file 'bin\*.xml' during deployment
Problem
While publishing my ASP.NET MVC project using Visual Studio 2022, I ran into errors.
Similar errors appeared for:
Newtonsoft.Json.xml
System.Web.Helpers.xml
System.Net.Http.Formatting.xml
...
-1
votes
1
answer
195
views
Can't run a simple container support enabled console app: MSB4018 / The error was: Illegal characters in path
I am stuck due to this error. I have downgraded from Enterprise to Pro version of Visual Studio 2022 then this error came in. I have tried numerous times repairing, uninstalling, reinstalling, and ...
0
votes
0
answers
70
views
Visual Studio - Is it possible to create launch profiles for .vb projects?
I know when working with C#, it's as simple as clicking on the little arrow next to the green debug button ('Start') and selecting a start-up item.
But how can I add more profiles when working with VB....
0
votes
0
answers
30
views
Exclude "runtime" folders (that already exist in server) from being copied every time razor site is published?
Is there a way to exclude the "runtime" folders from being copied every time I publish the site?
The very first time I published the site, the "runtime" folders were copied to the ...
1
vote
1
answer
97
views
Using QuestPDF with a Header having Rotate(-90) the text does not position correctly
I'm using .NET 8, C#, Blazor server, VS 2022 and QuestPDF Version="2025.5.1".
I have been unable to get the header cells to provide Rotate(-90) correctly. I am new to QuestPDF. I have ...
0
votes
0
answers
35
views
The file is locked by: "Inception Forwarder (8984)" during Build
I am having an intermittent issue when I Build my .NET project in Visual Studio (2022):
Unable to delete file
"obj\Debug\net8.0-windows10.0.19041.0\project_name.dll".
The process cannot ...
0
votes
1
answer
30
views
Error MSB4236 only on one project on the Azure build system
I just ran in a strange problem when moving to the SDK format for the csproj
The build system throw for exactly one project a MSB4236: The SDK "Microsoft.NET.Sdk" specified could not be ...
0
votes
0
answers
41
views
Virtualbox hosted COSMOS Does Not Get IP with mobile hotspot
I'am hosting a NAS OS with cosmos and oracle virtualbox with vs 2022 C#. But unfortunately somehow it doesn't get IP address with mobile hotspot meanwhile it works through wifi from home. In the ...
2
votes
1
answer
151
views
How to fix poor C# pattern formatting e.g. using editorconfig
I have the following code:
internal class Program
{
private static bool IsMatchingThing1(IThing thing)
{
return thing is
AThing {
Children: [
...
2
votes
1
answer
1k
views
Azure Function, error in MS Visual Studio, WorkerExtensions.csproj" was not found
When trying to build a new Azure Function in Visual Studio I am getting the following error:
`Error (active) MSB3202 The project file "D:\mycompany\myFunction\obj\Debug\net8.0\WorkerExtensions\...
0
votes
1
answer
66
views
How to force Visual Studio to notice shader file changes and do a build?
TL;DR: I want to tweak a number in my shader, click green play button, actually compile it.
But it gives me a:
>------ Build All started: Project: my-project, Configuration: x64-Debug ------
...
0
votes
0
answers
17
views
How can I get a list of the servers and databases in SSOX (SQL Server Object Explorer)?
I am writing a VS extension for VS 2022 and want to retrieve a list of servers/databases in SQL Server Object Explorer. This window is provided by (I believe) SQL Server Data Tools. It is not the same ...
0
votes
0
answers
142
views
How do I change the drive that Visual Studio Community 2022 install on?
I am using a computer that I do not have administrator permissions on and the C: drive appears to be locked. I can access the D: drive but the installation file for Visual Studio Community 2022 is ...