Category "visual-studio-2017"

How to install Entity Framework in a .Net Framework v4.6.1 application using Visual Studio 2017

My first steps in C# are horrible. Now I'm trying to install Entity Framework. For doing that, I just go to the NuGet package manager, I type "Entity" and try t

Invalid option '7.3' for /langversion; must be ISO-1, ISO-2, Default or an integer in range 1 to 6

I'm using Visual Studio 17 (version 15.8.5), my project targets .NET Framework 4.8 and I've tried setting the C# version to use (via Build tab in the Properties

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

combobox tostring() returns object instead of value

I want to retrieve the string value selected in a combo box and convert into an integer, however the SelectedItem method always returns the name of the object.

Visual Studio 2017 doesn't see mapped drives

I'm running Visual Studio 2017 on Windows 10 1803 64-bit. I have a mapped drive (H:) and when I try to run an SSIS package that depends on finding files in that

Schema compare - Unexpected exception caught during population of source model: Object reference not set to instance object

I've been running a schema compare in a database project in Visual Studio 2017, when I do this I get the following message in the Error List tab: Unexpected

Visual Studio, Copy files to project directory problem

I have Visual Studio community 2017. coming from eclipse it was just enough to copy file to project directory and hit refresh then files were appearing in proje

Dependency injection error pops up whenever I try to install a certain Discord Package

I'm really new to programming, but I felt like trying out some bot-development for my discord server, like one that will occasionally say hello to people when t

error 1503 the service didn't respond to the start or control request in a timely fashion

I have installed a Windows Service for my project, this error pop out when I start the service. error 1503 the service didn't respond to the start or contro

Adding a CSV file to a project in Visual Studio

I am working on a project where I have to read in serveral pre-existing CSV (dog.csv, horse.csv, etc.). I want to know how would I add these file into my projec

Multi-user finguerprint registration and detection in windows hello

I'm using Windows 10 and VS2017.I have a Fingerprint sensor and Windows hello installed and working fine. It detects fingers. I'm now developing a UWP app for

"Illegal characters in path" while cloning with git from Visual Studio 2017

On Visual Studio 2017, I can not clone a repository with git. I'm having this error message: The repository url is good and the destination folder is also fi

error MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.3\Microsoft\Portable\v5.0\Microsoft.Portable.CSharp.targets" was not found

I have .net core test project. When I build it in visual studio or use the TestManager it build without a problem. But when I execute the following command on t

SSIS - package works in VS, fails with "Failed to compiled scripts contained in the package". There are no script objects in the package

VS2017, Deploy to SS2016. Package runs without any errors from VS. Project deployment to a server that previously had package deployments only - we're moving to

Issues connecting to Nuget. Cannot turn off proxy

In Visual Studio 2017 I'm trying to connect to the nuget server to update some stuff, but I'm getting this error: [nuget.org] Unable to load the service ind

How to compile Less/Sass files in Visual Studio 2017+

In VS <= 2015 we can use a WebEssentials extension that takes care for compiling the less/sass files for us, but currently it does not support VS 2017. Is th

Xamarin Android: java.exe exited with Code 2 -- MultiDex enabled

After the most recent update (Xamarin.Android.Support libraries, V28.0.0, Build tools 28.0.3), every build is failing with "java.exe" exited with Code 2 I had

How to remove BOM (Byte Order Mark) in CSV export using visual studio SSRS 2017

When I export data to CSV file using SSRS 2017 I got BOM (Byte Order Mark) in the data. How can I get rid of it? I tried the below link, but I cannot find rsr

tf.exe "you are not authorized to access", is not accepting my login parameter

I'm trying to solve this problem since a long time, every execution I perform on TF.exe command, is throwing TF30063 exception, when i'm the admin and the only

Nuget Package Source is not prompting for credentials

I've added a NuGet Source. It needs credentials but when I'm installing a package using install-package packageName nothing happens. I tried the same steps on