Questions tagged [visual-studio-2017]

1

votes
1

answer
176

Views

Disable Docker in Visual Studio

I have a Visual Studio Solution that I've been working with. This solution has a console app in it. Notably, I've been running Windows within a Bootcamp partition on my MacBook Pro. A developer on my team wanted to use Docker. I agreed, thinking it wouldn't impact the console app itself. However, I...
Zach Templeton
1

votes
1

answer
319

Views

VS2017 15.7.3 is no longer hitting breakpoints Xamarin.Forms

I have a Xamarin.Forms app using VS2017 (Windows) and since I've upgraded to 15.7.3 I am no longer able to hit breakpoints. Instead, anytime there is a breakpoint to be hit I see the following: It doesn't matter where I put a break point, the debugger never stops there. I've even tried Debugger.Br...
Mark Erickson
1

votes
0

answer
85

Views

Dependency problems after update nuget packages of a VISX project

I'm creating a VISX project. It runs normally, but after I update all it's nuget packages, it start to show errors when I try to run it in the Visual Studio Experimental Instance. I tried to revert the packages, but it seems that some packages versions are no longer available for download. The main...
Thiago Romam
1

votes
0

answer
42

Views

Collapse summary by default

Is there an option so Visual Studio Professional 2017 would collapse all summarys by default? Or at least a kaybind for that. I couldn't find anything on the internet or in the options. Some plugin would also be an acceptable answer Macros don't work since they were removed from Visual Studio in pre...
Wojtek Pojda
1

votes
0

answer
22

Views

How Can I Apply VS Code Keyboard Shortcuts to Visual Studio 2017

Preface: I'm a long-time user of VS Code for JavaScript and .NET Core. I think it's a great tool and I am extremely productive in it for most of my work. There are times, however, where I need to use Visual Studio 2017 for .NET Framework projects. Question: Is there a way to import my VS Code keyboa...
dapperdan1985
1

votes
0

answer
82

Views

C++/CLI & Inconsistent layout information in duplicated types (std._Tree_unchecked_const_iterator)

I have got an issue after using the Platform Toolset v141 in Visual Studio 2017 for Debug 64 bit compilation. typedef std::map MapIntToManaged; int main(array ^args) { MapIntToManaged testMap; for (auto &it : testMap) {} return 0; } This results in the linker error error LNK2022: metadata operation...
seb
1

votes
0

answer
444

Views

How to Debug Angular 5 using ASP.NET Core in Visual Studio 2017

I created a ASP.NET Core project in Visual Studio 2017 following the VS available template with Angular 5. After that I've configured my tsconfig.json : And in Startup.cs I added Spa configuration: app.UseSpa(spa => { spa.Options.SourcePath = 'ClientApp'; if (env.IsDevelopment()) { spa.UseAngular...
Radu Olteanu
1

votes
0

answer
64

Views

The ios simulators doesn't show in my XamarinForms project

I can't test my ios application in visual studio 2017, Windows 10. I managed to connect to my mac from VS. I installed XCode 9.4.1 on the mac. The osx version is 10.13.4 High Sierra. Restarted both machines as well. In the Info.plist file the Deployment target is 11.0. I tried to set it to 10 but do...
Ferenc78
1

votes
0

answer
423

Views

“cmd.exe” exited with code 3 in Visual Studio 2017 when building a C++ app with a lot of “The system cannot find the path specified.” int the output

I am building my first C++ project, that I tried to debug, because of an issue. The project has not been build for the past 4/5 years, but the instructions were to run a bat file, which ran a 'qmake -t vclib' for all directories in the project. This created a .vcproj file. Opening the file said 'Th...
Lach P.
1

votes
0

answer
587

Views

unable to start process bad code 502 bad gateway error dotnet.exe vs 2017

I have started a .net core angular web application using visual studio 2017 (Windows 7 machine). Things were going well until I started hosting Jenkins on my local machine for a test. Now I am unable to start the project and I am getting this error: unable to start process c:\program files (x86)\do...
Adel
1

votes
0

answer
94

Views

Unable to run tests as they are skipping

