Questions tagged [visual-studio]

Use this tag if you have a specific question about Visual Studio features and functionality. DO NOT use this tag on questions regarding code which merely happened to be written in Visual Studio. Consider tagging the exact technology area your question links to and also tagging a more specific version of Visual Studio. Please mention your exact VS version, edition, and update level in your question. DO NOT use this tag on questions regarding VS Code.

Filter by
Sorted by
Tagged with
0 votes
1 answer
71 views

How does Visual Studio picks up the current framework?

I started with a net6.0 project. And decided to provide netstandard2.0 as internal nuget output for the older supported builds. Replaced <TargetFramework>net6.0</TargetFramework> with <...
T.S.'s user avatar
  • 18.4k
0 votes
0 answers
14 views

Using Postman, how do I call a .NET AWS SAM Lambda function that's running locally in the Mock Test Tool?

I have a .NET 6 Visual Studio 2022 AWS Serverless application (SAM) running on my local machine via the Mock Lambda Test Tool. I built it using the AWS Toolkit and Powertools for AWS Lambda (.NET). ...
CB_at_Swivel's user avatar
0 votes
0 answers
14 views

How to fix positioning of windows which keep moving?

Using the debugger in Visual Studio, the "Breakpoints" window automatically appears at the bottom of the screen: So I drag and move the window to be alongside of the other windows, such as &...
Stewart's user avatar
  • 17.8k
0 votes
0 answers
48 views

Intellisense and navigation to references and definitions not working in VS2022

WARNING: I have posted this on Reddit a few weeks ago but never got a response. I have obtained a large .NET solution from a third-party, and I'm having the following issues with it: Right click > ...
user32882's user avatar
  • 5,256
-1 votes
0 answers
6 views

How do I get data files copied to build folder during compilation on Mac?

