Category "visual-studio"

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.

Visual Studio typescript errors but webpack builds fine and no red squiggles in editor

I'm getting many of the following errors when in the Visual Studio (not VS Code) Error list: Cannot find module '../../dataStructures'. Did you mean to set the

CTRL+D doesn't work in Visual Studio 2022

CTRL+D (duplicates) It doesn't work in visual studio 2022 , How to change Ctrl+E,V To CTRL+D ?

How to set pre build in visual studio via pipelining

at the moment i have the following command in the prebuild block: prebuild My plan is to run this command before building and use the output via pipelining for

masm directive option prologue:none has no effect

I'm learning how to use masm using MS's official docs, but there's almost nothing written on the option directive (https://docs.microsoft.com/en-us/cpp/assemble

How can I open multiple browser instances in selenium in c#?

I want my program to open multiple browser instances at once and perform actions. But I ran into a problem, which is that all actions are performed in turn. I h