Category "visual-studio"

Nuget connection attempt failed "Unable to load the service index for source"

While trying to connect to Nuget, I'm getting the error below, and then I am unable to connect: [nuget.org] Unable to load the service index for source https:/

How do I change the font size of Solution Explorer (in Visual Studio)

How do I change the font size used in Solution Explorer? The default font size is too small for me.

node.js not found (but installed) when compiling the default angular project in Visual Studio 2019

I've created in Visual Studio 2019 a default Angular project with .NET Core 3.0. When I build the project and run it, I obtain the following error: error : No

Receiving access denied error from Visual Studio when trying to change target framework

The error reads, TargetFrameworkMoniker: An error occurred saving the project file 'yadayada.csproj'. Access is denied. I'm trying to switch from .net 3

Remove unnecessary usings with dotnet format

We have dotnet format to apply formatting to csproj or even sln file for the entire solution. I can do that using Visual Studio 2022 Quick Action Light Bulb fea

Visual C++ 2022, Microsoft Store and MSIX manifest question

Hi! Would someone answer my question, please? I have a Visual C++ application linked against C++ DLL Runtime. It is converted to Microsoft Store app by MSIX Pac

How can I change the keyboard shortcuts in Visual Studio?

I would like to change the keyboard shortcut for quick fix in Visual Studio 2013, so that it matches the ReSharper equivalent (which I only use on my office mac

How to use JetbrainsMono font in Microsoft Visual Studio 2019

is there any way I can install Jetbrains Monospace font in Microsoft Visual Studio 2019? Because Visual studio doesn't show the font in the list if available fo

Form view designer is not working in Visual Studio 2019 with C# .NET Core 3.1 [duplicate]

When I am opening a Visual Studio project with VB.NET then the Form view designer is automatically opened, but when I open a new project

How to fix Visual Studio co_await error / squiggle?

I get red squiggles and the error E1776: function "winrt::impl::notify_awaiter<T>::notify_awaiter(const winrt::impl::notify_awaiter<winrt::Windows::Fo

'Could not find file ... bin\roslyn\csc.exe' [duplicate]

In Visual Studio 2017, when hitting Ctrl+F5 to run my ASP.NET Framework Web API server, I get: Could not find file ... bin\roslyn\csc.exe:

POST form data using WinInet c++

I'm trying to make this program connect to a website and submit form data in order to login, but I don't know what I'm doing wrong. I have heard of others like

Unable to start process dotnet.exe

I am attempting to setup a new work space and transfer all of my projects from my old computer to the new one. However, I am getting this error when I try to r

How to add project reference to ASP.NET Core 1.0 MVC project

I have a ASP.NET Core 1.0 MVC app in solution X and I have some common projects (.net 4.5.2 class libs) in solution Y. I want to reference the projects in solu

How to find a keyword in a visual studio project

I am looking at an old project one of my colleagues wrote in AngularJS in Visual Studio and as we all know, it's pretty difficult to understand code when you're

Visual Studio 2019 Exception at Run (Exception from HRESULT: 0x80070490)

I face an error when I run VS2019 (Professional). After loading the solution a message appears at the top of the window and it says Visual Studio ran into an un

Changing the default icon in a Windows Forms application

I need to change the icon in the application I am working on. But simply browsing for other icons from the project property tab -> Application -> Icon, it

Visual Studio 2022 quick action from constructor parameter to auto field creation not adding space

In VS 2022, when I press Ctrl + . on a constructor parameter and select "Create and assign field/property", the resulting code is missing spaces around the assi

Why does my extension's menu item not appear?

I am building my first VS extension, to allow users to encrypt/decrypt the mailSettings/smtp section of web.config. I wish to add a menu item that has 2 sub-i

Visual Studio - suddenly cannot debug tests

I'm not sure what I did, but all of a sudden, my Visual Studio 2012 will not debug any tests. If I select a test from the Test Explorer and tell it to run, it