I created a very simple new project in Visual Studio for Mac. I want either those JSON files or the data folder to be copied into my build output dir (/Users/MrBoy/Projects/FBJSON/FBJSON/bin/Debug/...
Mr. Boy's user avatar
  • 61.4k
0 votes
1 answer
14 views

How can i open an apk app with android studion and modify it

I have an androidp app ans i need to modify it, how can i have the source code from apk file and open it with android studio for modification. thank's a lot
Samir ZAABLI's user avatar
0 votes
0 answers
21 views

Got socket error trying to find package adaptive_dialog at https://pub.dev. exit code 69

every time I add a new package this happens enter image description here then it takes a long time to load then this appears enter image description here and the package does not work, I searched for ...
Ahmed Mahmoud's user avatar
1 vote
1 answer
58 views

ASP.Net Core Identity disable/remove Register and Manage

I created an ASP.Net Core project using Identity and Entity framework core. I only added Login and Logout but for some reason the Account/Register and Account/Manage views and controllers work even ...
Richard's user avatar
  • 11
0 votes
0 answers
13 views

How to assign a shortcut to an arrow key in Visual Studio?

I want to assign Ctrl+Alt+<Arrow Left> as the keyboard shortcut for View.NavigateBackward in Visual Studio 2022, because I am used to this from VS Code. However, the "Press shortcut keys&...
Finni's user avatar
  • 478
-4 votes
0 answers
16 views

Unresolved external symbol functions(MPI_Init, MPI_Comm_size, MPI_Comm_rank, MPI_Finalize) [duplicate]

I tried to run a simple Hello world project using MPI in Visual studio. I downloaded the Microsoft MPI v10.0 and updated additional directories, dependencies and libraries. The header #include <mpi....
Anon's user avatar
  • 1
0 votes
1 answer
36 views

TFS 2013 - Missing permission "View collection-level information"

I'm administrator of a project in TFS 2013. I was trying to change permissions on different group from the web interface and for a mistake I changed the following permission on my group: View ...
Rob None's user avatar
  • 489
0 votes
0 answers
10 views

Updating visual studio 2019 professional Rc to specific version rather than latest version

I want to update visual studio 2019 professional Rc 16.7 to 16.8.3 to run asp.net core 5. Every time I try to update using visual studio installer, I get the latest version and when I download the ...
Sandar's user avatar
  • 11
0 votes
1 answer
36 views

How to make your app create a shortcut in the startup folder on install Visual Studio 2022

I am struggling to find guides or explanations online on how to make a shortcut for my app to appear in the startup folder upon the installation of the app. I am using Visual Studio 2022 and the app ...
Daniel Heikkilä's user avatar
0 votes
0 answers
28 views

Using Classic editor with visual studio 2019 and Windows 2019

##[error]The nuget command failed with exit code(1) and error(C:\McoAgent_work_tool\dotnet\sdk\5.0.408\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(141,5): error ...
Darshan C's user avatar
0 votes
0 answers
23 views

Code signing ClickOnce manifest vs assembly, for a solution deployed by Windows Installer. Which one do I need, and how?

I have code-signed my Visual Studio project's "ClickOnce manifest" using a provided USB token certificate. However in the same tab there is also an option to "Sign the assembly". ...
Indigo121's user avatar
0 votes
1 answer
14 views

What does the exclamation mark in a visual studios project dependencies mean?

In my Visual Studio solution, i have a project, where und 'Dependencies', a brownish (dark yellow?) exclamation mark symbol is shown. I cannot find any information regarding it's meaning. What does it ...
Thomas Woelfer's user avatar
2 votes
1 answer
36 views

"This solution contains packages with vulnerabilities" - How do I determine which packages contains vulnerabilities?

Visual Studio shows me the following warning when I open the solution explorer: But when I click the 'Manage NuGet Packages' link and scroll through the nuget packages, I can't see any indication of ...
FluffyBike's user avatar
0 votes
1 answer
21 views

Visual Studio: "Unable to find symbol file" in CPU Usage window when debugging project

In Visual Studio when I run CPU profiling via Diagnostic Tools -> CPU Usage -> Start CPU Profiling and click on a function of the project I’m trying to debug in the “Call Tree” view, it states: “...
TheJanzap's user avatar
1 vote
0 answers
45 views

How to perform memory usage analysis of a C# application on a remote computer?

As mentioned in Question about figures in C# dump heap analysis, my C# application is taking more and more memory (±100Mb per day) on customer premises. Taking a dump give me the information that only ...
Dominique's user avatar
  • 16.3k
0 votes
0 answers
17 views

VS22 does not know C# 12 features [duplicate]

If I use C# 12 features in Visual Studio 22, it is marked as error in the code, but there is no error shown in the error list (see screenshot). I use VS22 17.8.2, I installed .NET 8
trophi20's user avatar
0 votes
0 answers
45 views

If block executes when it shouldn't according to debugger [closed]

I have some functions related to A* algorithm in my Unity project, and a specific block of if condition is executing when it shouldn't: What is causing this? List<FloatCell> GetNeighbors(...
Alexiy's user avatar
  • 1,992
0 votes
0 answers
25 views

In visual studio experimental instance I need to remove keyboard shortcut for "Cut" and "Delete" in Solution Explorer

I am trying to remove keyboard shortcut for CUT and Delete in experimental instance for Solution Explorer. The below code is working globally (For entire visual studio its restricting). I need to ...
Meghana Mekala's user avatar
0 votes
1 answer
35 views

Visual Studio Django - Freezes on python manage.py createsuperuser

So, I'm new to Django and am using Visual Studio 2022 with Python 3.12 (which is apparently not fully supported by Visual Studio). When I start a fresh Django web app project, it prompts for me to ...
dune_buggy's user avatar
1 vote
1 answer
29 views

Is there an alternative Visual Studio keyboard shortcut for ToggleHeaderCodeFile which works for jumping to a C++ module interface file?

When working with header files and cpp files I am usually jumping around the code by using the Visual Studio shortcut EditorContextMenus.CodeWindow.ToggleHeaderCodeFile, however this doesn't seem to ...
Matthew Loveday's user avatar
0 votes
0 answers
19 views

VS Code debugger not working (by using launch.json) for a django project

I am having trouble using the debugger in VS code. This is my first time using VS code and I'm following a Django tutorial from VS code (https://code.visualstudio.com/docs/python/tutorial-django). By ...
Koen's user avatar
  • 1
-3 votes
0 answers
19 views

How to solve the issue related with shut down problem? [closed]

Theia Web cloud service is problematic. It gives 404 shut down. I need to use that. But the page which my session on (its uniquely defined with user number on https) it closes itself within a really ...
Mande de su ka 's user avatar
0 votes
0 answers
16 views

Visual Studio 2022/XLL SDK issue – debugger looking for exe file instead of xll

I have used the latest (2013) Excel XLL SDK and VS 2022 Community version to successfully build and run the 64-bit sample Generic.XLL. An XLL is a C-language DLL with additional code for Excel add-in ...
David Novak's user avatar
0 votes
0 answers
16 views

Unable to GIT PUSH due to LFS issue

I'm trying to push my changes to the remote repository but GIT keeps telling me there is a large file (even after I add it to LFS). Why is this not working? I added the large file using git lfs track ...
Ray's user avatar
  • 4,749
0 votes
0 answers
13 views

problem with rdlc in visual studio community 2022

I have a problem when opening an rdlc file in visual studio community 2022, it opens only text, but it does not open the report. The report open in other PC in the school, but I have downloaded the ...
HaskyDev's user avatar
0 votes
0 answers
8 views

How to use docstrings or similar in Visual Studio Python developement

I have a Python Project and unfortunately I have to do it in Visual Studio 2022. How do I create good documentation? Are there any external tools like for doxygen? docstrings seem good, but I hope ...
mstranne's user avatar
4 votes
1 answer
99 views

Initializer is not a constant only with certain functions

If I try compile the following and I have /O2 optimisation on, then it doesn't compile: #include <math.h> double myfunc(double arg) { return 5.4; }; double (*f[])(double) = { myfunc, ...
Zebrafish's user avatar
  • 12.1k
0 votes
0 answers
18 views

add new Components to the installed VS Pro 2022

I have installed VS Pro 2022 on my machine successfully. Now I need to add some new components to my VS Pro 2022. The machine does not have Internet access. But I have the complete installation files ...
PerserPolis's user avatar
0 votes
0 answers
31 views

Is it possible to invoke an HTML language service within a string in c# and visual studio?

I'm trying to write a component that returns HTML, something like this: interface IComponent { string Render(); } public class MyComponent : IComponent { public string Render() { ...
Joshua Frank's user avatar
  • 13.2k
0 votes
1 answer
20 views

Git commit vsidx file access denied in Visual Studio

I've recently updated Visual Studio to 17.8 and since then I can no longer do a Git commit. The error it displays at the top of the Git panel is: Git failed with a fatal error error: open (".........
James's user avatar
  • 43
0 votes
0 answers
45 views

IntelliSense engine crashed for file with ranges

Visual Studio 2022 (recent version, 17.7.7) IntelliSense crashes with the code below. Steps to reproduce Copy/paste the code to the IDE Change the code, for example uncomment std::vector<int> ...
Damir Tenishev's user avatar
0 votes
1 answer
23 views

Unable to add stored procedures to EDMX file in VS 2022

I am wondering if anyone can recommend a possible solution or something I have not tried to help me solve the following problem. Issue: I am unable to add stored procedures to a EDMX file using the ...
fox909a's user avatar
  • 101
0 votes
0 answers
14 views

error when upload app in google console play. "We found an issue in the following area(s): Hi-res icon"

When I upload the application on the google play console, I get an error message like the following image.
lukman azhari's user avatar
0 votes
0 answers
24 views

I cannot find gRPC after I installed grpc using vcpkg

You can i installed grpc successfully, the hint shows: # this is heuristically generated, and may not be correct find_package(gRPC CONFIG REQUIRED) but when i add it to CMakeLists.txt, error occurs: ...
ozxdno's user avatar
  • 1
1 vote
0 answers
52 views

What is .NET target platform in Visual Studio

In this question, it is discussed the difference between platform targeting in Visual Studio, I recently found that a .NET option was added there and these lines along others were added in the sln ...
user10191234's user avatar
0 votes
1 answer
25 views

Using Visual Studio, how do I compare two git commits while leaving some in between out?

Since we are currently modernizing the code base of a very old Visual Basic style WinForms C# application we add checkins like "Cosmetics" in order to keep those things away from real ...
IngoB's user avatar
  • 2,602
-1 votes
0 answers
44 views

Hotel Reservation System in C# and unityhub issues? [closed]

I have developed hotel reservation system in c# and visual studio for semester project. But the requirements is to use unityHub. The question is it possible to develop or run a visual studio c# ...
Magento2-learner's user avatar
0 votes
0 answers
12 views

Visual Studio Copilot is not Providing Suggestions

I cannot find a way to get Copilot to write suggestions. I've followed all setup instructions per the referenced documentation, uninstalled, reinstalled, verified compatibility, account linked, etc., ...
sffc's user avatar
  • 51
0 votes
0 answers
11 views

How to open js file as content file in NuGet package

I made a package of an empty class library project in visual studio. there is a folder at the root directory named "js" which contains js files with build action "Content" as well ...
Philippe Vermeulen's user avatar
-1 votes
0 answers
50 views

Single event for multiple ComboBoxes [duplicate]

I'm using Visual Studio 2022, a Windows Forms (.NET) application, and I have 16 ComboBoxes with a dropdown style, so only one numeric value can be independently selected for each one. It doesn't ...
Tichomír Duchaplný's user avatar
0 votes
0 answers
9 views

::Deep with SASS + VS 2022 + Blazor = Only Allowed in filenames ending with .razor.css or cshtml.cs Warning

I am using sass with my blazor application and using "DartSassBuilder" so I have something like this Add.razor Add.razor.scss Add.razor.css Now in my "scss" file I have ::...
chobo2's user avatar
  • 83.7k
0 votes
0 answers
7 views

Visual Studio Installer Project prevent prerequisites from automatically rebooting

We have an installer built with Visual Studio Installer Project. Occasionally running it will cause the computer to reboot with no prompt or warning. It appears that if it detects Windows needs to ...
Koops128's user avatar
  • 127
-2 votes
0 answers
22 views

How to fix error with SQL Server connection (trusted certificate) [duplicate]

Today I tried to make a new connection to a new database, but I get an error. I am using Visual Studio 17.8.1. error when I try to create a connection If I however check the checkbox for Trust Server ...
Florentina's user avatar
0 votes
0 answers
18 views

Error when debugging .NET 6 project in Visual Studio on MacOS with Entity Framework Core

I'm encountering an issue while debugging my .NET 6 project in Visual Studio on MacOS. The project uses Entity Framework Core, and the following line of code is causing an error only when debugging in ...
Amirhosein Rajabi's user avatar
0 votes
1 answer
54 views

VS 2022 keep refering to old code of class library even after changing code

I have a solution with multiple projects inside. The first is a class library, the others are the console application and a unit test project. The problem is the first time I ran the console app or ...
supnep's user avatar
  • 49
0 votes
1 answer
59 views

How to create TIMER in a Windows Service (C#) that waits the main method ends

experts! I'm developing a Windows Service in C#. My problem is my service restarting the timer before the previous operation ends. For example: timer.Interval = 60000; timer.Elapsed += new ...
Thiago Moura's user avatar

1
2 3 4 5
2289