Posts

Showing posts with the label visual-studio-2017

fatal error LNK1104 'libboost_date_time_vc110-mt-gd-1.51.lib'

Image
Clash Royale CLAN TAG #URR8PPP fatal error LNK1104 'libboost_date_time_vc110-mt-gd-1.51.lib' I am trying to build a program made by someone else (VS2012) on visual studio 2017 and this isn't working. 1>LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc110-mt-gd-1_51.lib' I'm not even sure why it is searching for this file specifically, besides all the files are -vc141- and not -vc110- . Is there any way to specify to look for any libboost_xxxx_-vc141-xxxx.lib ? Is there any reason why it is searching for another vc format? I've checked the project's properties in C++General->Additionnal include directories , LinkerGeneral->Additional Library Directories and LinkerInput->additionnal dependencies and nothing mentions vc110 . -vc141- -vc110- libboost_xxxx_-vc141-xxxx.lib C++General->Additionnal include directories LinkerGeneral->Additional Library Directories LinkerInput->additionnal dependencies vc110 ...

Have a IDE Scaling issue in VS2017 Winforms Application

Image
Clash Royale CLAN TAG #URR8PPP Have a IDE Scaling issue in VS2017 Winforms Application I've googled this, and wasn't able to find exactly what I needed. So I will present it here and see if there is quick setting I can change that solves this issue. My issue is one of Scaling, but not in the run-time sense as you (and Google) would suspect. Rather it's in the VS2017 designer itself, in that the point location settings for controls on a form wont stay consistent from one resolution to another. Here is what I mean: Workstation @ work is Windows 10 (v1709), on dual 1920 x 1080 monitors. Workstation @ home is Windows 10 (v1709), on triple 4k monitors (dual GTX-1080's in SLI). Same project (working on it at work and home). When I open the designer @ home, naturally everything is smaller.. but some control items are 'out of place' point wise. So I adjust them and continue on. When I get to work, I have to adjust those same controls yet again. Now I am already guessing...

Passing --env.prod Value to Webpack 4 with Visual Studio 2017 SPA

Image
Clash Royale CLAN TAG #URR8PPP Passing --env.prod Value to Webpack 4 with Visual Studio 2017 SPA I am trying to upgrade my SPA to Angular 6 (which is based on the Visual Studio 2017 SPA). I in my package.json i have the following; package.json { "name": "mjyproject", "private": true, "version": "0.0.0", "scripts": { "test": "karma start ClientApp/test/karma.conf.js" }, "devDependencies": { "@angular/animations": "^4.4.7", "@angular/common": "^4.4.7", "@angular/compiler": "^4.4.7", "@angular/compiler-cli": "^4.2.6", "@angular/core": "^4.4.7", "@angular/forms": "^4.4.7", "@angular/http": "^4.4.7", "@angular/platform-browser": "^4.4.7", "@angular/platform-browser-dynamic": "^4...

C# Curly Brace Formatting Visual Studio 2017

Image
Clash Royale CLAN TAG #URR8PPP C# Curly Brace Formatting Visual Studio 2017 I'm new to Visual Studio Code and I have moved there from Atom since I'm learning C#. This is also my first time posting a question here, so pardon me if I haven't done a good job. for(int i = 1; i < args.Length; i++){<cursor>} I want to be able to press enter and the code should look like: for(int i = 1; i < args.Length; i++) { <cursor> } I know other people have faced similar problems but I've researched for hours and fiddled around with the setting to no success. I am using Visual Studio 2017, latest version. Please ask questions if you need any more information. Thanks! Press enter after the ( and then type { and it will make {} press enter again and you will get the format you wanted – BugFinder 22 mins ago ...