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.
visual-studio
115,665
questions
0
votes
0
answers
11
views
C++ - Questions about bit shift operators (<< and >>)
Consider the below code:
std::string g_CharTable = "stjkloptrew23456mncv891TZUIOPAS";
std::uint32_t value = 123456789
std::string hash;
for (std::size_t i = 0; i < 5; ++i)
{
...
0
votes
0
answers
16
views
Three types of errors occuring when deploying a SSIS package through Azure DevOps
So I have come across one of the most annoying errors of my life, and ones that seem to be indescribable, as there is no explanation for these types of errors for the package i am deploying.
I have a ...
-4
votes
1
answer
18
views
Are there good free analogs of Visual Assits for Visual C++? [closed]
I use Visual Studio 2022 Community.
Please advise. But it should be a FREE tool, not a crack :-)
-1
votes
0
answers
33
views
Checking rvalue insert result for std::map gives unexpected results
Test code snippet below (CHECK is macro from test framework and works fine):
typedef std::map<int, double> M;
typedef M::value_type VT;
const VT v0;
M mm;
CHECK(mm.begin() == mm.insert(v0)....
0
votes
0
answers
10
views
Is it possible to remote debug a Windows XP application from VS2022?
I have managed zu compile a C++ Project in VS2022 Pro for running on WindowsXP 32bit.
The VS2022 runs on Windows 11.
I used platformtoolset v141_xp and Windows SDK 7.0, since its the last version ...
-1
votes
0
answers
24
views
View method not found in controller function, not showing up in method list
I'm currently working on an ASP.NET Core project using Visual Studio, and I've encountered an issue where the View() method is not showing up in IntelliSense within one of my controller functions. ...
0
votes
0
answers
10
views
Crystal report viewer Logon Failed Please try again error
I am using the below code to generate Crystal report in Visual studio 2022 but after loading successfully facing this error:
Logon Failed. Please try again.
Code:
private void LoadReport(string ...
2
votes
1
answer
26
views
Strange Strings in HTML Code of New ASP.NET Core Razor Projects in Visual Studio 2022
I'm encountering an issue when creating new ASP.NET Core web app (Razor) projects using Visual Studio 2022 (Community Edition 17.10.4) with .NET 8.0. Without making any modifications, I see strange ...
-1
votes
0
answers
47
views
How to Target Both .NET Framework 4.8 and .NET 8.0 in a Single Project?
I have a project currently targeting .NET Framework 4.8, and I want to extend its compatibility to also target .NET 8.0. Is there a way to set up my project so that it can be built and run on both ...
0
votes
1
answer
13
views
How do you redirect a default .vscode file path?
Visual Studio is creating .vscode folder containing the extension folder, cli folder, etc. The folder is created in an inconvenient spot on my PC, and every time I move it to a new location or delete ...
-1
votes
1
answer
46
views
Can't resolve System.Windows.Control.Image from being created instead of System.Drawing.Image
I'm working on moving a C# program into a WPF application and in order to export files from records I need to use the following code:
// Construct _imgfiles from the records
string _imgfile = ...
0
votes
0
answers
33
views
Loop Splitting Decreases Performance in Intel Fortran
Compiler: Intel Fortran 2024
Operating System: Windows 11
I'm pretty new to Fortran, working on a Fortran project and found out that the loop splitting will decrease the efficiency dramatically.
For ...
0
votes
0
answers
23
views
Unable to git push from Visual Studio, command line works?
So I got a git repository set up in Visual Studio. Commits etc work fine. It's seemingly able to pull from the repository fine (no errors, at least) but cannot push. I get an error about invalid ...
-1
votes
0
answers
28
views
fixing errors in python visual studio 2022
I am trying to code a chatbot but it has the following errors:
Expected one or more symbol names after import Line:4.
Expected one or more symbol names after import Line:6.
Expected one or more symbol ...
0
votes
2
answers
49
views
How can I remove a git and github repository connection to a solution in Visual Studio 2022?
First of all, I should explain the mess I have gotten myself into in order to explain this issue. (This was a windows form application with .Net Framework version 4.7.2.) I had the idea while thinking ...