Error Message: Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again. Getting below error after running script in MS VS Enterprise 2017 [6/19/2018 6:57:11 PM Informational] ------ Load Playlist started ------ [6/19/2018 6:57...
1

votes
0

answer
68

Views

Arabic characters displays tangled incorrectly in crystal reports

I am using Crystal Reports for VisualStudio v13.0.23 for Visual Studio 2017 and I am creating a report that is in Arabic language Here is a screenshot of the right display (that’s when activating – in focus - the textbox for editing) However, this wrong display appears when textbox loses focus...
Ahmed Nazmy
1

votes
1

answer
22

Views

visual studio javascript file editing messes up

I am new to web-development and try to check out the .net-core 2.1 + react template under visual studio 2017. The Intellisense works just fine, but when I try to edit any .js-file, the file messes up. When I press enter to add a new line, the line where my cursor was positioned before gets pushed to...
Olli
1

votes
1

answer
164

Views

How to set environment variables on remote linux host in a visual studio crossplatform cmake project

I'm using Visual Studio 2017 to edit a cmake project according to this tutorial However, my environment is of 64bit, and I need to build a 32bit program. And yes I have all the i386 dev libs on my machine. I can achieve this on linux simply by typing CC='gcc -m32' CXX='g++ -m32' cmake .. But I just...
peorthijel
1

votes
1

answer
34

Views

Creating an extension method for HtmlHelper that takes an Action<T> causing auto formatting issues in VS 2017

Current code I have created an extension method for HtmlHelper that is defined as follows: public static IHtmlString MyMethod(this HtmlHelper helper, Action action) { MyClass settings = new MyClass(); action(settings); // Here I can now use the settings as defined in razor view. } The purpose of cre...
musefan
1

votes
0

answer
23

Views

SSMS and Visual Studio run only with run as administrator

I rebooted this morning and now my SSMS (v17.7) and Visual Studio Community 2017 (v15.7.4) run only if I start them with Run as Administrator. If I simply try to open them, nothing happens - I get a wait cursor for a couple of seconds and the app never starts up. I used to be able to simply open t...
harleygnuya
1

votes
0

answer
173

Views

docker VS 2017 - Not able to start container

I am new to docker. I have VS 2017 community edition installed on my machine. I have installed Docker for windows Docker tools for windows. I created a new ASP Dot net core 2.0 Web API project with 'Enable Docker Support' option enabled. I was able to build default project but when I start debu...
user2243747
1

votes
1

answer
149

Views

How to enable Intellisense of my own .Net library for a Python application in Visual Studio 2017?

I am using pythonnet ( https://github.com/pythonnet/pythonnet ) and have referenced a .Net library within the same solution space but it does not seem to pull in any information to use for Intellisense. In fact, VS gives an error: 'Unable to resolve 'ReferenceLibarary'. Intellisense may be missing f...
N_tro_P
1

votes
0

answer
65

Views

Immediate window - how to call a function from a DLL which has hyphens, periods and numbers in its filename?

I want to run this in the immediate window: ?(char*)mono-2.0-bdwgc.dll!mono_pmip((void*)0x0000017866931945) I get this back: identifier 'mono' is undefined The DLL with that name is definitely loaded. I have tried encasing the DLL name in quotes, parentheses, backticks etc - I get either 'unrecognis...
Ben Hymers
1

votes
0

answer
163

Views

Unable to debug app service in azure: MSVSMON does not appear to be running

I am developing a web app bot in azure and I am having trouble remote debugging it using VS 2017. The debugging worked for me before (I used Server explorer > MyResourceGroup > app service > attach debugger), but now all of a sudden it doesn't, showing the following error: I have verified the debugg...
Shalom Aleichem
1

votes
0

answer
583

Views

Visual Studio 2017 Linux remote debugging (gdbserver)

After I installed gdbserver on my remote machine (Ubuntu 16.04.4 LTS), I tested the following c++ code by making a 'cross-platform console application (linux)' project in Visual Studio 2017: #include int main() { printf('hello from testLinuxDebug!\n'); return 0; } I added the connection information...
Simon
1

votes
1

answer
659

Views

Are there any free alternatives to VisualSVN or AnkhSVN?

I know it already exists this same question, but since it's from 2009, I want to ask it again to know if there is any good other alternative. In the question I referenced before, they mention: AnkhSVN: Not working in the latest Visual Studio 2017 versions. TortoiseSVN: Not integrated with Visual Stu...
likefurnis
1

votes
0

answer
86

Views

MVC5 Microsoft.Owin.Twitter 403 Forbidden error

Hello Can someone help me resolve this 403 error that fails on client call to api.twitter.com. Just like the other user posted. This used to work and now it doesn't. I've tried changing the CallBackUrl in the twitter API settings: twitter app settings> Can't seem to get a valid response. Tried creat...
Rick Freeman
1

votes
1

answer
90

Views

Why does Visual Studio show older version next to project name despite an upgrade?

I opened a Visual Studio 2013 solution in VS2017. I was prompted to convert my solution and projects, which I did. If I right-click on a project and select Retarget, I can choose to use Windows SDK 10.0.17134.0 and Platform Toolset v141, I've done this manually as well. I can build my projects and r...
autonomy
1

votes
1

answer
183

Views

Failed to Install pygraphviz through Visual Studio 2017 15.7.1

Here's the error code I'm getting ----- Installing 'graphviz' ----- Collecting graphviz Downloading https://files.pythonhosted.org/packages/84/44/21a7fdd50841aaaef224b943f7d10df87e476e181bb926ccf859bcb53d48/graphviz-0.8.3-py2.py3-none-any.whl Installing collected packages: graphviz Successfully inst...
Prashant Dey
1

votes
2

answer
308

Views

Why vsnwprintf missing

I using vsnprintf for ansi string and it works well, returns -1 only on error and returns count of needen size if it does not fit into buffer. I need same function for wide strings, vsnwprintf just not exists. I also tried _vsnwprintf, but it acts really different, it returns -1 even if buffer too s...
1

votes
0

answer
26

Views

Visual studio is marking the debug folder as read only

I have a c++ visual studio 2017 project, and every time I compile in debug mode the debug folder is marked as read-only. This force me to manually delete the debug folder in order to be able to recompile the project. The project itself has a copy command in the post-build events to copy the .dll dep...
1

votes
0

answer
50

Views

Function “hiding” and OnSize

I really don't get this. Take the OnSize function: afx_msg void OnSize( UINT nType, int cx, int cy); So, it is not virtual. So we make our own method using ClassWizard in our derived class. Eg: void CCreateReportDlg::OnSize(UINT nType, int cx, int cy) { CResizingDialog::OnSize(nType, cx, cy); if...
Andrew Truckle
1

votes
0

answer
14

Views

Visual Studio looks for an older assembly version on the very first run

Visual Studio Professional 2017 Version 15.7.4 I have a web project (MVC) that whenever I run it from visual studio, it opens the browser (I have reproduced it in both Chrome and IE) and shows the following error: Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, Pub...
CPay
1

votes
1

answer
49

Views

WebForms Report Viewer JavaScript Error

I get javascript errors when adding a report to an ASPX page. When clicking the view button I get javascript errors. A simple report with a set of parameters throws the following javascript error. I'm using the local processing mode with a dynamically generated set of data sources and parameters. Wh...
Saeid
1

votes
0

answer
150

Views

The report definition has an invalid target namespace ISSUE

IDE : VS Studio 2017 DB : Oracle SQL I keep on having this kind of error Things I do resolving this but nothing helps me w/ my issue : I already add the latest version (140.1000.523) of Microsoft.ReportingServices.ReportViewerControl.WebForms I also tried to find the TargetServerVersion but seems o...
1

votes
2

answer
232

Views

How to exclude all content files?

With NuGet 4.6.2, how to exclude all content files when creating the package from a project file using PackageReference? I run this command as postbuid event : $(SolutionDir)\.nuget\nuget pack $(ProjectPath) -IncludeReferencedProjects -properties Configuration=$(ConfigurationName) -symbols I tried t...
Troopers
1

votes
1

answer
248

Views

Visual Studio for Mac won't start after updating to version 7.5.3 - Assemblies not properly installed in the GAC

I updated Visual studio for mac from beta channel to latest stable channel and now it does't start anymore. I reinstalled it and still doesn't start. Here is a portion of the logs: INFO [2018-07-04 00:16:23Z]: Starting Visual Studio 2017 for Mac 7.5.3 (build 7) INFO [2018-07-04 00:16:23Z]: Running o...
François
1

votes
0

answer
388

Views

IIS Express Telling me a port is in use, but netstat says otherwise

I am trying to launch a IIS Express Server from Visual Studio, but it never launches. After trying to launch it from powershell, I get the error 'Failed to register URL 'http://localhost:49712/' ... The process cannot access the file because it is being used by another process. (0x80070020)' So natu...
Andy
1

votes
1

answer
231

Views

Why is visual studio creating app.configs for assembly redirection?

I have a solution with about 100 projects. I don't know exactly what triggers it but Visual Studio occasionally adds an app.config to each of my projects. It usually looks like this: As far as I can tell, these app.config files are not needed. Everything appears to work fine if I revert all these ch...
sirdank
1

votes
1

answer
68

Views

How Visual Studio syntax highlight works?

When I create a tag 'style' in an aspx page, Visual Studio highligths code using css style syntax to highlights and formatting. When I create a tag 'script', Visual Studio does the same, but using javascript style syntax. When I create a .scss file, Visual Studio has scss syntax. I created a new ser...
1

votes
0

answer
30

Views

Visual Studio's Folder View context menu

In Visual Studio 2017 it is possible to switch Solution Explorer into a folder view by pressing the Solutions and Folders button on the toolbar at the top. I want to add something to the context menu of the root folder in this view. I've been into 'Customize...' switched to the 'Commands' tab and am...
Martin Brown
1

votes
2

answer
741

Views

Show NLog output in debug window of asp.net core app

Is it possible to show what NLog (or builit-in debugger) is logging in the Visual Studio 2017 debug window? I have NLog set to output to a file but for development it would be really handy to be able to see the debug messages in the debug window. I can see articles written on how to do this with co...
Guerrilla
1

votes
1

answer
47

Views

How to avoid loading node_modules and .ts files on production mode in angular 4 with Visual Studio 2017

My project is built on angular 4 over asp.net mvc(VS2017). While on the production mode all *.ts file and node modules are loading to browser , How do i avoid loading *.ts files and node_module folder to browser on final release.
user3701818
1

votes
0

answer
342

Views

Xamarin.iOS Debugging not working

I have a very simple Xamarin.iOS project working on Visual Studio on Windows 10, the project contains two text box and one button. Whenever I click on Debug (Iphone X iOS 11.4) Visual Studio start to build the application, then I receive the success message: ========== Build: 1 succeeded, 0 failed,...
AKO

View additional questions