Category "visual-studio"

msbuild with vcpkg uses different triplet from Visual Studio for x86, but works for x64

I have a library project for both x64 and x86. Within Visual Studio I can build both x64 and x86. When I use msbuild, the x64 builds with the correct triplet b

How WorkItem and Changeset needs to be related to show WorkItem in CodeLens

in our company we use some ticket system instead of workitems. I saw that Codelens in Visual Studio can show workitem, codereview or bugs. I tried to create cha

How to decode unicode characters when using ReadAllText?

Right now I'm trying to add ASCII art to my console project using these symbols: ┌─┬┐ ╔═╦╗ ╓─╥

How to use single Resharper setting file by multiple users

I am looking for a way to create a single Resharper setting file and share it with my team members, and if in the future I want to make a change in that file th

Project currently contains references to more than one version

I am getting the following error. I tried to add references but I was unable to find a System.Web.Http in it. Please advice how to resolve this issue? The proj

Microsoft Visual Studio stuck in debugging mode

Whenever I run my code I am given an error messaging (error msg below) saying It is stuck in debug mode, and the console does not give me a string message for t

Bug in Microsoft x64 compiler for signed/unsigned mismatch warnings?

Consider this piece of code: #include <iostream> #include <vector> #include <cstdint> int main() { std::vector<int> a{ 10, 11, 12, 13

Xamarin.Forms : Error running program in debug mode after reinstalling Visual Studio 2019 v 16.11.11 preview 1.0

I had to reinstall Visual Studio 2019 after a Windows 10 crash. My program was developed under VS 2019 16.9.3, and the reinstalled version is 16.11.11 preview 1

Visual Studio does not recognize a referenced assembly?

Opened an old project from years ago. Build fails because Visual Studio (2019) does not recognize an assembly that is clearly there - specifically, Autofac. You

Is there any software where we can see the content of a register when writing an assembly language program? [duplicate]

I'm learning assembly language but whenever I want to find an error in my code it becomes difficult.

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

Character is not able to move by using (A , S , D) in unity

Today I watched an video on how to make movement in youtube (https://www.youtube.com/watch?v=bzheMJQVtBI) but the movement occur only when I press W key or chan

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

Is there any way to control optimization of a template function in visual studio c++ 2017

I tried using #pragma optimize("", off) to selectively disable optimizations for the a() function. This does not work. Is there any way to control optimization

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

Blocked in work with VS 2022 .NET Core 6: "Could not load file or assembly 'Microsoft.DataAI.NuGetRecommender.Contracts"

I can not use NuGet Package Manager because in the package browse window I got the Error occurred message. Clicking "Show errors in output" gives: Could not lo

Icons resources dont work in small and list sizes

Have created project on c++ in Visual Studio. Have added resources.rc + .ico file, that have next positions: 32 bits: 64x64, 48x48, 40x40, 32x32,24x24, 20x20, 1

NavMeshAgent in unity doesn't bake (Doesn't turn blue)

I made a few surfaces and a few agents, then when I wanted to make a couple more the old navs and new ones just stopped working it says it only works if you pla

Visual Studio Resource Editor corrupts rc files with UTF-8 encoding

Visual Studio 2019 and 2022 Resource Editor is able to correctly read and display .rc file in UTF-8 encoding if .rc file is saved without UTF-8 BOM. The main re

Different results resharper in VS and resharper CLT

My respects. Colleagues, the subject has been raised, but no answer has been found. The results of the error check using VisualStudio 2022 plugin resharper vers