why cannot find Ws2_32.lib after installing VSTS 2010 SP1?
Do I have to install windows SDK?
Yes, download and install the Windows SDK. It'll be the Windows 7 SDK in your case for VS2010.
http://cboard.cprogramming.com/networking-device-communication/98804-cannot-find-ws2_32-lib-socket-programming.html
Related
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 install packages properly (all packages).
I've tried to install (for example) Newtonsoft.Json but it failed with the following error:
Error Install Log
I have tried to reinstall to NuGet package manager.
I have tried to reinstall VS (both 2017 and 2019).
Any help\ suggestions will be appreciated.
Thanks, Asaf
I have a created a simple AWS Dotnet core API in visual studio and now I need to install Amazon.Lambda.Tools 3.1.1 NuGet package But, whenever I try to install this NuGet package I get this error
The error:
Package 'Amazon.Lambda.Tools 3.1.1' has a package type 'DotnetTool' that is not supported (Project name)
I am running VS 2017(15.9.3) on Windows 10 and Dotnet core 2.1.500
Any ideas!!
I was able to solve it by adding
Amazon.Lambda.Tools to csproj and then deleting Microsoft.AspNetCore.All from csproj
I have a problem with Visual Studio 2017. When I install any package, nuget manager not installs dependencies. For example, Microsoft.EntityFrameworkCore.Sqlite has 2 dependencies and I must install it manually.
Is it normal behavior? As I remember in the past nuget manager did dependencies installation automatically.
VS2017 NuGet: Dependencies not install automatically
Your package should be managed as packagereference. You could edit your project file .csproj to check it.
Unlike packages.config, PackageReference lists only those NuGet packages you directly installed in the project. As a result, the NuGet Package Manager UI and the project file aren't cluttered with down-level dependencies.
Besides, the dependencies info included in the project.assets.json in the obj folder. You do not need to install the dependencies manually.
You can check the document Migrate from packages.config to PackageReference for some details.
Hope this helps.
Trying to install this specific NuGet package in an offline VS2017 environment.
However, despite downloading the .nupkg file and saving it in the specified offline NuGet package directory under "NuGet Package Manager Settings", the package does not appear in the list in the NuGet package manager in VS2017.
Do I need to unzip the file first? Have tried that but receive the error that the .nupkg file does not contain a .nuspec file (despite clearly containing one in File Explorer).
Could someone with VS2017 try to install this specific NuGet package in an offline VS2017 environment and provide a clearly worded, unambiguous step-by-step guide on how to install the package?
Could someone with VS2017 try to install this specific NuGet package in an offline VS2017 environment and provide a clearly worded, unambiguous step-by-step guide on how to install the package?
To accomplish install nuget package in an offline VS2017 environment, please following below steps:
Manually download that nuget package, save it to your local location, for example, D:\Test\NuGet. You will get a file ending in .nupakg: nupengl.core.0.1.0.1.nupkg.
Open a command prompt with administrator from start menu, switch the path to where nuget.exe exists, for example, C:\Users\Admin. Then add the download package to the ffline NuGet package directory: C:\Program Files (x86)\Microsoft SDKs\NuGetPackages by below command:
nuget add "D:\Test\NuGet\nupengl.core.0.1.0.1.nupkg" -source "C:\Program Files (x86)\Microsoft SDKs\NuGetPackages"
After that, you will find the nuget package be added to the the offline NuGet package directory with a hierarchical layout:
Then you can use this nuget package when your Visual Studio 2017 without an internet connection:
I am building a mobile app using VS-TACO and I am trying to run my build on iOS.
When I try to build this app for iOS on a Windows host which is connected to a Mac with remotebuild agent, then I get following Error Message in Visual Studio 2017 on Windows Machine
"Remote build error from the build server
https://macIpAddress:3000/cordova - Error: Failed to acquire Cordova
version 6.3.1. TACO0204: Error installing cordova via npm. Exit Code:
1. See output for details. EShopper"
When i do "npm cordova -v" on my Mac, i see "5.4.2"
Windows OS: Windows 10
Mac OS Sierra
I have given all required user permissions as suggested in taco.visualstudio
Making npm cordova -v equals npm -v. It returns the npm's version, not the cordova version.
Cordova has to be installed on your PC(WINDOWS).
Could you do on your PC: cordova -v?
If nothing is return : npm install -g cordova#6.3.1 or npm install -g cordova#latest if you want the LATEST version of cordova.
Then you have to tell Visual studio to use the global version of cordova, for that: choose Global Cordova option in Config.xml editor UI.
Tell me if it's better, otherwise i'll guide you.