Category "visual-studio"

Could not load file or assembly 'System.Buffers, Version=4.0.2.0...'

I'm getting the following exception when trying to call GetDatabase method of the MongoClient class after adding a new configuration using VS config. manager: C

Microsoft Visual Studio 2019: Unable to locate .NET Core SDK

When I try to create an Azure Timer Function in a Function App in Visual Studio Code 2019, I get the following error: Unable to locate the .NET Core SDK. Check

How to recover missing SQL auto-recover files in SSMS (Microsoft SQL Server Management Studio) after unexpected shutdown

My SQL Server Management Studio (SSMS) closed unexpectedly. Many SQL files were open. When SSMS was restarted, it did reopen some auto-recover files, but not al

Connecting an ObservableCollection to Listview for a Windows Application UI (Visual Studio C#)

I'm working on a project where an application displays data by pulling it from a file and displaying a new data value every second. (edit: consolidated code at

NuGet Unable to load the service index for source Authentication failed

Since today for some reason I'm unable to connect to the NuGet package manager through Visual Studio. [nuget.org] Unable to load the service index for source ht

How do I force Visual Studio 2019 to generate a .deploy file for an icon for ClickOnce deployment/install

I'm running into a problem publishing/installing a ClickOnce application being built in C# in Visual Studio 2019. The application is being built using .NET Cor

visual studio 2019 cant exclude folder from build in .csproj

I am trying to exclude an entire folder from being build in my vscode project, I have edited my project file to look like this: <Project Sdk="Microsoft.NET.S

Naive reverse string iteration infinite loop and/or assertion failure C++ / Visual Studio 2022

I am trying to reverse iterate through a string, but am getting assertion failure for the [] operator in the latest VS. int foo() { std::string s = "s";

How can i start the same process two times, but only with one uac?

Following problem: I want to start the cmd as administrator in C# with a process to get the UAC befor the code: var process = new Process(); var ps= new Process

Visual Studio 2022 - Lots of errors in TypeScript Angular Project

Yesterday I created a new Standalone TypeScript Angular Project in Visual Studio 2022. After a couple of minutes playing around with it, I already got a bunch o

How can I view the .edmx diagram on visual studio for Mac?

I want to view the edmx diagram like below an example of how it is viewed on windows visual studio I have tried looking at Microsofts documentations regarding

How can I view the .edmx diagram on visual studio for Mac?

I want to view the edmx diagram like below an example of how it is viewed on windows visual studio I have tried looking at Microsofts documentations regarding

Unity CS1001: Identifier expected but all syntax is right?

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class QuizManager : MonoBehaviour { public List

system.net.http version confusion between VS 2019 and SQL Server 2016

I've found lots of reported issues related closely to this, but nothing that's quite a match. I'm building a very simple C# class, with the intention of adding

How can I install extra dependencies for a particular configuration only using manifest mode of vcpkg?

I am trying to build the Testing example from the fruit DI Injection library, it contains a standard int main entrypoint in main.cpp, and has another entrypoint

Live Server Extension - Not working after adding forms

I'm using Live Server extension in Visual Studio Code and it's working perfectly. But whenever i try to add a form for example with the following structure:

how can i use a function from MyForm1.h in MyForm.h

i have a funcion 'button1_click' in the header 'MyForm1.h'. I want to use this function in another header 'MyForm.h'. How can i do this? i already included 'MyF

is there any way to reduce the Tags browse time in OPC UA client?... while connected OPC UA Server

I have reduce and checked with SamplingInterval and PublishingInterval..values There is no impact. can you suggest any way? Let me know.

How to use the Fortran compiler in Intel Parallel Studio XE with Visual Studio

I am trying to debug a Fortran code. I have installed Intel Parallel Studio XE which includes the iFort compiler and Microsoft Visual Studio. During the install

Visual Studio update - 'could not load type' error editing tt file

I updated to VS2019 v16.10 and since then, I get an error every time I type into my tt file (reversePoco). From reading what little I can find, it may be relat