Questions tagged [visual-studio-2017]
Visual Studio 2017 (aka Visual Studio "15", includes C++ compiler version 19.1) is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.
12,646
questions
0
votes
0
answers
20
views
SSAS: Why is calculated member breaking cube relationships?
I have a calculated member that looks like this:
[Measures].[Transactions]
Once processed, my powerbi has 6 rows, which is correct:
Then I went back to the calculated member and added the 1- to the ...
0
votes
1
answer
26
views
How to target Windows XP with MSVC2017 and CMake?
I wanted to accomplish what other 2 threads are doing, but with latest MSVC to support targetting Windows XP and CMake support.
I keep following the advice given in How can I generate a Visual Studio ...
0
votes
0
answers
6
views
packages SSIS Controle flux, data flux
I have this error when I run my poackage on VS:
Erreur de validation du package (Erreur de validation du package)
===================================
Erreur sur Upload DATA [Performormance Target [31]]...
0
votes
0
answers
20
views
Project is not running with visual studio 2017
I am using Visual Studio 2017.
Everything was working fine, i.e all my C# codes and projects were executing fine. But now when executing any project by clicking on the green icon/F5, it shows loading ...
0
votes
0
answers
64
views
qt lib not included in cpp project built with cmake
I have a source with VC++ 2017 I receive the error "Error C1083 Cannot open include file: 'QtCore/QMap': No such file or directory" when i try compile the project. I set cmake qt lib ...
0
votes
0
answers
10
views
Remote Debugger on Surface go Tablet and VS2017 not working
I installed Remote Debugger on surface go 2017.
Permission is set to "Everyone".
Authentication: Not needed.
Firewall is disabled on "Surface Go"
Debugger is successfully running ...
0
votes
0
answers
13
views
MS Dataverse API: Retrieve list based on entity Primary Key "In" list
I am able to retrieve filtered data against an MS Dynamics API entity by using the "$filter=Microsoft.Dynamics.CRM.In" clause on non-primary key columns. However, when I try to do the same ...
0
votes
1
answer
53
views
IIS Express in visual studio 2017 crashes when debugging app and selecting file input
I have a form with a file field.
In VS 2017 the upload doesn’t work and it returns the error: "The program '[19000] iisexpress.exe' has exited with code 4294967295 (0xffffffff)."
The upload ...
-2
votes
0
answers
39
views
"cannot open source file" error in Visual Studio C++ [duplicate]
I'm quite new to C++, and just installed Visual Studio Community 2017 to get started.
Followed the Microsoft documentation's Hello, World article to the letter, tried building the "solution",...
0
votes
1
answer
34
views
vcpkg install package Error, Run vcvarsall.bat to get Visual Studio env failed with exit code 1
when I install any package,vcpkg throw these error said can not get visual studio env . I am sure I had install visual studio 2017,but may it not work
the error image like this
-3
votes
1
answer
43
views
Adding ACE+TAO with numerous compile errors
I am adding ACE TAO to my existing project, and I have compile errors after adding the projects. Most of the errors were "No such file or directory", and these errors can simply be fixed by ...
0
votes
0
answers
78
views
Apache Log4j Unsupported Version Detection under Visual Studio 2017
we have installed Visual Studio 2017 in our desktop. thru the Vulnerability scan, below issues raised. What would be the possible way to fix this issue. Shall we simply replace the Log4J jar file with ...
-1
votes
0
answers
62
views
"unresolved external symbol __declspec(dllimport)" error when using yaml-cpp in Visual Studio 2017 [duplicate]
I compiled yaml-cpp as a static library using Visual Studio Community 2013 and added the library to my project.
Here is my code:
YAML::Node node = YAML::Load("{name: BS, city: KORE}");
std::...
-1
votes
0
answers
22
views
error LNK2001: unresolved external symbol suitesparser KLU [duplicate]
I'm looking to solve LNK2001 error.
I have two packages in my c++ solution,
the first (package1.lib) uses the library suitesparse #include <KLU/include/klu.h>, I added in properties>C/C++>...
0
votes
0
answers
9
views
Can I customize HTML formatting in VS2019?
I have had this problem for a long time but just lived with it. My problem is that I think the HTML auto formatting in visual studio 2019 is plain bad.
Back when I used VS2010 it formatted HTML code ...
0
votes
0
answers
35
views
"Sorry something went wrong" when installing visual studio 2017
I was attempting to update my Newtonsoft.Json and System.Runtime assemblies in the GAC to 10.0.0 and 4.1.1 respectively, previously they were 3.5.0 and 4.0.0. After that, Visual Studio was unable to ...
0
votes
0
answers
19
views
Is there any npgsqlVsix Version is Compatible with Npgsql 3.0.5 EF5 for visual studio 2017?
cant update any table to edmx, but can CRUD the database.
I have tried every version of Npgsql.Vsix and didn't work, the option I found is upgrade the EF and npgsql version, but I cant do that because ...
0
votes
0
answers
40
views
how to add xlslib library on 2017 visual studio
2008 visual studio uses the xlslib library in the application co-written with QT4. How can I add it to Xlslib library with QT5 and 2017 visual studio.
1
vote
1
answer
45
views
Boost async_pipe not showing all child process output
I ran into a roadblock. The code below has issues, but this is just a demo; I want to get the high level logic correct first.
The two startup application output a lot of startup info, before arriving ...
0
votes
1
answer
173
views
Loading SDK component information failed in Android SDK Manager, Android SDK Instance could not be loaded in Android Device Manager
for this project I am using VS 2017. I want to note that everything in Android SDK Manager and in Android Device Manager has always been working fine for me, but today my laptop's account password was ...
0
votes
1
answer
58
views
Visual Studio 2017 - break when a variable is read
I use Visual Studio 2017 for C++ projects. I can set a data breakpoint to break when a value of the variable is changed. Is it possible to set a breakpoint when a variable is just read, for example:
...
0
votes
0
answers
36
views
Visual Studio 2022 - Interact with "Script Documents" inside an extension
I'm writing an extension for VS 2022 and I need to open a js file inside the "Script Documents" when is attached to chrome.
-There's a way to interact with the files of this category? What I ...
0
votes
0
answers
45
views
Could not load file or assembly Oracle.DataAccess, Version=4.122.19.1 The system cannot find the file specified
I have a web site project that in Visual Studio 2017 with Oracle 64 bits that when I open it and run it all is ok. If I stop and run again or I build the solution I get the error below.
I have other ...
0
votes
1
answer
24
views
restsharp 107.3.0.0 different signatures with different visual studio versions
I am trying to build using restsharp version 107.3.0.0, the left screen is visual studio 2022 and the right screen is visual studio 2017.
The assembly version is the same in both, however visual ...
0
votes
0
answers
16
views
Visual Studio setting to prompt loading symbols when not found
Let us assume the following code:
OuterMethod(InnerMethod())
InnerMethod is located in the current assembly that I am debugging so I can step into that. OuterMethod is located in another assembly ...
0
votes
0
answers
39
views
Failed to install from NuGet package manager - VS 2017
After installing vs 2022 and uninstalling it (because it doesn't support ODT - oracle developer tools).
Going back to the previous version (2017 or 2019) causes the NuGet package manager fails to ...
0
votes
0
answers
38
views
Problems setting Query Store settings in Visual Studio database project
In my Visual Studio 2022 database project for SQL Server 2019, I have a PostDeployment.sql file that sets Query Store settings, as:
ALTER DATABASE CURRENT
SET QUERY_STORE = ON
(
...
0
votes
1
answer
18
views
Visual Studio unknown debug icon
I was debugging C# in Visual Studio 2017, and debugger stopped on an exception. Some static members can't initialize, and exception is raised in member's class constructor. In Auto window I saw this ...
0
votes
0
answers
19
views
Update Python for Visual Studio 2017 Professional
Can anyone point me in the right direction to update the version of Python that is installed with Visual Studio 2017 Professional. All the guidance out there is on how to install it, but not update ...
0
votes
1
answer
60
views
MSVS2017, Boost C++ error with namespaces
Can anyone help me out. I stumbled into a roadblock.
I've modified the project properties to include the Boost header path, and Boost linker path--plus the 'not using predefined header files' options'
...
2
votes
1
answer
77
views
Type Punning via constexpr union
I am maintaining an old code base, that is using a union of an integer type with a bit-field struct for type-punning. My compiler is VS2017. As an example, the code is similar to the following:
...
-1
votes
1
answer
82
views
Index out of range on column from inner join condition
I am getting a index out of range error when trying to get a string value from a datareader. The column USER_ROLE which is the only column from a INNER JOIN condition. It was working and for some ...
0
votes
0
answers
57
views
Does VS2015 automatically include windows SDK header files but not in VS2017?
I have a C++ library originally developed in VS2015 which uses SOCKET from Winsock2 inside Windows SDK 8.1. The solution file is generated from a cmake file, and it builds perfectly fine.
I use the ...
0
votes
0
answers
20
views
Issue with script component of visual studio project intermittently failing (perhaps due to .net version)?
.net framework version installed: 4.7.02053
Target .net Framework version: 4.5
Visual Studio Version: 2017
SQL Server Version: 13.0.6300.2
Error: System.Runtime.InteropServices SEHException (...
0
votes
1
answer
37
views
No DOM Explorer or JS Console in Visual Studio 2017 - Debugging Office Add-In Excel
I can't figure out how to get the DOM Explorer or JS Console to show on my Office Add-In I'm dev in VS 2017. They used to work and one day, just stopped.
So far I've tried the following:
Test Proj at ...
2
votes
0
answers
31
views
How to make Intellisense Quick Info for JavaScript and CSS files to appear in Visual Studio 2017?
In Microsoft Visual Studio Professional 2017, when I edit a JavaScript or CSS file, the Intellisense Quick Info for Members, Objects and other keywords don't appear. However, when I open the same ...
-1
votes
1
answer
57
views
Visual Studio throwing LNK2019 and solution missing headers/source files
-- Updates --
Adding the source file settings.cpp directly to the project via Add -> Existing Item resolved the LNK2019 (as I suspected it couldnt find it).
-- Updated Question--
How to specify ...
0
votes
0
answers
46
views
MFC MDI Menu Bar Icon MainFrame vs Loaded Added Menu Icon->How to control/Edit?
When my MDI app opens and loads m_wndMenuBar and waiting for the user to open a file to begin file operations, in the MenuBar it has the menuitems like File, View, ....etc.
When the user loads in a ...
0
votes
0
answers
50
views
When using CTRL+F5 to run in Visual studio 2017 professional it closes the window of the previous run
I have a very annoying problem (that begun after I had to format my PC)
I've installed, Visual studio 2017 professional, and developing in C++.
When I run the process using CTRL+F5, and wait for the ...
0
votes
0
answers
14
views
Switching from SQL tables to ACCESS tables
I have software that we got from a parent company. This software is programmed to use SQL tables from their sql database. I created a copy of their database/fields in Access. I want to swap from their ...
0
votes
0
answers
31
views
Visual Studio 2017 is freezing while opening vcxproj from mapped drive
We currently have Visual Studio 2017 installed on a Windows server 2012 machine. We have mapped drives on the network where we do our development in our local area. The mapped drive is a fileshare to ...
0
votes
0
answers
70
views
MFC MDI dynamically changing tab style from a property dialog
It has been 10 months since I worked on my app due to a death in the family, just started looking at it again and still not sure how to solve the problem.
The project inquires/help started here:
MFC ...
0
votes
1
answer
26
views
Saving over 1000 individual transparent (!) PNGs to a grid in a single new PNG BUT still transparent (!) What is the best & easiest way?
I've made a collection of over 100,000 PNG icons over the years using Photoshop CS6.
All are with transparent background in 72x72px @ 72ppi and sequentially saved as 00001.png 00002.png ... 10000.png ...
0
votes
1
answer
105
views
ZeroMemory a struct with std::string and assigning value to it has different behavior in VS2010 and VS2017
We are upgrading an old MFC project from VS2010 to VS2017, and we discovered a different behavior when assigning data to an std::string inside a struct which was cleared using ZeroMemory.
I created a ...
1
vote
1
answer
58
views
What must I do for visual studio 2017 to use the natstepfilter file to avoid stepping into std library functions and class methods?
First, I am testing this capability by editing the default.natstepfilter file on purpose. I realize that there is a just my code feature built into visual studio now and an associated compiler ...
0
votes
0
answers
634
views
How do I connect Visual Studio 2017 to BitBucket in 2022?
I use Visual Studio 2017 to connect to BitBucket. VS has been set up by IT for years. All I do is push/pull/fetch from inside Visual Studio. Today, I started getting errors. I remember seeing ...
0
votes
1
answer
24
views
Seeing many compilation errors after upgrading my c++ project to VS19
I had built a c++ dektop project with VS17.
Now due to certain requirements, I needed it to migrate to VS19.
After making changes to compile my project with VS19, I am seeing many errors like below:
...
0
votes
0
answers
51
views
can't select table when starting mysql database connection in visual study 2017 for c#
My visual studio 2017 can't load MySQL database.
But if I pressed next these happened:
when I click next a dialog should appear to select a table, but after I click next a pop up window appears by ...
0
votes
1
answer
36
views
Why EnvDTE.ProjectItem.FileCodeModel is Null on Dynamics 365 in VS 2017 project
I am writing code to get the CodeElements from .xpp file in D365 project, but FileCodeModel value is always null
foreach (Project project in applicationObject.Solution.Projects)
{
...
0
votes
0
answers
35
views
Setting in VS 2017 to prevent projects from using Roslyn by default
Whenever I create a new web project using my visual studio 2017, it creates it with a file named packages.config which contains reference for:
Microsoft.CodeDom.Providers.DotNetCompilerPlatform
<...