Category "visual-studio"

Why my program in blazor run so slow in my IDE?

I'm using blazor - components blazor, and visual studio community like IDE. And my program is so slow to run and build. Is normal?

My "Attach to Unity" button replaced by "Start" in my Unity project using VS

I'm pretty sure that this must be easy for someone that have experience with VS and Unity, but I couldn't find a solution on Google. I probably typed some short

What is the right macro for platform?

I'm trying to write a pre-build event script that must be able to adapt the the build platform (Windows / Mac / Azure DevOps image) in my case. So far I have fo

C2039 and C2873 when including `<cctype>` from the STL

I'm trying to compile a project with msvc 2019 compilers that I know has been compiled before. In fact, I'm actually updating the build system for it. I've come

error : The imported project was not found. Confirm that the expression in the Import declaration is correct, and that the file exists on disk

BUILD ERROR: When I load the solution file in Visual Studio, it says file failed to load. The full error says: C:\path\to\project.csproj : error : The imported

How to view bytes as char in Watch window (Visual Studio 2017)?

Is it possible to view a byte(s) during debugging as char when it is added to the watch list? There is an option to view as hexadecimal but none for char.

Unbind/unsynchronized scrolling in source control compare function

In compare option inside the source control, the scrolling is bind together for both files. I want to scroll just one of the sides while the other stay pinned a

"Illegal characters in path" while cloning with git from Visual Studio 2017

On Visual Studio 2017, I can not clone a repository with git. I'm having this error message: The repository url is good and the destination folder is also fi

Visual Studio's "go to definition" goes to a wrong function/line?

So this happened after my project got to around 6-7k lines of codes, for some reason go to definition goes to a wrong line for some of the functions, mostly old

strdupa() implementation for Visual C

I am trying to port a C (not C++) program from GCC to Visual Studio. The GCC specific function strdupa() is widely used in this program. Is there any way to imp

Where is the Class Library for .Net Core template in Visual Studio Community 2022 or Visual Studio Community 2022 Preview?

As the title asks, I can't seem to find this template. Help please. TIA

How to disable git for some project and other project not disable git in Visual Studio Code?

some project i don't want use git monitoring , but in other project i want to keep use git monitoring , i use setting "git.enabled": false, "git.path": null, "

Publishing WPF application fails du to unauthorized .NuGet service index (Azure DevOps)

I want to publish one of my WPF applications (to a folder). The app needs some NuGet packages that I published via Azure Devops. I signed in with Visual Studio

Importing exported project templates in Visual studio does not restore packages

I created an project template according to microsofts docs. The project itself requires 3 packages that I installed from Nuget. However upon importing the proje

Why does my visual studio closes automatically without any errors

it is the latest version of visual studio pro 2019 and there is new folder on my desktop named .vs and the desktop folder contains a folder named v16 and it c

How to compile Less/Sass files in Visual Studio 2017+

In VS <= 2015 we can use a WebEssentials extension that takes care for compiling the less/sass files for us, but currently it does not support VS 2017. Is th

Install .NuPKG on VS 2017

I have seen 4+ different answers, some of which say "But doesn't work on VS 2017" (which I have). Sshould be straightforwad, but nothing is. I have FluentFTP.N

Typescript error "Cannot write file ... because it would overwrite input file."

In my Typescript 2.2.1 project in Visual Studio 2015 Update 3, I am getting hundreds of errors in the error list like: Cannot write file 'C:/{{my-project}}/

Execution failed for task ':app:signReleaseBundle'

I have this error at the moment to make flutter build appbundle this is the error: FAILURE: Build failed with an exception. * What went wrong: Execution failed

Programmatically get the list of the ribbons using VSTO add-in

I have created a C# VSTO add-in with Visual Studio 2019 that receives commands from a socket connection and it can insert text, modify buttons only in my ribbon