Category "visual-studio-2022"

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 :

Porting Xamarin tutorial over to .NET MAUI

For my first ever mobile app project (which will eventually become an actual commercial project), I would like to try out .NET MAUI. Unfortunately since it's s

Visual studio 2022 .net 6 is not supporting reportviewer?

In Visual Studio 2022 I can't get any report viewer, and I am using .NET6 framework. Is there any way to still somehow use it?

Configuring Visual & Installer in VS 2022 for x64

My config screen: Why is it that I can't select x64 in the list? In the Alarm Clock row there is Add / Edit in the drop-down list. But not for AlarmClockSetup.

Why does validation in ASP.NET Core Razor Pages doesn't accept empty inputs?

I am learning how to code in ASP.NET Core Razor Pages and am working on validation right now. Both in client side and server side validation no input is allowed

Trying to use math function: sgn... error : sgn is not declared

hmm... I imported:System.math... test as integer=sgn(100) I get the error: sgn is not declared. Other math functions work. So Why? Might Visual Studio not be

Unable to start program, Access is denied C# net6.0

I have this issue where some of the projects I created for.Net6 throws the error shown in the image attached In this instance the project was running fine, sud

How to use .NET 6 Preview Generic Math in Visual Studio 2022?

There are several articles explaining the new .NET 6 Preview features of Generic Math, often based on this Microsoft article: https://devblogs.microsoft.com/dot

Visual Studio 2022 C++ standard libraries could not be found

I installed the visual studio 2022 community edition with a C++ Desktop development packageScreenshot of Visual Studio Installer. When a new console application

Running multiple Azure Functions locally

I have a solution in Visual Studio 2022 with multiple Azure Functions projects in it. The projects are in .NET 4.8 using the v1 of the function run-time. When d

How to disable that new "FileContentIndex" folder (and .vsidx files) in VS 2022 17.2.0?

Since update to VS 2022 17.2.0, a new folder called "FileContentIndex" is created in "...\.vs\[soln name]". This seems to be related to ServiceHub.IndexingServi

Target Framework not installed when opening a Unity project with Visual Studio 2022

I am trying to open a C# solution that has been generated from a Unity v2020.3.19f project with Visual Studio 2022. Opening it with Visual Studio 2019 works jus

NUKE Build: Could not find a suitable MSBuild instance (Visual Studio 2022)

After upgrade Visual Studio 2019 to 2022, I got the following error when I try to build the project with NUKE Build (Debug/Release): ╬═══

.NET 6.0 Blazor Server app: WebSocket connection to 'ws://localhost:60908/BlazorApp1/' failed

When I create a new, clean Blazor .NET 6.0 app and start it (using Visual Studio 2022), I see the following error in the browser console: WebSocket connection t

Visual Studio 2019 & 2022 (Preview) not finding .NET 6 SDK on launch - mac osx

I'm trying to run a C# .NET Core project locally on Mac and encountering some issues both on Visual Studio 2019 and 2022. Firstly, every time on loading up the

How to change the colors of the modified lines indicator in version 17.2?

I updated Visual Studio 2022 Preview to version 17.2 Preview 6.0, and after doing so, the colors and appearance of the changed lines indicators are "modernized"

Where is Code Analysis in Project properties of Visual Studio 2022

If I open a .NET 5 project in Visual Studio 2019, I see code analysis as follows. And now if I open the same project in Visual Studio 2022 Preview, I dont see

Get the raw request that is sent with HttpClient and HttpRequestMessage

In my C# code running .NET 6 (Azure Function) I am sending an HttpRequestMessage using HttpClient. It doesn't work but it should work, so I want to get the raw

Visual studio 2022 / Resharper indents element after new line

I have some code in visual studio that looks like this: if I place my cursor at the end of the div with class "row" and press enter, that whole div loses its i

IIS Express w/ VS 2022 crashes when debugging web app and selecting file via file html input on page w/ ExtJs

Here are the details: OS: Windows 2016 server accessed over RD Dev tools: VS 2022 17.1.6 & VS 2019 16.11.11. I run VS in Admin mode (both) IIS Express versi