NuGet on VS2010 cannot use: An unexpected error occurred on a send - visual-studio-2010

I have installed a NuGet Package Manager 2.8.60318.667 on VS2010 Extension Manager.
However, The Manage Nuget Packages cannot be accessed with prompt of
"The underlying connection was closed: An unexpected error occurred on a send"
I have tried the solution in :NuGet fails: "The underlying connection was closed: An unexpected error occurred on a send"
But Failed.
Any suggestions on this?

Related

Launch error | There is a problem launching using posix_spawn (error code: 2)

I am currently working on a project through github. My local project is connected to the github project folder through folder reference.Current File/Folder setup There hasn't been a problem, but now I keep getting the error "There is a problem launching using posix_spawn (error code: 2)." Before that, earlier today, I was receiving the error: "could not launch 'PROJECT NAME'. Internal error"
with the initial error ("could not launch 'PROJECT NAME'. Internal error") I attempted to fix the Schema configuration by following option B in this link (https://github.com/olilarkin/wdl-ol/issues/120). After attempting that I began receiving the later error ("There is a problem launching using posix_spawn (error code: 2).")posix_spawn Error
please help. Thanks

'The download has failed' while trying log in to VS2017

I get following pop-up when trying to log in to VS2017:
I read online to try logging in through the installer which gives me this error:
"Error signing in: 'An exception has occurred of type: Microsoft.IdentityService.Clients.ActiveDirectory.AdalServiceException.'"
Anyone know what I can do?

Unable to load package 'Microsoft.Net.Native.SharedLibrary-x64'

I want to update Microsoft.NETCore.UniversalWindowsPlatform but it shows an error
Unable to load package 'Microsoft.Net.Native.SharedLibrary-x64'
If I open the Output tab it shows the following
Restoring packages for D:\Project\Windows 10 Developement\Template\HamburgerMenu\HamburgerMenu\project.json...
GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.universalwindowsplatform/index.json
OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.universalwindowsplatform/index.json 938ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.universalwindowsplatform/5.3.3/microsoft.netcore.universalwindowsplatform.5.3.3.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.universalwindowsplatform/5.3.3/microsoft.netcore.universalwindowsplatform.5.3.3.nupkg 936ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.compiler/index.json
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.compiler/index.json 946ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.compiler/1.6.2/microsoft.net.native.compiler.1.6.2.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.compiler/1.6.2/microsoft.net.native.compiler.1.6.2.nupkg 938ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-arm/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x86/index.json
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-arm/index.json 481ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-arm/1.6.1/microsoft.net.native.sharedlibrary-arm.1.6.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/index.json 967ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x86/index.json 1438ms
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x86/1.6.1/microsoft.net.native.sharedlibrary-x86.1.6.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-arm/1.6.1/microsoft.net.native.sharedlibrary-arm.1.6.1.nupkg 1347ms
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x86/1.6.1/microsoft.net.native.sharedlibrary-x86.1.6.1.nupkg 1161ms
Failed to download package 'Microsoft.Net.Native.SharedLibrary-x64.1.6.1' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg' has timed out after 100000ms.
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg
Failed to download package 'Microsoft.Net.Native.SharedLibrary-x64.1.6.1' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg' has timed out after 100000ms.
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg
Failed to download package 'Microsoft.Net.Native.SharedLibrary-x64.1.6.1' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x64/1.6.1/microsoft.net.native.sharedlibrary-x64.1.6.1.nupkg' has timed out after 100000ms.
Unable to load package 'Microsoft.Net.Native.SharedLibrary-x64'.
Time Elapsed: 00:27:03.1499426
========== Finished ==========
Solution Tried
Running as Admin
Nuget error install package Microsoft.NETCore.UniversalWindowsPlatform
Using Package Manager Console to update
Update
I have Installed Microsoft.Net.Native.SharedLibrary-x64 manually. Now also it is not working.
Failed to download package 'Microsoft.Net.Native.SharedLibrary-x86.1.6.1' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-x86/1.6.1/microsoft.net.native.sharedlibrary-x86.1.6.1.nupkg'.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Failed to download package 'Microsoft.Net.Native.SharedLibrary-arm.1.6.1' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.native.sharedlibrary-arm/1.6.1/microsoft.net.native.sharedlibrary-arm.1.6.1.nupkg'.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Unable to load package 'Microsoft.Net.Native.SharedLibrary-x64'
It is hard to make sure that whether this issue is related to the internet connection, the project itself or others according to the error log, but I could provide you a workaround for this issue:
Workaround:
Download the package "Microsoft.Net.Native.SharedLibrary-x64" from the nuget.org.
Use nuget add command line add that package to the global package folderC:\Users\username\.nuget\packages:
nuget add packagePath -Source sourcePath
After that, you will notice the package will be added in to that folder:
- Update Microsoft.NETCore.UniversalWindowsPlatform package.
Really strange issue, in my case, I had to change my default network DNS(network card) from 8.8.8.8 to 208.67.222.222.
After that I was able to update Microsoft.NETCore.UniversalWindowsPlatform.
In my case, I was getting this problem when trying to run a UWP (Universal Windows Platform) project, and the solution was to select "Developer mode" in the Windows 10 Settings "For Developers"

Error on installing .Net Core

Trying to install .Net Core over VS Community 2015 update 3. I am stuck with the following error. Tried downloading and copying the msi file (AspNetCoreLocalFeed_.msi) manually but the destination folder as seen in the log file is being created dynamically so it doesn't work. Also attempted to install it manually. Nothing works.
Went through various threads on different websites on the installation errors but couldn't locate an answer for any similar issue. Any help is greatly appreciated.
[23F8:2DD8][2016-11-08T22:02:58]w343: Prompt for source of package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, path: C:\Users\Faisal\Downloads\packages\AspNetCoreLocalFeed_.msi
[23F8:2DD8][2016-11-08T22:02:58]i338: Acquiring package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, download from: https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Process returned error: 0x490
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to configure per-machine EXE package.
[23F8:3008][2016-11-08T22:05:07]i319: Applied execute package: DotNetCLI_x64, result: 0x80070490, restart: None
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[0190:0850][2016-11-08T22:05:07]i351: Removing cached package: DotNetCLI_x64, from path: C:\ProgramData\Package Cache\8B4ACC662D4A8759AB418CA5F92FE4721D21B190\
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed attempt to download URL: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed to acquire payload from: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to working path: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e313: Failed to acquire payload: AspNetCoreLocalFeed to working path: C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed, error: 0x80070642.
Just to give an update in case it helps someone. Installation succeeded after reinstalling Visual Studio.

Deployment error: windows.licensing failed to start WSService

I get the following error when I try to deploy a windows store app:
Error : DEP0700 : Registration of the app failed. error 0xC0020017:
windows.licensing failed to start WSService while installing
My developer license is valid. I changed the package name, still the error persists.
This problem occurs with old and completely new projects.
Does anyone have an idea how to solve this?
Registration of app failed error usually occurs when you try to re-deploy an app with the same package ID from visual studio if it is already installed by a different user.
Solution is to change the Package Identity
Open the manifest
Go to the package tab
Modify the identity

Resources