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.
visual-studio-2019
7,706
questions
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
16
views
Getting an error with a union in SSIS, "The Metadata for union does not match the metadata for the associated output column." Any ideas?
I am working with SSIS in Visual Studio 2019, and I am trying to do something fairly simple. In the data flow I load data from two flat files (basically, half the data set in each file), union them ...
1
vote
1
answer
100
views
Adding a C++ DLL as a reference to C# works on x86 but fails on x64
Using Microsoft Visual Studio Professional 2019:
Created a simple addition function in C++ to generate a DLL file.
In a new C# project, referenced the above DLL file.
Win32: For both the C++ DLL and ...
1
vote
1
answer
75
views
Setting Preprocessor Definitions in a referenced project
I would like to conditionally export symbols to be used in a Google Test project in Visual Studio 2019. I am trying to set a preprocessor definition called UNIT_TESTS, but only when the unit test ...
1
vote
1
answer
37
views
_MSC_VER value with multi Visual Studio installations
I have a C++ Project which uses boost libs, the project was built on MS visual studio 2019 using Boost_vc142_rev.1.79.
Now I moved to Visual Studio 2022 so I switched to boost_vc143_rev.1.85.
and ...
0
votes
0
answers
17
views
How to Resolve Crystal Report Temp File Error in Visual Studio 2019?
I am trying to build connection using Crystal report in Visual Studio 2019. but while running crystal report facing below issue.
Error in File temp_{}.rpt: Database connector Error.
I tried to set ...
0
votes
1
answer
55
views
Converting 32-Bit COM interface to 64-Bit
I am trying to convert/upgrade a 32-Bit COM file to compile as 64-Bit. I have fixed all of the bugs except for one. Here is the code in question:
HRESULT WINAPI QueryIMEDDevice(void *pV, REFIID riid,...
0
votes
0
answers
17
views
SSDT DLLs for VS 2019
I have installed VS 2019 on Windows Server 2019 with the SSDT 2019 extension installed. I need the v4.0_15x DLL in the GAC for Microsoft.SqlServer.ManagedDTS but its giving me v4.0_11x, v4.0_12x, v4....
0
votes
0
answers
24
views
Why is my text misaligned in my .rdl report
I'm making an .rdl report in visual studio 2019, which gets uploaded to Dynamics, and then users export the file to pdf.
The two top text boxes, for Variety Name and Eating experience have the same ...
-1
votes
0
answers
55
views
Error C2059 syntax error: '__declspec(dllexport)' only when return type is a pointer [duplicate]
I need to create a DLL wrapper around a function that returns unsigned char*. For that I declare the wrapping function in wrapper.h as:
extern "C" unsigned char* __declspec(dllexport) fn();
...
0
votes
0
answers
82
views
Cannot open source file "openssl\evp.h"
Having followed instructions in How to include OpenSSL in Visual Studio I created a new C++ DLL project in VS 2019 and added to it a new header file:
#pragma once
#include <openssl\evp.h>
#...
0
votes
0
answers
13
views
Error to find references in Visual Studio 2019
I noticed that every time I open a cloned project in a new environment (with Visual Studio 2019), the project cannot find the references it uses.
I know that I can add the references again to solve ...
0
votes
1
answer
29
views
Change encoding of all files in a Visual studio project
I know how to change the encoding of a single file in Visual Studio, that is, by going to "Save as..." -> "Save with encoding" and choosing the encoding. However, I got an old C+...
2
votes
1
answer
117
views
What is causing my project to load in an incorrect format?
I'm trying to test a project that I've taken over by launching it with IIS Express(Google Chrome), but I get a webpage with the following error:
Could not load file or assembly 'FCCNetClientProxy40' ...
0
votes
1
answer
22
views
Send CSV File to Box Folder Using KingswaySoft Box Destination
I'm trying to automate the process of sending a csv to a Box folder from withing Visual Studio 2019 using the KingswaySoft Box Destination component. My Box connection manager connects successfully. ...