Questions tagged [visual-studio-2019]
Visual Studio 2019 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.
7,670
questions
0
votes
0
answers
14
views
SSRS Report Variable issue Visual Studio 19
I am writing an SSRS report in Visual Studio 19. When I have no variables in the query, I get all of the records that I am looking for. When I add in a variable, then enter it in the box when I ...
0
votes
0
answers
29
views
ODBC Source (connected to Oracle) in a SSIS package keeps running (without error)
I created a new SSIS package with a ODBC source (Oracle) to an OLE DB Destination (MSSQL). During the setup of the source, I could 'preview' the data, so I assume that the connection to Oracle is ok. ...
-1
votes
1
answer
31
views
VS 2019 SSIS - Unable to load a package due to error "The parameter is incorrect": CPackage::LoadFromXML fails
I am using VisualStudio 2019 with a SSIS project.
A package that I've worked on, worked OK, till suddenly I got an Error:
Microsoft Visual Studio is unable to load this document: The package failed ...
1
vote
1
answer
63
views
How to stop visual studio solution settings passing to another in a batch script call
I have two solutions:
ParentSolution.sln
ChildSolution.sln
..and they have some common projects they both reference.
In a pre-build step ParentSolution.sln calls a batch file which calls msbuild to ...
-1
votes
1
answer
91
views
std::string treated as cv::String in opencv
I've a C++20 console project in Visual Studio 19 with a Release configuration and a /MT flag.
I am explicitly specifying namespaces for types in my projects.
When I create
std::string Foo,
it ...
-1
votes
0
answers
30
views
visual studio failed to deploy unity project to HoloLens2. DEP6957: Failed to connect to device '192.168.x.x' using Universal Authentication
I just started to use unity in my uni project to develop a small application for HoloLens2 and I am getting stuck with setups.
here are the two problems I am facing:
I cannot deploy apps to HoloLens2 ...
0
votes
0
answers
59
views
C++ std::copy in forward method is not working [duplicate]
Visual study 2013 An error occurred after migrating the developing project to 2019,
Perhaps operator= is no longer supported
It's my code, the source that concatenates the list of std::list to ';'
...
0
votes
2
answers
51
views
Automatic Full-Screen Mode for Windows UWP C++/CX Application
I'm working on a Windows UWP (Universal Windows Platform) C++/CX Application. I would like for this application to be full-screen from the moment that it launches, rather than briefly not full-screen ...
-1
votes
0
answers
17
views
I got the below error while running the echobot in Visual Studio 2019 [duplicate]
I got the below error while running the echobot in Visual Studio 2019.
Severity Code Description Project File Line Suppression State Error NETSDK1045 The current .NET SDK does not support ...
-2
votes
0
answers
26
views
How to transfer data from HTML pages in CEF to C++? [duplicate]
I tried writing cef code using vs2019 on Win10. I have compiled the CEF109 version correctly. Can run the cefclient project. I want to transfer some data from HTML pages to C++code. How should I ...
0
votes
0
answers
38
views
How to solve error MSB3721 when DeBug in a ARM64X64 way?
My Environment as follow:
Host OS : Macbook Air M1;
VM OS: Windows-10-21H2, VS2019,in Parallels Desktop 18
VS2019
I have got the following errors, when I DeBug my first UMDF windows driver.
1>----...
1
vote
1
answer
315
views
ASP.NET Core 3.1 projects in VS 2019 and VS 2022 - Start Without Debugging fails - HTTP Error 500.30 - ANCM In-Process Start Failure
After upgrading VS 2022 to the latest .NET 8 I'm not able to Start Without Debugging ANY ASP.NET Core 3.1 project in VS 2019. The same projects (ASP.NET Core 3.1) do NOT start in VS 2022 either. Start ...
0
votes
1
answer
88
views
How to run ASP.NET Core 3.1 web application on Visual Studio 2022? [duplicate]
I developed an ASP.NET Core 3.1 web application using Visual Studio 2019 and it is working fine, but when I'm trying to work with the same project in Visual Studio 2022, I get this error :
HTTP Error ...
0
votes
0
answers
18
views
Failed to retrieve server version
I tried this in both VS2019 & VS2022.
Added a new SQL Server Database item in the project. In the Server Explorer, created the connection.
When I right click on the database and select New Query, ...
0
votes
0
answers
20
views
3ds Max SDK linker errors after installing
I downloaded the 3ds Max SDK and opened the maxsdk/samples/samples.sln solution with Visual Studio 2019. I added the maxsdk/lib folder to the library directory and maxsdk/include file to the include ...
-1
votes
0
answers
30
views
vs2019 Code Analysis C6029 - why is it flagging this code?
//allocate script
Script=new wchar_t[ScriptMax/2];
if (Script==NULL)
{
LastResult=CFG_ERROR_MEMORY;
goto end3;
}
//read script
if (!ReadFile(File, Script, ScriptMax, &amount, NULL) || ...
0
votes
1
answer
87
views
Mystery definition of exp() included with Visual C++
Observed on Microsoft Visual Studio 2019.
Unsure if other versions are equally affected.
Consider this code:
#include <stdio.h>
int main()
{
const double frac = -1.0;
printf("%f\n&...
0
votes
0
answers
23
views
SSRS Autorefresh and looping - is it possible?
I have an SSRS report which currently is 7 pages long. This report is on display in the office and auto-refreshes every 20 secs to show the latest results from a dataset. I would like the report to ...
0
votes
0
answers
29
views
Why does my Visual Studio Webforms application not see into the connected SQL Server schema?
A Visual Studio 2019 Webforms (VB) application, which connects to a local SQL Server demo database (AdventureWorks2019), has a GridView control which CAN connect to a SQL source, and displays a list ...
0
votes
0
answers
81
views
How to stop elements of the Visual Studio (2019) toolbar snapping to the left
In Visual Studio 2005 elements of the tool bar could be moved so that they were all near the centre of the screen like this: image of visual studio 2005 tool bar
In Visual Studio 2019 I have not been ...
0
votes
1
answer
32
views
Save conditional split to variable
I have a data flow in VS2019 that calls a list via REST than does some filtering and returns a single data point (A date formatted as string).
Is it possible to update a variable with that string? And ...
1
vote
1
answer
148
views
Updating values of a chart in a razor page
I created an Asp Net Razor project in visual studio 2019.
I'm learning the technology with some exercises. Specifically, I would like to display on a page a chart whose data i would like to retrieve ...
0
votes
0
answers
7
views
How to resolve a build/pipeline issue of Visual studio 2019 .NET core project via .yml file in GitLab
(CoreCompile target) ->
C:\GitLab-Runner\builds\2zKvRX8Z\3\bitrode_software\sourcecode\LCN2\LCN2_Related\LookupTableApp\LookupTableApp\CommunityToolkit.Mvvm.SourceGenerators\CommunityToolkit....
0
votes
0
answers
20
views
How to disable -werror while building edk2?
I'm trying to investigate UEFI and EDK2. I have found some labs to learn it (https://laurie0131.gitbooks.io/uefi_driver_hii_win_lab_guide/content/).
In this guide talks that I must add my project to ...
1
vote
1
answer
96
views
How to Fix MFC CStdioFile and CString Garbled Characters while Reading and Dealing with Data in Files?
Visual Studio 2019 Community and MFC
My Code:
void CTMCVDlg::FileIO()
{
// Getting source file path to read and destination file path to write
CString destpath, sourcepath, destname;
...
0
votes
0
answers
58
views
Excel Toolbar CommandBarButton Event is not firing in C#
I wrote the following code to capture the click event of Excel's standard toolbar button activated in a C# application.
private void CaptureExcelInteractions()
{
Excel.Application excelApp = null;
...
0
votes
0
answers
50
views
Visual Studio 2019 Enterprise Publish Window
When publishing a .NET project in Visual Studio 2019 Enterprise, I encountered a window where I expected to find the "Self-contained" option to obtain a .dll file. However, I couldn't locate ...
0
votes
1
answer
39
views
In Visual Studio Professional 2019, How do you change the common Extensions directory?
I am migrating my installation of Visual Studio 2019 from G:\ to L:... and I have had mostly no problems, moving all the references. Except when it came to some 'Extensions' and some projects. After ...
0
votes
1
answer
55
views
Azure Functions Project failed to load in VS 2019
I am trying to open a solution in VS 2019 on a new computer.
I get the latest code from source control, opened the solution. All the other projects were loaded, except one Azure Functions Project: &...
0
votes
0
answers
13
views
Compilation of Mozilla NSS is failing on VS 2019
Compilation of Mozilla NSS is failing on VS 2019
Compilation of Mozilla NSS is failing on VS 2019.
Here are the steps I followed:
Installed VS 2019
Installed MINGW for make on Windows
Installed ...
0
votes
0
answers
19
views
Error BC31091: Import of type 'ValueTuple(Of ,)' from assembly or module 'CommonLanguageRuntimeLibrary' failed in VS2022 but works in VS2019
I have a .NET Framework 4.6.2 Microsoft Test project that throws the error:
error BC31091: Import of type 'ValueTuple(Of ,)' from assembly or module 'CommonLanguageRuntimeLibrary' failed.
When is ...
0
votes
0
answers
15
views
How to run CTest with coverage by Visual Studio 2019 from the command line?
I have a CMake project with x86 native (win32) tests using CTest. I succesfully ran them with coverage results from Visual Studio Enterprise 2019 IDE using the Test Explorer.
Now I’m trying to run ...
4
votes
0
answers
103
views
What are the type requirements for `std::future` in C++20?
cppreference doesn't list any type requirements for std::future. But when I try to compile this code with Visual Studio 2019:
#include <future>
struct A {
A(int&){}
A(A&&) =...
0
votes
1
answer
78
views
Visual Studio 2019 doesn't remember GitHub credentials
With a clean install of Visual Studio 2019 (Community Edition), every push to a GitHub repo asks for credentials. When I paste in my access token the push succeeds, but I'm asked again on the next ...
0
votes
0
answers
42
views
How can I git-bisect when I compile with Visual Studio?
I'd like to git-bisect a somewhat large project (20 min compilation time). I've written a test that identifies the bug. If I compiled using make and make test, I'd simply git-bisect the old-fashioned ...
0
votes
0
answers
28
views
How do I view an image in Visual Studio 2022 when coding?
In Visual Studio 2019, image files in my solution opened in a image viewer when developing. Very useful when I am coding maths on CAD shapes, using a split window to show the image with dimension ...
0
votes
0
answers
16
views
Dependency error with mfc140.dll despite it being present in the System32 folder
In our product, there is a dll A that loads another dll B which has dependency on mfc140.dll. The mfc140.dll is present in the System32 folder. But the dll A is not able to load the dll B due to ...
1
vote
1
answer
51
views
How can I trace AccessViolationError in .net application
I am getting an error when I switch tabs in my application
The stack trace is not showing which function or statement caused the error
and the error is on Application.Run
And I am running in Debug ...
0
votes
0
answers
50
views
Any users of Microsoft XAML islands?
I had high hopes for exploring XAML GUI development with legacy MFC code based on this Microsoft link: Microsoft using XAML with MFC.
I'm working trying to build and run the MFCApp.exe from
https://...
0
votes
0
answers
6
views
Visual Studio 2019 - find in files problem
I have visual studio 2019 Professional for work in C/C++.
I have my work repository on C:\UserData\T_PROJ1 but this path is substitute on disk T.
Solution is generated with oMake file and in solution ...
0
votes
2
answers
89
views
Cannot find Grpc.Tools reference in C# project in Visual Studio 2019
I am not understanding how to use this NuGet package manager in Visual Studio 2019
I installed the Grpc.Tools package from Nuget package manager.
I clicked the checkbox next to the package on solution,...
-2
votes
1
answer
49
views
Defining extern variables in functions [duplicate]
So I'm learning OpenGL on learnopengl.com. To make my code as clear as possible i decided to split it up into different files and connect them with a header file. I declared an extern variable ...
0
votes
0
answers
31
views
Datagridview component does not implement row separation in xamarin forms using visual studio 2019
Good evening fellow Xamaritans, I am doing a final year project using visual studio 2019 and I need to give a space to the elements within a listview that in turn contains a gridview to better ...
0
votes
1
answer
116
views
How to debug a Docker container using Visual Studio without an internet connection
I need to debug an application running inside a Windows Docker container using Visual Studio (I have 2019 but can get 2022 if needed). I need to do this in an environment that is not connected to the ...
0
votes
1
answer
45
views
Record/logging functions that the main thread called
A real project is really difficult to debug because it is really big and programmed according to the dependency injection pattern.
Is there a way for Visual Studio or another program to record the ...
0
votes
0
answers
38
views
.NET ProcessFrameWork reference not given value for parameter?
I've never seen this issue before and I'm not sure what happened it was working last night. Now my projects aren't building. I've redownloaded Visual Studio
Any ideas?
0
votes
0
answers
17
views
Visual Studio SSRS
I have a question regarding Visual Studio 2019, I have a few projects that I created where the project folders were saved on a shared drive on a specific server. They have since decommissioned the ...
1
vote
0
answers
12
views
How to add a .lib file to a project in a Visual Studio Solution
I have a Visual Studio 2019 Solution with two projects. One project builds a .lib file and I need the other project which builds an .exe file to link to the .lib file. How do I make the settings of ...
0
votes
0
answers
66
views
fatal error C1083: Cannot open type library file: 'MSXML6.dll': No such file or directory
Cannot open type library file: 'MSXML6.dll': No such file or directory
I have found this .dll in these paths:
C:\Windows\System32\
C:\Windows\SysWOW64\
C:\Windows\Temp\527D94AF-D053-4381-B105-...
0
votes
0
answers
103
views
HoloLens 2 Emulator "[XDE:002] The emulator unable to verify that the virtual machine is running: Exception from HRESULT: 0xFFFFFFFF" error
I have Windows 10 Education and I have satisfied all the requirements of the Hyper-V. I tried downloading every version of HoloLens 2; however, everytime when I try to open (even Running it as ...