Category "visual-studio"

ASP.NET Web Service template not exist in Vsiaual studio 2022?

I have installed Visual Studio 2022 with .Net frameworks. I am unable to create my first web service because web service template does not exist. In visual stud

Duplicate keystrokes on cshtml editor

I'm having a strange problem in Visual Studio 2022, and would like to know if someone else faced it. It only happens when editting .cshtml files, on Asp.net MVC

visual studio error e1696 -"cannot open source file iostream"

When I build a cmake project in visual studio and this error occurs, I tried to uninstall and reinstall visual studio but it did not work. the Build succeeded a

How to add a post build event in MSBuild for .Net 6.0 on Mac?

How do I need to edit a *.csproj file to add a PostBuildEvent on Mac? I am trying the following but it doesn't work: <ItemDefinitionGroup> <PostBuild

C# Function Overloading in the New .NET 6 Console Template is Not Working

I am getting errors trying to overload the function Print(object) in the new .NET 6 C# console app template (top-level statements). void Print(object obj) =>

Visual Studio 2022 - Add HTML file and Add Javascript File options are not available

I have upgraded to VS 2022 recently. Now in the solution explorer, when I right-click a folder and want to add an HTML file or javascript file, the options are

Visual Studio 2022 MVC Object Reference Error with @Script.Render(~/bundles/bootstrap)

I'm a beginner college student working on a group project in MVC. Things had been going relatively well until our most recent code update. When testing the app

Errors when "Update model from database" VS2022 and EF5

I am trying to sync EF5 w/ the database by: stackoverflow.com/questions/9708189/… Issue is that after I choose "Updates model from Database" there are er

Why live share not work on visual-studio code-oss?

I have installed in my arch system code-oss following this guide https://wiki.archlinux.org/title/Visual_Studio_Code i have also modified product.json ,installe

Automate Artifactory NuGet download during build in Visual Studio

I have been working with Artifactory NuGet packages in Visual Studio 2019 recently, and have a workflow which looks sort of like this: Add private Artifactory r

Hot reload does not work with .NET MAUI starter project

I'm using Visual Studio 2022 (17.2 Preview 4) to use .NET MAUI for windows. When trying to hot reload with the default project it gives the error "Hot reload ca

Why when i'm using Show method on another form the window form stuck and won't open

Where i'm opening the other form using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; us

Error in selenium c# witch WebDriverException

OpenQA.Selenium.WebDriverException: "The HTTP request to the remote WebDriver server for URL http://localhost:61601/session/bf47076dd5340edf30b904f946dae6f2/url

Is there a way to obtain the same LaTeX output as one gets in Jupyter, but in Visual Studio?

For some unbeknownst reason which I have not been able to identify, and I already proposed in the form of my first programming question, I can not get the resul

Error when installing necessary packages on Node js

I was installing Node.js on Windows. It installed successfully, and I also selected the option to install necessary files (such as chocolatey) in the node.js in

Visual Studio Extension Menu Group Visibility

Please go easy on me, I am new to Visual Studio Extension development, but inherited a sizable project. It targets VS2015-2019. Within it, I have a menu group (

Visual Studio 2022 ASP.NET Core 6 Default application and Add folder to workspace in Chrome DevTools is not working anymore

After some update to either Visual Studio (I have the same issue in both VS2019 and VS2022) or Chrome I can no longer update the CSS in DevTools and have it ref

Visual Studio CLI cant install specific NuGet package version

I am in Visual Studio 2019, and when I open the package manager console, I can run: nuget install MartinTestPkgXYZ which will succeed and install the latest ver

Error Unabled to add User controls to a form

I get these two error messages, when trying to add a User Control to a Form. Worked fine for long, no problems. Now the Design won't show the already added User

How to install specific version of Visual Studio 2022

I want to install a specific version of Visual Studio, but don't know how, specifically version 17.0. All my search result is just release notes, can't install.