How to connect different Azure Id with Visual Studio 2022 Id
Is it possible to connect a personal Azure account and a company Azure account ?? ( For Test Purpose ) If so, how can this be done? Thank you.
VS Enterprise Containerized a Function App with Azure Function Template
Hi, I created a simple Function App (FuncTest3) in Visual Studio Enterprise 2022 using the Azure Function Template: It created Function1.cs using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using…
How to target .NET Framework 4.0 in VS 2022 on Windows 11?
Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …
Will Visual Studio upgrade project files accordingly?
I may have an old .NET Framework app dumped into my lap. I've been looking at it for a while, to try and wrap my head around it. It's got 18 projects in the solution file, comprised of 5 different .NET Frameworks. Everything from .NET Framework 2, to…
How to make .NET SDK 8.0 show up in Visual Studio 2022 (17.9.6)?
I'm running Visual Studio 2022 (17.9.6) on Windows 11 and have .NET SDK 8.0 installed, but Visual Studio does not list it: It is installed, see below: I had Visual Studio 2022 (17.7) installed. Then installed .NET SDK 8 and upgraded VS to 17.9.6. It…
How do I add an MVC template to my web app project?
Hi, what is the best way to add an MVC template within a web application? Can I do this, or can I do something better? Thx for any suggestions or advice
How to fix Invalid value ''' for RazorLangVersion. Valid values include 'Latest' or a valid version in range 1.0 to 8.0.
Im getting below CSC error while building a solution. I recently installed a new VS latest 2022 version. Same solution was working previously as expected. Error message - Severity Code Description Project File Line Suppression…
I can not find the controls in the toolbox
I installed new components and vs 2022 community display message that all controls were installed but when I start new windows forms and open the form I dont see the components installed also if I select "show all" I see them as grayed What is…
Visual studio download not starting
Whenever I try to download Microsoft Visual Code it redirects me to the download page but the download does not start. I am using a VPN using the StealthVPN protocol and it won't start even when I turn the VPN off. I am also using Firefox.
how to fix this?
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference.…
Calendar booking using datagridview
Good day everyone, I make a calendar booking using datagridview. Please take a look the image below. as you can see they have Book start and Book end. Now I want to put a color from date start to date end. Please take a look the image below. I don't…
How to block access to "Settings" and adding extensions in Visual Studio Code?
How to block access to "Settings" and adding extensions in Visual Studio Code? The program is used by many users on one workstation
Class library dll throwing exception Could not load file or assembly 'Microsoft.Data.SqlClient, Version=5.0.0.0 but it reference version 5.2.0
I have created Class Library using Visual Studio 2022 community v 17.9.6 TragetFramework 8 project file <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup>.0 <TargetFramework>net8.0</TargetFramework> …
Updating the license for WinRT apps in VS 2013
For VS 2013 Community, it is no longer possible to update the license to run WinRT apps. I was able to successfully update the developer license for VS 2013 a few days ago, but I can no longer run WinRT apps. I get error 0x80245004 when VS tries to…
Debug profile does not exist - How to get it?
I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…
Is there a Phone Link API?
I am building a program that needs to accept text messages but I can't find a Phone Link API anywhere. Can you help?
How to get a ODBC 32-bit DB2 driver to Run in VS 2022
I am running VS 2022 and have a 32-bit ODBC DB2 Driver setup on my local environment. When I try to debug through my code and it tries to connect to the ODBC connection I am getting the following error: ERROR [IM014] [Microsoft][ODBC Driver Manager]…
How to fix Microsoft.VisualCpp.Redlist.14 on windows 10?
I was trying to install the visual studio 2022 Enterprise edition. During the installation of Microsoft.VisualCpp.Redlist.14 I got the following error multiple time. I do have a look on the previous questions on the same issue and did not find any…
Can I disable spell checking in VS 2022 for a specific file only?
I have test code that uses a lot of specific JSON and HTML properties, and the VS spell checker has a field day. However, I do not want to ignore all these words across my project, only in this file. Example (VB.NET): New JProperty("id_token",…
I'm using unity. after I imported an asset from unity asset store, VS gives me this error
I started to get this error after I imported a asset from unity asset store. FangAutoTile is a class that's included in the store. The errors disappear after I quit VS and log back in. But's it's annoying to see the error each time I develop. any one…