Questions tagged [visual-studio-2022]
Visual Studio 2022 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.
visual-studio-2022
4,344
questions
0
votes
0
answers
12
views
Which command can I use to open Visual Studio from command line and start building solution in x64-Release
I found the following command-line in order to open the visual studio and start building it.
However, I could not find how to specify the configuration and platform.
devenv YourSolution.sln /command &...
0
votes
0
answers
39
views
ASP.NET Framework : Error copying packageSeverity code description project file line suppression state
I have my ASP.NET on .NET 4.8 Soap service .asmx in this folder in Visual Studio 2022:
C:\Trustedpath\all_Projects\MyProject\MySoapService
It builds, but when I tried to publish, I got this error:
...
0
votes
0
answers
30
views
BAPI registration in .NET project
We have an application developed in .NET 4.7 with SAP ECC 6.0 integrated via BAPI. There are 10 BAPIs to be called from this Web Application, out of which 8 are successfully registered using "add ...
0
votes
0
answers
19
views
How to rename Wix MSI file to include version in VS2022 Post build event
I am currently working on a Wix Setup Project for a .Net 8 desktop application.
I am using VS 2022 and running the Heatwave extension and Wix 5.x.
I want to somehow rename the built msi file to ...
0
votes
0
answers
15
views
How do I creat a dot net project template when when used within VS 2022 creates the project under a specific directory structure under the solution?
I want to create a .NET project template when it is used within Visual Studio 2022 to create a solution and project at the same time.
My solution will be in the root folder. I want the project to be ...
0
votes
1
answer
18
views
Unable to open Sql Database project in VS 2022 or 2019
I have VS.Net solution in which multiple projects are there, which all are opening fine, but the SQL Project where we have SQL Files is not opening, if I am trying to open it in VS 2022, it is giving ...
0
votes
1
answer
39
views
How to rename projectname.exe.config file to userdefined?
I have got a project in Visual Studio 2022 using C#. It uses an external library I included to that project. Now I want all dlls to be in a separate folder, so I need the projectname.exe.config file.
...
0
votes
1
answer
80
views
Create iOS distribution certificate is greyed out in Visual Studio 2022
I have Visual Studio 2022 and a MAUI application I have developed.
I need to distribute it now, so I enrolled in the apple developer program as an organization.
When I try to create a certificate ...
1
vote
1
answer
86
views
MFC Application exit code always 20
Taking a default MFC based single dialog appplication, I'm trying to prevent the default behaviour where the Escape or Enter key will cause the dialog to close.
However whilst I'm able to acheive this,...
1
vote
1
answer
38
views
VS2022 ignores new component added into the project
Using VS2022 v 17.10.4 When I add a new component into the project , VS ignores its existence. I have to close VS, delete the obj and the bin folders, reopen VS, clear and rebuild the solution and it ...
0
votes
0
answers
46
views
Compilation error as "fatal error C1012: unmatched parenthesis: missing ')'" while building my C application on VS2022 [closed]
The part of my code as :
#if (OS_HOST == OS_TRUE)
#define INCLUDE_OS_TASK_POOLING OS_TRUE /* set to OS_TRUE to enable the task pooling in Host. */
#else ...
-1
votes
2
answers
57
views
Add space after specified data using regular expression in Visual Studio
As we all know, Visual Studio has very powerful text editing functions. Now there are hundreds of thousands of data in my txt file. I made a wrong operation, which caused some problems with the data.
...
0
votes
0
answers
14
views
"IdentityServicePackage" Visual Studio 2022 keeps crashing after display the message couldn't load "IdentityServicePackage"
When I launch VS 2022, it displays the following two message shown on the screen shots below, then displays the initial VS screen for a couple of seconds, then crashes. I am including the activitylog....
0
votes
0
answers
39
views
Visual Studio 2022 : dataset with new tableadapters are not listed in datagridviews
Project in C#, Winforms .NET framework 4.8.
I take a dataset with 4 table adapters, delete 2, added 4, now I have 6.
So, when I came to desired form, and try to relation a datagridview with a table ...
0
votes
0
answers
27
views
Visual studio save option becomes disabled
I'm using Visual Studio Community 2022 (17.9.96)
I've noticed a strange issue, sometimes I create a new class and start working on it, saving as I go along (using ctrl+s)
At some point ctrl+s stops ...