Visual Studio Debugger needs Admin rights. However Cyber Essentials Plus requires all admin rights to be removed from a user. How can we get this to work together?
As part of a new company policy, we need to disable Admin rights on all users/laptops in order to obtain the Cyber Essentials Plus certification. However, the development team need access to the Visual Studio Debugger Visual Studio Debugger needs Admin…
Issue with files to publish
Hello, friends. I am asking for help with a strange situation for me. Visual Studio 2022 Professional Using Visual Basic, I want to make an application to publish on the Internet. Select New Project, ASP.NET Web Application. I write a code and make my…
How to fire .net analyzers also running project
Hi guys, I'm in trouble with .net analyzers; they works fine building the project but they aren't fired running the project. I don't found any solution either on…
Visual Studio 2022 crashes immediately after startup with no error message. How can I resolve this issue?
I downloaded Visual Studio 2022 yesterday and it crashes a few seconds after it's opened. I received no error messages, but the crash log displays a lot of information (image 1), with most of it indicating that the problem is "CLR20r3" or…
MauiApp - Windows Machinine is not working
Visual Studio version 17.9.5, all components have been updated to the latest version. I am creating an Application project .NET MAUI (Microsoft), I leave the standard project name. After creation, I wait 30 seconds for everything to be fine-tuned, and…
I want hidden icons to be visible when I hide my program, but I couldn't find a solution. I would appreciate it if you could help
I want hidden icons to be visible when I hide my program, but I couldn't find a solution. I would appreciate it if you could help.
Error while creating c++ project for UE5
I am getting this error even though i have the toolkits installed.
How can we debug with InMemoryDatabase and how can we know exactly the key is duplicate?
How can we debug with InMemoryDatabase Unit test? Also I have question that when I get this error for example "An item with the same key has already been added. Key: 16c568e8-b00d-46b2-ab27-cdb7685839ae" why VS don't point exactly what entity…
How to solve VS15 install problem with redistributable installations
I am trying to install VS15 on Windows10. The install is OK right up to the end, then it reports that it can't finish because there are previous versions of the MVC redistributables (x86 and x64) that are blocking completion, it instructs me to uninstall…
How to fix Invalid value ''' for RazorLangVersion. Valid values include 'Latest' or a valid version in range 1.0 to 8.0.
Im getting below CSC error while building a solution. I recently installed a new VS latest 2022 version. Same solution was working previously as expected. Error message - Severity Code Description Project File Line Suppression…
Error HRESULT E_FAIL has been returned from a call to a COM component
When i try to create a new project asp.net web application mvc on VS 2022. and this happen I have tried: Repair VS. Update VS to the latest version. Reset Visual Studio settings(run devenv /ResetSettings in Developer Command Prompt for Visual…
UWP Designer not showing in Windows 10 22h2
I am using Windows 10 22h2 (19045.4170) and have the latest Windows 11 SDK (22621.0) and Windows 10 SDK (20348.0). In Visual Studio (UWP Project), my target version is Windows 10 version 2104, but I am unable to view the designer and it tells me to…
How to fix the error that occurs when executing the GenerateTemporaryTargetAssembly task
When creating an sdk project with wpf elements, the error Could not copy the file ProjectName.csproj.nuget.dgspec.json occurs when building on the server. I see that the files csproj.nuget.g.props and nuget.g.targets are created and copied, but the file…
App doesn't perform in VS 2022 windows 11 exactly like VS 2019 WIndows 10
I wrote an online store using VS 2019 on Windows 10, MVC Core 3.1. Works perfectly. I got a new pc with Windows 11, installed VS 2022, and ported the app over. I also resolved the issues from Startup.cs to Program.cs. Everything compiles. (MVC Core, .Net…
Can't run app in iOS simulator using Visual Studio for mac
Hello, I want to build a .NET MAUI app for Android and iOS. I'm rather new on this technology so first I just wanted to know if the app was building and deploying correctly both on Android and iOS. On Android emulator, it works fine. For iOS, my app is…
Inconsistent Window Focus Behavior: Debugging vs. Running Without Debugging
In my application, I have a MainWindow that inherits from System.Windows.Window. Within this MainWindow, there's a System.Windows.Controls.Button. Clicking this button triggers the opening of a second window, also inheriting from System.Windows.Window.…
Visual Studio 2022 cannot connect to sqlexpress 2022
I used to be able to connect to sqlexpress (2022?) from Visual Studio 2022, but now I am getting this error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not…
Visual Studio 2022 considering Desktop application as ASP.Net & generating errors
I have developed a desktop application using Visual Studio 2022. I then developed a web application ASP.net with Visual Studio 2022. Now, whenever I launch the desktop application, VS considers it an ASP.net application, and is generating errors by the…
How to uninstall VS 2022 and everything else it installs?
I want to completely remove Visual Studio 2022 and everything else it installs like font iis sql etc. I already ran the normal uninstaller and the installcleanup.exe but I still have all these extra programs and folders everywhere. Do I really have to…