6,189 questions with Visual Studio-related tags

Sort by: Updated
0 answers

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.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,122 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,179 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
edited the question 2024-05-02T08:33:46.5233333+00:00
KHSong 0 Reputation points
0 answers

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…

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,287 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-05-02T08:09:24.2733333+00:00
Allan Au 20 Reputation points
edited the question 2024-05-02T08:10:03.9766667+00:00
Allan Au 20 Reputation points
6 answers

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. …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,268 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,122 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,195 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 136 Reputation points
edited a comment 2024-05-02T07:39:18.2866667+00:00
Fabrizio Cioni 0 Reputation points
2 answers

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,122 questions
asked 2024-04-29T20:26:12.4766667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-02T07:25:10.81+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-05-01T15:51:47.7866667+00:00
Bert Roos 0 Reputation points
edited a comment 2024-05-02T07:09:47.6733333+00:00
Bert Roos 0 Reputation points
1 answer

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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
969 questions
asked 2024-05-01T22:13:45.8266667+00:00
iqworks Information Quality Works 216 Reputation points
edited an answer 2024-05-02T06:48:44.25+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-10T07:37:04.29+00:00
Rohan Patil 0 Reputation points
commented 2024-05-02T06:44:12.67+00:00
Rohan Patil 0 Reputation points
1 answer

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
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-26T19:33:44.52+00:00
Jowei semin 0 Reputation points
commented 2024-05-02T04:51:05.44+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
0 answers

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.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
969 questions
asked 2024-05-01T11:42:28.09+00:00
luka talevski 0 Reputation points
commented 2024-05-02T03:26:48.3833333+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
1 answer

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.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,122 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
93 questions
asked 2024-05-01T10:26:25.1133333+00:00
XareXD 0 Reputation points
answered 2024-05-02T03:05:07.5133333+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
2 answers

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,268 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
969 questions
asked 2024-04-21T12:46:33.5133333+00:00
Jay-R Hayashi 206 Reputation points
edited a comment 2024-05-01T14:43:30.4533333+00:00
Jay-R Hayashi 206 Reputation points
1 answer One of the answers was accepted by the question author.

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

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
173 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
969 questions
asked 2024-05-01T08:15:53.5966667+00:00
Jarek1020 0 Reputation points
accepted 2024-05-01T14:42:28.4866667+00:00
Jarek1020 0 Reputation points
1 answer

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> …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-29T20:35:54.9266667+00:00
Moshe Yalovsky 0 Reputation points
commented 2024-05-01T13:57:18.31+00:00
Moshe Yalovsky 0 Reputation points
0 answers

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
969 questions
asked 2024-03-27T11:33:55.0066667+00:00
Heiko 1,211 Reputation points
commented 2024-05-01T12:38:50.6833333+00:00
Дмитрий 1 Reputation point
2 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,831 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
asked 2022-02-24T22:16:47.297+00:00
Justin Cooley 6 Reputation points
commented 2024-05-01T11:40:49.7966667+00:00
abofazl jalil 0 Reputation points
1 answer

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?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2023-06-24T22:12:14.02+00:00
Miklós Rábai 15 Reputation points
edited an answer 2024-05-01T10:59:12.63+00:00
Gowtham CP 0 Reputation points
1 answer

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]…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
asked 2024-04-17T19:14:40.3+00:00
Jason P 0 Reputation points
commented 2024-05-01T05:44:57.2833333+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-30T14:38:32.9033333+00:00
Amit Kumar 0 Reputation points
answered 2024-05-01T03:14:39.3233333+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
1 answer

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",…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-03T06:45:35.4233333+00:00
Brent Hollett 5 Reputation points
commented 2024-05-01T02:10:04.97+00:00
Brent Hollett 5 Reputation points
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,618 questions
asked 2024-04-30T02:09:19.9666667+00:00
wentao 0 Reputation points
answered 2024-05-01T01:32:00.0566667+00:00
Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor