Category "visual-studio-2022"

ASP NET Core 6 MVC Slow page loading

I am trying to upgrade an old ASP .NET project from Framework 4.5 to Core .NET 6. Going well so far, but I noticed the page loading was way longer than before.

Visual Studio hub-related background tasks won't stop

When running Visual Studio 2022 (after upgrading from VS 2019), the four "rogue" hub-server background tasks listed below in yellow won't stop. What are they fo

VS 2022 errors ENC0020, ENC0021 even though code changes were made prior to starting debug session

Does anyone know how to solve this problem? I have a solution with multiple projects, including: 2 Class Libraries, 1 REST API server, 1 Web server, 2 REST API

Launching integration test (MSTest) after starting the API without using two instances of Visual Studio

I have a .NET WebApi and an MSTest Project that contains the integration tests to call the API via HttpClient. Because I did not find a way how to let the MSTes

Error deleting locked file on publishing a webservice over Visual Studio

I'd like to publish a webservice in visual studio 2022 over the context function "Publish..." to a remote server folder, on which internet information services

Realm v10 database in Xamarin iOS project won't build - "No matching framework found inside...realm-wrappers.xcframework"

I'm attempting to upgrade the Realm database version I'm using in my Xamarin Forms project, from v5 up to the latest v10. The original Realm database has been w

How to solve the problem of loading Fortran projects in Microsoft Visual Studio 2022?

After installing the version 17.2, I can no longer load my Fortran projects into Microsoft Visual studio. When I open the .sln file, I get the two following err

Resource style not found even though I already remove it and not using in Styles.xml

I created this in Styles.xml <style name="Content.Right"> <item name="android:paddingTop">60dp</item> <item name="android:paddingLe

How to customize functionality of "Delete Line" hotkey in Visual Studio Community 2022?

In most IDE's I've used, including VS Code, the "Edit.LineDelete" keyboard shortcut deletes the line and tries to keep the cursor in the same place on the follo

Restore NuGet packages failed for project ... : Could not find a part of the path

I'm trying to run a Unit Test project in Visual Studio (.NET Framework 4.72). The project is now building/running successfully, however there is still an error

Instantiation of User Controls dissapearing on InitalizeComponent() when modifiyng Form

Hi everyone and thank you in advance. I have created a User Control named PanelOption that is a panel with a CheckBox and a TextBox, and these are inside a Flow

In Visual Studio 2022, publish to IIS returns a build error, but publish to Folder is ok (and it was all working fine before)

I've updated Visual Studio 2022 to 17.1.0 recently and I now have this weird error, but not on every project (on only one up to now). I've tested other project

Project Properties Windows Blank in Visual Studio 2022 Community 17.1.0

I'm trying to access the project properties but the window appears blank. I've tried web solutions View>Properties Window, f4, right click on project folder&

Create XML documentation file in VS 2022:s User Interface

Goal: Create XML documentation file with VS 2022 as the same in the picture below. The XML should be used for Swagger. Problem: It works in 2019 but I cannot fi

How to create an Office 2010 Add-in in 2022?

I am trying to create an Office add-in, mainly for Word, that consists of a simple Task Pane that displays search results from a website. I need it to work in e

Ungraded Visual Studio 2022 - Debugging Error

I just upgraded to Visual Studio 2022. When running a project (developed in VS 2019) I get the following error/warning message: enter image description here Yo

Curl using Nuget on Visual Studio 2022 doesn't work

I've been trying to get Curl to work with VS for weeks. I've read a ton of other tutorials, guides, installation instructions and other materials and just... No

tSQLt V1.0.8083.3529 will not build in Visual Studio 2022

I have a database test project and tSQLt has an error when I do a build: SQL71501: View: [tSQLt].[Private_HostPlatform] has an unresolved reference to object [s

Configure IoTEdge module to receive messages port 53000

I'm loosely following along this article to develop and debug modules for IoTEdge https://docs.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-m

error in publish blazor-wams version.net5 after install visual studio 2022

I'm having a weird issue with publishing my Blazor WASM version .net5 project to IIS Service after I install my Visual Studio 2022 In Console Write This Error :