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.

0
votes
0answers
5 views

How to get Task List of Visual Studio with PowerShell(EnvDTE)

I'm createing a PowerShell script that output Task List of Visual Studio 2017 via EnvDTE. OS is Windows 10 Home x64. The task list is listed many TODO comment. But EnvDTE.TaskList.Count is zero. How ...
0
votes
0answers
11 views

HTTP Error 502.5 - Process Failure when trying to run my project

I am trying to follow this tutorial, my program has the API template https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&tabs=visual-studio but when I run ...
0
votes
0answers
11 views

C++, CLI | a handler from an unmanaged class is not allowed

I'm trying to write a serial interface with C++ CLI. That was project specification. I can code with regular C++, but not with .NET . My Problem is the error message: a handler from an unmanaged ...
1
vote
1answer
51 views

Strcpy doesn't work in user defined array

I am trying to assign element hash table[TABLE_SIZE] with input text file. So I used strcpy function. But it didn't copy into the array. I've tried malloc to make the array in order to write in it. ...
0
votes
0answers
30 views

how to fix conflict system.Net.http

Hello I try to install the todo list azure https://developer.xamarin.com/samples/xamarin-forms/WebServices/TodoAzure/ when i compile i get a warning about systeme.net.http i found this about it but i ...
0
votes
0answers
15 views

How to generate binaries for linux in WFA, along with .exe, in c#?

I need to make a Linux GUI program in c#. I am unhappy with how designers like glade and mono sit widgets and things. I decided to just make a Windows Form App in VS2017 on Windows 10 and generate a ...
0
votes
0answers
11 views

SSDT 2017 Visual Query Designer doesn't prompt for parameters during preview

I recently installed SSDT for VS 2017. One big change to this compared to all previous versions of BIDS and SSDT (and even SSMS 2018) is in the visual query designer...it has been completely changed. ...
0
votes
0answers
4 views

Display user control in active workbook

I have a VSTO Excel Add-in project. I have a ribbon called "ManageTaskPaneRibbon" and on the ribbon I have a toggle button called "toggleButton1" which opens a User Control called "TaskPaneControl". ...
0
votes
0answers
21 views

Have to modify Visual Studio 2017 ED after every start to be able to add basic class to project

Even though the .NET package is installed, I have to open the VS Installer every time after closing the VS-2017, uncheck, and check back the .NET package, and then modify the Visual Studio, which ...
0
votes
1answer
10 views

How to create unedtiable / locked regions in templates in IntelliJ IDEA or Visual Studio

I have created a template file in my project which I want to apply to almost all pages in my website/project. Ideally I would like there to be editable regions and unedtiable/locked regions in the ...
-3
votes
0answers
49 views

Floating point rounding differences between Release and Debug despite optimisations turned off [on hold]

I have encoutered a floating point rounding issue during a compare operation (invoked during std::unique?) in my code which does not manifest in Debug. I have managed to fix the issue by applying a ...
0
votes
1answer
8 views

When I build, VS can't find “x.js” but uses “x.min.js”

Problem: When I build my solution in VS2017, it gives an error that it can't find "xyz.js" file in the directory. However it will run the solution with no issues, because there is a xyz.min.js file ...
1
vote
1answer
10 views

Is there any way to open the regular editor for a code file from the diff view in Visual Studio?

If I double click a file in Pending Changes, I get the diff view, which is nice, but sometimes I want to edit the file instead. Is there any way to bring up the regular editor from the diff view or ...
-1
votes
1answer
25 views

C++ How to export documentation based on code comments/summary from Visual Studio 2017

I'm working on unreal engine project. With C++ in Visual Studio 2017. Now I'm trying to get documentation (in text file format) from code comments or summary. I googled that there should be a "...
0
votes
1answer
14 views

Visual Studio automatically renames external tool path

I am trying to set some external tools paths in Visual Studio 2017 and for some reason, certain entries get automatically renamed. Under Tools > Options > Projects and Solutions > Web ...
-8
votes
0answers
41 views

C++ | Too few arguments for class template “std::array”

I want to save the serial port names from the "System::IO::Ports" namespace methode in an object array, but i get an error message: Too few arguments for class template "std::array" The marked ...
0
votes
0answers
9 views

Visual Studio Design time data not updating

