Category "visual-studio"

What is the difference between the LIB and LIBPATH environment variables for MS Visual C/C++?

I've been working on some build scripts, and this is bugging me. I want to be sure that we're independent of environment settings, but in order to be sure of th

Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue?

How to set fix directory for output file in V4 Printer Driver

I am working with V4 printer driver, i need to store output xps file to a specific folder instead of letting user select output folder.

unable to find "Microsoft Outlook 15.0 Object Library" inside Visual Studio 2012

I have Visual Studio 2012 professional edition, and i want to add a reference for "Microsoft Outlook 15.0 Object Library" inside my web project, but i can not f

Visual Studio is not recognizing git repo

Upon opening my ASP.NET Core project with an existing git repo in Visual Studio 2022, the git repo is not being loaded. However, opening a freshly cloned repo

Microsoft.Playwright.PlaywrightException:Connection closed (connection disposed) - getting this error using PoM Playwright c#, Visual studio 2022

public async Task Test2() { //IPage page=null; LoginPage lpage = new LoginPage(); IPage page = await IPage.loginToApllication("john", "admin", "<&

Why is the Visual Studio 2015/2017/2019 Test Runner not discovering my xUnit v2 tests

UPDATE: Adding a 2019; the discovery/runner integration mechanism is same as per 2017 & 2015, so the key things that can go wrong are the

Why does VS 'copy full path' of working file sometimes give all lowercase pathname?

Note: This is not a programming or coding issue, just a minor annoyance when using the VS IDE. While working in Visual Studio, I'd like to grab the full pathna

How do I address this MSB6006 csc.exe error (-2146232797) with VS2019?

I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin

How do I address this MSB6006 csc.exe error (-2146232797) with VS2019?

I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin

How to Merge when you get error "Hint: You have divergent branches and need to specify how to reconcile them."

I'm working with 1 other developer who has created a branch that needs to be merged with master. I get this error when attempting to Pull in Git in Visual Studi

Tabbed Reports in SSRS

I have been working on reports in Sql Server Reporting services and I am trying to create a tabbed report. I wish to have a main report which read in parameter

Redefinition error in propidlbase.idl when compiling ATL project in Visual Studio 2019

I am trying to migrate a previous an older project from Visual Studio 2010 to a current version of Visual Studio (2019). I Microsoft's change notes on upgrading

CS8032 warning with Microsoft.CodeAnalysis out of no where

I've had a solution with a large number of projects in that has built fine since we switched to .NET6 then suddenly I am getting for every project this warning

How to change interpreter in Visual Studio Code?

I have installed on my system several Python interpreters, 2.x and 3.x versions. I am trying to prepare my work environment to allow easily switch between code

I can't see the folders I created in my project

I have been working on a project in C# in Microsoft Visual Studio 2012. Since I have a lot of C# files I decided to put them in a few folders based on their typ

How to change interpreter in Visual Studio Code?

I have installed on my system several Python interpreters, 2.x and 3.x versions. I am trying to prepare my work environment to allow easily switch between code

Visual studio can't debug Android Xamarin app

I've started with Xamarin and Android using Visual Studio 2013. When I start debugging the android app, it builds, deploys to device and then debugging in Visu

Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it

Visual Studio Crashes When Adding a DataSet to a Report, Could not load file or assembly

When adding a Dataset to an .rdlc report using the Report Designer, Visual Studio crashes. VS leaves a failure.txt file with this error: System.IO.FileNotFoundE