Razor core app connects to DB, but integration test fails with Microsoft.Data.SqlClient.SqlException
I have an app that I've been writing and its working well. When I introduced an integration test, its unable to connect to the DB using the exact same connection string. Microsoft.Data.SqlClient.SqlException: 'A network-related or instance-specific…
How come I keep geting the errors when I use the simple shooter sample?
Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to the…
Can't get VS Studio to see 6.0 or 8.0 Frameworks
I've been at this a while and can't seem to figure out where I am going wrong. I'm trying to get a .Net 6 or 8 Framework to show up when I create a windows forms .net app from the template. Only 4.x frameworks show up. I've reinstalled VS Studio…
Can't get VS Studio to see 6.0 or 8.0 Frameworks
I've been at this a while and can't seem to figure out where I am going wrong. I'm trying to get a .Net 6 or 8 Framework to show up when I create a windows forms .net app from the template. Only 4.x frameworks show up. I've reinstalled VS Studio…
How to set a custom PS profile for VS Start Without Debugging action?
When console app is launched with the Start Without Debugging action, the Visual Studio (VS) 2022 opens a default PowerShell (PS) console for it. I would like to use a custom PS profile for that. How it can be done? The issue that I would like to solve…
Visual Studio 2019 crashes every time I open it
Every time I open Visual Studio 2019 Enterprise Edition, it crashes. I just looked at the event log and see this: Log Name: Application Source: .NET Runtime Date: 9/24/2024 2:58:16 PM Event ID: 1026 Task Category: None Level: …
Slider vs SeekBar on Xamarin.Android in Visual Studio 2022
I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…
Python Program Error: Missing Specific DLL Files
Hi everyone, I'm a beginner Python programmer and I'm currently facing an issue with a program I've been working on. While the program runs perfectly fine in Visual Studio Code, it encounters an error when executed as an executable file. Specifically, a…
Microsoft Fakes and real object constructor
I'm using .NET 4.8 and Microsoft Fakes to create Shim object for unit testing. This class (KRSampleManager) is using Lazy initialization to create an instance and implements IDisposable interface. namespace SampleManager { public class…
How to fix "variable $(workspaceFolder) can not be resolved. Please open a folder."
error when debugging. It used to work just fine before idk what happed to visual studio
Problems starting Visual Studio Code on my companies Laptop
Hey. I have problems starting Visual Studio Code on my companies Laptop. The error message is in german but it's self explanatory: Thanks in advance for your suggestions. Regards Bayram
Problems starting Visual Studio Code on my companies Laptop
Hey. I have problems starting Visual Studio Code on my companies Laptop. The error message is in german but it's self explanatory: Thanks in advance for your suggestions. Regards Bayram
Visual Studio Professional Installation on Win 10 IoT Enterprise LTSC 2021 21H2 64-bit
Hi We use Win 10 IoT Enterprise LTSC 2021 21H2 64-bit. Requirement is to use VS 2022 professional /Enterprise edition for development. Is this windows version supported? Looks like no based on VS2022 support page. Why this is skipped? Is there a wayout?…
How to fix MSB4236The SDK 'Microsoft.NET.Sdk' specified could not be found.
Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK. The NuGetSdkResolver did not resolve this SDK…
TUnit Test is not showing in the Test Explorer
I created this simple test: namespace TestingApplication { public class TestsExample { [Test] public async Task TestExample() { var sum=Add(3,5); await Assert.That(sum).IsEqualTo(3); } …
This localhost page can’t be found No webpage was found for the web address: https://localhost:7165/Owner
I'm creating a basic visual studio code using C# and the component Blazor, where I want to show 2 different menus. One is for manufacturer section, the other for an owner. However, when attempting to run both pages, the manufacturer section stays…
Unable to download Visual Studio Tools
I run Windows 11 that is up to date on all patches. I have gone to the https://visualstudio.microsoft.com/ page and trying to download the Visual Studio Community 2022 version. I click on Download and it takes me to a Thank you for downloading page, but…
The older version of Microsoft Visual C++ X86 Minimum Runtime - 14.40.33810 cannot be removed. Contact your technical support group
Tried many times to install but says old version is still installed. Does not work. Need to install please help The troubleshooter tool did not work This If above troubleshooter tool doesn’t work, please try the method that shared by Brynne Stevens here…
How do I connect my existing Visual Studio 2022 project to an existing github repository?
I set up a github repository to match the project I am working on in Visual Studio 2022. I did something wrong and only the project file exists. I followed a tutorial. But the tutorial was disappointing and the instruction was to drag the content of my…
Why did MS remove design tab in winui project?
Hello, I'm considering migrating my wpf app to WinUI and got a question. In WPF, I can see preview of UI design on design tab in wpf project. but I can't do that in WinUI one. why did MS remove it? if someone give me an answer for that, I'd be very…