install White error using Nuget in Visual Studio 2015 - visual-studio

I try to install white in VS 2015, using the command
Install-Package TestStack.White
But it always show the error message below:
I already tried following to fix the problem, but can not work:
1) uninstall the visual studio, and reinstall
2) remove the nuget and install again
How do I fix this problem?

Anyone has idea of how to fixing this problem?
You should use this command with a solution is open in Visual Studio 2015. Just as the error message mention that “Install-Package : The current environment doesn't have a solution open.”, If you do not have a project that is open, nuget does not know where to install the package.
You can check my test results below, the first installation without a solution open, then second installation with TestStackWhite solution open:
Hope this can help you.

Related

Couldn't install "packageName" and "anotherPackageName"

I am switching to Visual Studio 2022 for .Net core 3.1 but Installer can't install two packages.
I tried uninstall and reinstall too much but it cannot resolve this problem.
Errors:
Couldn't install Microsoft.VisualStudio.MinShell.Interop.Shared.Msi
Couldn't install Microsoft.AspNetCore.SharedFramework.6.0.6.0.1-servicing.21567.14.x64
How can I fix it? Can you help me?
Deep Note: I'm using Windows 10 home single language.
I fixed this problem, my message code is 1911 (you can see on logs).
If you have same problem you can follow this way:
Open Command prompt as administrator.
Type "sfc /scannow".
Reboot your computer when the process is complete.
Repair the Visual Studio installation.

Issue installing Microsoft Visual Studio Professional 2017 - "A product matching the following parameters cannot be found" during installation

This error presents itself immediately upon first launch of the program following the attempted install.
click to enlarge
I have ran %programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe -full and then re-ran the installer and the issue still presents itself.
I have tried the solutions here and they did not resolve my issue.
I also tried both of the answers here.
Any guidance here or things to try next will be very helpful!
Here are my log files from when I tried this in March. They're old, but re-running this installation still shows the exact same error.
https://pastebin.com/7D2JwGKF
for i in 12 do this.function
try this one
Open a command prompt with admin privileges
Run following command (this will clean up previous install cache. -full option is important) "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe" -full
Restart the installer
A product matching the following parameters cannot be found during VS Installation

I Have Problem Installing Extensions For Visual Sudio 2019

I Have A Problem And That Is :
I've Tried To Install An Extension From Visual Studio 2019 Extension Manager's MarketPlace
e.g (CodeMaid)
So I've Clicked And Downloaded It , When I've Restarted Visual Sudio To Install That Extension But Installer Said : The Install Of "CodeMaid" Extension For Visual Studio Was Not Successful for All the selected products.For More Information Click On The Install Log Link at the bottom of the dialog.]
Note That I Have Installed My Visual Studio In My H: Drive.
Please Help Me :(
I've Tried Any Extension To Install But They All NOT Installed Successfully e.g I Tried To Install Resharper But The Resharper Can't Detect My Visual Studio
(Sorry for My Bad English)
I Have The Screenshot Here:
Click Here To Open Image
You can install extension with .vsix file. Firstly, go to https://open-vsx.org/ and download the extension that you want.After downloading you will get VSIX file.Final step: open visual studio and go to EXTENSIONS.Click option icon(•••) and find and click (install from VSIX) and then choose your downloaded .vsix file. Done.
I've Tried Any Extension To Install But They All NOT Installed
Successfully e.g I Tried To Install Resharper But The Resharper Can't
Detect My Visual Studio
Please try these steps to troubleshoot your issue:
1) delete all vs componment caches under C:\Users\user\AppData\Local\Microsoft\VisualStudio\16.0_xxxxx\ComponentModelCache and do not forget to delete all the files under C:\Users\user\AppData\Local\Temp
2) disable any third party extensions under Extensions-->Manage Extensions to prevent any other extensions affect it.
3) run VS as administrator and then install the extension again.
4) do a repair in VS Installer
5) If your VS2019 is not the latest version, please update it to the latest version and please update your OS at the same time.
In addition, if all the steps does not work, l suggest you chould reinstall VS2019 and you would better install VS2019 on the default system disk. And there is a similar issue.
After you uninstall VS2019, please check if you have this:%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe.
If so, please launch it from an admin command prompt with a -full param: InstallCleanup.exe -full
If not, please manually delete the %programfiles(x86)%\Microsoft Visual Studio\Installer folder
Then relaunch vs_enterprise.exe and then install VS2019.

Visual Studio Uninstall

I am trying to simply uninstall and remove Visual Studio from my computer however when I go to control panel and find it to remove it the installer opens and I click remove then it gives me this error log. If anyone knows how to fix these issues help would be greatly appreciated. Thanks again.
[2b18:000c][2019-02-21T17:20:25] Error 0x80131509: No product was found
at Microsoft.VisualStudio.Setup.Engine.GetRegisteredProduct()
at Microsoft.VisualStudio.Setup.Engine.Uninstall(CancellationToken token)
Update another error message gives this:
Please follow the cleanup steps to remove VS 2017:
See if you have this file on your machine: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
If so, please launch it from an admin command prompt with a -full param
InstallCleanup.exe -full
If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe…)
Allow the first step to install the installer
Once the installer comes up and you can see workload choices (.net desktop and the like), close it
Go launch the same InstallCleanup.exe to clean up old build of VS

Can't open the VSVim project

I have a clean install of Visual Studio 2010 with C# and F# installed and I am getting the following error when I try to open the solution cloned from github.
D:\projects\VsVim\VsVim\VsVim.csproj :
error : The project file
'D:\projects\VsVim\VsVim\VsVim.csproj'
cannot be opened.
The project type is not supported by
this installation.
Is there a way to get more information about what exactly I am missing so that I can install the components?
You probably need to install the Visual Studio 2010 SDK.
Noah is correct that the most likely problem is you need to install the Visual Studio SDK. The full steps to getting VsVim to open and compile are the following (taken from the README.txt file in the enlistment).
Install the Visual Studio SDK
Run the script Populate-References.ps1 from the enlistment root directory
Open the Solution.

Resources