I have Visual Studio 2017 Pro and I am working on a big WPF project. Since a week back all design time data in the project I am working on is not longer rendered in the Visual Studio XAML designer. ...
0
votes
0answers
17 views

Visual Studio setup project: content files are not installed

My C# application project has a file called NLog.config that needs to be installed in the same folder as the application executable. In the application project, I've set the following properties for ...
0
votes
0answers
16 views

Display std::string in textbox (combobox) [duplicate]

I read the COM ports from the registry and get the results in a cstring. Now i want to display the result in a textbox (combobox). The Error Message is: System::Windows::Forms::TextBox::Text::set"...
-3
votes
0answers
19 views

How can I easily format text (bold, italic, color) in Windows Form?

I am developing a software that acts as a catalog for employees of my company (detailing procedures, role expectations, etc.) and I am doing it in Visual Studios 2017 Windows Form (C#) and including ...
0
votes
0answers
26 views

Why is 32 bit machine.config is being used, when my windows is 64 bit?

My ASP.NET MVC project is reading machine.config from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config But why? I would expect it to use Framework64, because I am using a 64-bit ...
0
votes
0answers
15 views

shadow copying a .dll on VS 2017 using vb.net

I currently am running 2 applications side by side. Once I import something into my external application (located in the same folder as my project folder), and then I try to build the project, it ...
-1
votes
0answers
6 views

Is there a way to get a particular Platform Toolset (or set a compile flag) to be used for a files with a particular extension?

I was looking into using the LLVM toolset to look over code for bad C++ practices and VC++ extensions so that they can be fixed. However, it looks like there are some autogenerated files that are ...
0
votes
0answers
29 views

Need to Find specific messages in Inbox, save attachment to share, then move email to different folder VB.Net

I can connect to the outlook account, I can find my message(s), I can save the attachment to share, just can't figure out how to move to a different folder once the attachment is saved. Once all is ...
0
votes
0answers
13 views

I am unable to configure/create a project with Specflow3 and VS2017

I am trying to create POM with specflow3 in VS2017. I have added below nuget packages. I am facing issues while setting up the project itself Specflow.Nunit Speclow.Tools.MSBuild.Generation Specflow....
1
vote
1answer
43 views

MFC assertion to work in global destructors

I'm writing an MFC GUI app with Visual Studio 2017. And I was naturally using its ASSERT/VERIFY macros to do some debugger code checks. But unfortunately those do not work in global destructors. For ...
0
votes
0answers
25 views

Libcurl function curl_easy_perform never returns when performing POST request

I compiled libcurl 7.64.1 like a static library and I linked to a DLL of mine, both I built using Visual Studio 2017, Windows 10 Pro x64. I am following this example https://curl.haxx.se/libcurl/c/...
-1
votes
0answers
10 views

Code does not run after unexpected power off while VS 2017 was open

After I had to power off my computer while Visual Studio 2017 was open with my code, the code does not run any more on that machine. I can compile my code in debug or release mode without error, but ...
0
votes
0answers
9 views

Visual Studio 2017 Intellisense with HTML in reactjs .js file

If I create a brand new React.js project in Visual Studio 2017 using the menu options: File -> New Project -> ASP.NET Core Web Application -> React.js And I simply navigate to the generated file \...
0
votes
1answer
32 views

.NET Core WCF: How to Upgrade 'dotnet-svcutil' Version

Visual Studio 2017 .NET Core 2.2 Reference to WCF .NET Framework (4.6.1) when update service reference, These lines appear at the top of the reference.cs file: [System.Diagnostics....
0
votes
1answer
15 views

No 'ASP.NET MVC 4' assemblies when installing Visual Studio Build Tools 2017

I have a TeamCity build machine with VS2017 build tools installed. The problem is that I don't see any 'ASP.NET MVC 4' installed in "c:\Program Files (x86)\Microsoft ASP.NET" folder. The assemblies ...
0
votes
0answers
13 views

How to change a user macro for a reference?

I have a cpp solution in VS 2017. It has a reference to a .dll. the dll comes from an external software, the external software was ver1, and now I upgraded it to ver2. The old .dll file is no longer ...
1
vote
1answer
36 views

You do not have permission to access the IIS configuration file - Web app error

I am trying to load existing c# web applications and getting below errors while loading any web project: Creation of the virtual directory http://localhost:/ failed with the error: You do not ...
-3
votes
1answer
32 views

How to target .NET Core with a classical VS csproj?

For reasons I cannot explain on SO we cannot update one of our projects to the new VS2017 csproj format, it has to stay "classical". We still want the project to target .NET Core 2.1. How to do that? ...
0
votes
1answer
74 views
+50

Class not Registered Error on Visual Studio 2017 with MySQL

I am migrating my standalone VB.NET developed Windows Forms Application from SQL to MySQL and while doing that I am using an online database. Here is the scenario. Application is developed in Visual ...
0
votes
1answer
37 views

Undefined errors even though I included the correct library

I'm getting an undefined error on strlen and strcpy even though I included <cstring>. I'm using Visual Studio Community 17. Here's what I done so far and none worked: using namespace std std:...
0
votes
0answers
39 views

Keep SignalR connected and able to receive messages when app is in the background

I've got my SignalR client/server basically working the way I need it to and now I need to keep the client connected even when the app is in the background. I've been plugging away at this for about ...
-4
votes
1answer
36 views

Using opencv to find the shortest path for a set of 6 points on an image

I have managed to find six points of interest on a 2d image. Now, i need to draw a path which is of the shortest distance to connect these points. the path starts at point 0 and will not loop back ...
0
votes
0answers
16 views

Can't open project in Visual Studio after upgrading .NET Core

I'm working on an ASP.NET Core application. The AWS environment the application is deployed on has been upgraded to .NET Core 2.1.604 and my local environment was on 2.1.402. So I downloaded the .NET ...
0
votes
1answer
22 views

How can I set an expression for an external image when the file name is coming from a stored procedure column

My team and I are in the process of migrating from Crystal Reports to SQL Server Reporting Services. A handful of our reports involve what my team refer to as "dynamic external images". What this ...
0
votes
0answers
33 views

Warnings converted to errors once build completes

In Visual Studio 2015, 2017, and 2019 I have a weird issue where warnings get converted to errors and double clicking them does nothing (rather than link me to the code with the problem.) For context ...
0
votes
0answers
7 views

Debugging issue with Google Chrome always running same code

When debugging, I notice Google Chrome will continue running the same code. Eventhought I change, comment delete... it. No matter what, same code is executed as if it's cached somewhere. The only way ...
0
votes
0answers
16 views

How to re-add a deleted VSTO Add-In

I've got a strange issue with a Word VSTO add-in on one machine where running the visual studio project opens word but does not attempt to start the add in as far as I can tell. I got to this point ...
0
votes
0answers
12 views

SSRS OraOLEDB.Oracle provider is not registered on the local machine

I have been trying to create a Data source in SSRS to the oracle DB. I have already installed Oracle 12.1.0, updated the windows environment variable to the oracle folder and registered the regsvr32....
0
votes
0answers
17 views

Android Phone doesn't show in Visual Studio

We have a existing Cordova app (built in Visual Studio 2017) that I need to work on. However whenever I plug an Android device into my PC it doesn't show up on the list of available devices. When I ...
0
votes
1answer
24 views

Referencing Assemblies when executing U-SQL Application scripts against local-project

I have a U-SQL DB Project (USQLdb) that defines a U-SQL database and it's constituent tables, procedues, etc. This project also references two assemblies for use in one of the stored procedures. The ...
0
votes
0answers
31 views

How to solve “expected an expression error” using CUDA with VS2017

I am getting an error when using triple angle brackets to mark a call from host code to device code, which look like this: <<< param1, param2 >>>. The code I am using: // Launch a kernel ...
0
votes
1answer
18 views

Return data from DialogFragment to calling activity

I have a DialogFragment that is working and need to return the selected item from a spinner. I've tried many methods that I've found on Stack Overflow and other places but they are all using java ...
-1
votes
0answers
30 views

Is there a way to find an image file at runtime and assign it to a picturebox?

Currently trying to assign an image file to a picturebox in C#.NET forms based application. However, the issue is that the program can't find the file despite the fact that I have the exact filepath, ...
0
votes
1answer
36 views

How do I repeat an action in c# to fix the jumping mechanism

I'm creating a basic 2D platformer game however the jumping mechanism will only run once and land directly afterwards. How do I loop this? I tried detection collisions (from tag: Terrain) and this ...