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,419
questions
0
votes
0
answers
8
views
System.BadImageFormatException when attempting to run 32-bit Windows executable
The error: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
I am using Visual Studio 2019 to build a 32-bit ...
0
votes
0
answers
10
views
What is the maximum buffer size of data transformation in ssis?
I am currently trying to load 189 Mb data from an Excel source. However I am getting the following error :
TITLE: Microsoft Visual Studio
Could not retrieve the table information for the connection ...
0
votes
1
answer
27
views
Tabular Model Explorer not showing in VS 2019
Note
I have already checked this question VS 2019 - SSAS Tabular model explorer missing or greyed out and according the answers, I had to open Model.bim file but still no tabular explorer showing
What ...
0
votes
1
answer
42
views
Cannot open source file C++ [closed]
Am using vs studio and have included in the properties of projectB the additional directory $(SolutionDir)src; but when I try to include a header from the directory (ProjectA.h) it say "Cannot ...
1
vote
0
answers
28
views
Curl using Nuget on Visual Studio 2022 doesn't work
I've been trying to get Curl to work with VS for weeks. I've read a ton of other tutorials, guides, installation instructions and other materials and just... Nothing is working. So far, I've managed ...
0
votes
1
answer
24
views
Automate publishing .NET Core App to multiple subdomains
I have a .NET Core application used by many clients. Each client has its own subdomain. Each client has its own database. All databases are identical. Different data, same schema. The subdomains and ...
0
votes
0
answers
9
views
Build specific projects with devenv
I have the following folder structure for a VS2019 solution/project:
Solution_folder\
my_solution.sln
cpp_project\
my_cpp_project.vcproj
ifort_project\
my_ifort_project.vfproj
....
0
votes
0
answers
20
views
Automate Artifactory NuGet download during build in Visual Studio
I have been working with Artifactory NuGet packages in Visual Studio 2019 recently, and have a workflow which looks sort of like this:
Add private Artifactory repo as NuGet Package Source
Download ...
0
votes
0
answers
23
views
Visual Studio CLI cant install specific NuGet package version
I am in Visual Studio 2019, and when I open the package manager console, I can run:
nuget install MartinTestPkgXYZ
which will succeed and install the latest version (2.0.0), but I want to only install ...
0
votes
1
answer
19
views
Why does Visual Studio think I'm on a different branch than my terminal and VS Code
I have a .NET 5 solution, using git for source control.
If I open it in Visual Studio 2019, the branch selector at the bottom right says foo
If I navigate to the root directory in a terminal window ...
-1
votes
1
answer
21
views
GenerateFeatureFileCodeBehindTask task failed unexpectedly
when I try to build I am getting this error.
I am using VS studio 2019, and Specflow 3.9.69
Severity Code Description Project File Line Suppression State
Error The
"...
-1
votes
0
answers
32
views
I am trying to make a class that has these objects interact with each other but I do not know how [closed]
I want to print out "cat" is attack "other cat" in this class I am making. But I don't know how to make it happen, I am a beginner to c++ so I don't know how to do this.
class cat ...
-2
votes
0
answers
36
views
Is there a way to create my own FormBorderStyle? (or modify an existing)
I m currently learning the ropes of C++ Cli (CLR .NET Framework) and forms, however I am having some issues that I can not seem to find the answer too.
Question:
Is it possible to create my own ...
-1
votes
1
answer
31
views
Visual Studio doesn't show the latest code - Potential cache issue
So this is is a weird issue I'm facing.
I pull the latest code-base from the version-controlled repository (using Azure DevOps, but don't think it matters), and the code that I see in Visual Studio is ...
0
votes
0
answers
20
views
Having issue running SSIS script task in Visual Studio with 2019 as target version
We are upgrading from Sqlserver 2012 to 2019 in that process we need to migrate our SSIS packages also from 2012 to 2019. We have lot of script task which uses connection string and other ...
0
votes
1
answer
43
views
Dump a binary exe to hexadecimal and embed it into c++ file leads to execution error
I am dumping a sample of relec malware to hexadecimal using xxd to embed it in a c++ file and execute it with createprocess. When I get the hexadecimal relec file I copy it to an array and write it to ...
2
votes
0
answers
16
views
How can I run my HTML code on Visual Studio 2019 on macOS?
I'm currently using Visual Studio 2019 on my Mac. I want to run my code, but when I run the code, my webpage looks completely different. None of the code I write shows up, instead it's a Welcome page. ...
0
votes
1
answer
13
views
Visual Studio 2019: CMake Generation Seems to be Stuck, CMakeLists.txt is still parsing
I'm trying to build an existing CMake project with VS 2019 Professional, and when I open the folder through VS, after a few seconds it says in the Output window that the CMake generation finished. ...
1
vote
1
answer
36
views
This Omnisharp error don't let me start my first Godot project with C#
I am getting this Omnisharp error again and again. I can't figure out what's the problem now.
Starting OmniSharp server at 11/5/2022, 6:12:47 pm
Target: d:\Study\Projects\Godot\C# Project.sln
...
0
votes
1
answer
27
views
Typescript 4.6.4 tsconfig.json target
I have just upgraded to Typescript 4.6.4 and in the tsconfig.json file I wanted to update the target to es2022 but I am getting this error. Is there a setting in vs2019 that I need to change for this ...
0
votes
0
answers
38
views
Replacing borland VCL library with visual studio 2019 supported UI libary [closed]
I have a project which use Borland v6 VCL UI libary and I want to migrate my code base to Visual Studio 2019, I dont want to pay for cross platform sw (QT framework), The application is a desktop app,...
1
vote
0
answers
28
views
Is it possible to create a new data connection without navigating server explorer manually?
I have a local database, and of course it works on other devices but they have to add the data connection that comes with the project themselves (image for reference):
I'm in a position where I need ...
0
votes
0
answers
20
views
Microsoft SQL database project in Visual Studio 2019/2022 - How to deploy varying security principals/permissions dependent on target environment
I have database projects targeting Microsoft Azure SQL instances. The projects were created through and are managed by Visual Studio 2019 and Visual Studio 2022. The projects are deployed to multiple ...
0
votes
0
answers
19
views
Visual Studio can't "find all references", but can "find in files"
Visual Studio 2019 Pro, v. 16.11.13.
A Solution with about 100 projects. All projects are included in the build process. Solution was opened about a half an hour ago, and was just fully rebuilt.
I'm ...
0
votes
1
answer
29
views
Xamarin Forms - Android project doesnt deploy from Visual Studio
The Android project doesnt deploy from Visual studio to Samsung Tab.
Initially the output shows deploying to device, after 2 minutes, it changes to Ready state and doesnt deploy even after 30 mins.
...
0
votes
1
answer
48
views
Error get-function rgba-css-var is not a valid value for background-color
I have followed the following steps to set up Bootstrap 5 SASS in the ASPNET Core project.
right-click wwwroot and select Add->Client-Side Library. Selectected unpkg provider, bootstrap@5.1.3 ...
0
votes
1
answer
59
views
Errors linking to tdh.lib
I'm trying to use functions from the Microsoft TDH library building with Visual Studio 2019. The project is using WindowsApplicationForDrivers10.0 Platform Toolset and the program is very simple:
#...
0
votes
1
answer
38
views
CGAL: How to use CGAL::Polygon_mesh_processing::area()? C++
I am trying to estimate the area of a segmented leaf. I already triangulated the leaf using advancing front surface reconstruction. Currently, I am having a hard time understanding the CGAL ...
0
votes
1
answer
30
views
How to add credentials to ODATA Microsoft dynamics web service, on Visual Studio 2019
The Microsoft dynamic web service link when used on a browser prompts the Credentials as shown in the image below
The issue is how to pass this credential to Visual studio in order to avoid the ...
0
votes
0
answers
22
views
how to create a godot project directly from visual studio 2019
is it possible to create a new Godot project just like creating a new c# form app in visual studio ?
0
votes
0
answers
24
views
School Project, set up OpenGL on VS 2019 Community [duplicate]
I am trying to set up OpenGL on my PC for a project. The project gave me sample code to run and a folder to add include directories and libs to my sample code solution in VS 2019 community. The ...
0
votes
1
answer
17
views
How to suppress compiler errors within vctmp.cshtml files in Visual Studio?
Whenever I open a temporary cshtml file or compare the difference between the files, the compiler shows a bunch of errors. It's unable to resolve razor syntax due to a lack of context:
My project ...
0
votes
0
answers
5
views
Import deployed 2012 into VS 2017 while keeping target 2012
I have a SSIS project that is deployed on SQL 2012. Since 2012 is EOL, I need to convert to 2019. However, the previous owner used a 3rd party task that does not seem to work in the newer version of ...
0
votes
1
answer
33
views
Why when i'm using Show method on another form the window form stuck and won't open
Where i'm opening the other form
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
...
0
votes
0
answers
18
views
how to use __sync_fetch_and_add in vs2019 under windows
I want to use __sync_fetch_and_add in my C project, i find this function is a built-in function in gcc.However, it seems that i cannot use it in visual studio 2019 and it shows "...
0
votes
1
answer
37
views
ICON for .NET Core 3.1 Class Library DLL in Visual Studio not showing in File Explorer
I'm trying to define icon for a .NET Core 3.1 Class Library. I followed the instructions on this link but ICON is not showing up on the output DLL file in File Explorer. The ICON does show up on the ...
0
votes
0
answers
52
views
.Will accdb Access Database Work with Visual Studio 2019 x86?
What does it take to use an .accdb format Microsoft Access database in Visual Studio 2019 x86? Whenever I modify and test the connection, I get the error message "The Microsoft.ACE.OLEDB provider ...
0
votes
1
answer
33
views
visual studio 2019 cant exclude folder from build in .csproj
I am trying to exclude an entire folder from being build in my vscode project, I have edited my project file to look like this:
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
...
0
votes
1
answer
15
views
Visual Studio Nuget packages
Am trying to get nuget packages into my visual studio project.
NuGet Package manager is not package source of 'nuget.org'... just show Ms VS offline packages. Is there any setting?
0
votes
0
answers
14
views
Visual Studio 2019 - changing the tag text or background colour of project templates
New Project window:
In my New Project window, the text and background colours of the tags are the same, and I have to hover over the tag to see what it says. How can I change either the text or the ...
0
votes
1
answer
29
views
Visual studio pack NuGet without building folder
I have a working visual studio 2019 project with a simple nuget package, where if I right click 'ClassLibrary2' and click 'pack' it packages my project into a NuGet package
I want to package this ...
0
votes
1
answer
41
views
How to Align Text on Xamarin Custom Picker
I have a Xamarin Forms project on Visual Studio 2019. I have a simple custom picker as I have not managed to do a custom one. Don't know how to even though I have searched it.
What I want is to align ...
0
votes
1
answer
66
views
filesystems "remove_all" vulnerability is not defined error
Hello i started c++ and im using Visual Studio 2017 and i want deletin all files/folder inside a folder and i tried this code:
#include <iostream>
#include <filesystem>
using namespace ...
0
votes
1
answer
35
views
Add combobox items from another usercontrol form using textbox
I have a usercontrol form named "ucSETTINGS", where there is a textbox and once the button was clicked, the text inside the textbox will be added to the combobox from another usercontrol ...
0
votes
0
answers
8
views
Why WindowsMediaPlayer control no longer playing in VS2022?
I used to use WindowsMediaPlayer in VS 2019 (c#) to play sound files. It was quite easy. You just have to check up the component, drag the control from toolbox to the form, and set the URL property to ...
0
votes
0
answers
20
views
dotnet Web project fails to load from a network location
I am running a virtual box environment with multiple machines I use as development environments. My current configuration that works is to create a share for my dev directory on the S:\ drive at \10....
-1
votes
0
answers
20
views
How to select the current word on VS Mac
I'm looking for something equivalent to CMD + D in VS Code but can't seem to find anything in any official documentation.
-2
votes
0
answers
27
views
Is there a way to catch an error that comes from a Task via Script Task on Integration Services?
I wanna know if there's a way in which I can capture an error that comes from another Task inside a Script Task. Check Image 1.
I want to do this because I need to write to a csv log file using C# (I ...
0
votes
1
answer
42
views
Azure DevOps No Longer Showing in Visual Studio when Adding Project to Source Control
I recently updated Visual Studio 2019 to version 16.11.13. When I clicked Add to Source Control in the bottom right-hand corner, the option to publish the project to Azure DevOps in Team Explorer --&...
1
vote
1
answer
19
views
How do i stop the texture(a quad) from rotating so much on X axis?
I'm working on a game and in this game the trees are 2d , because of this i want them to rotate around the player (i used this script)
{
public Transform target;
void FixedUpdate()
{
...