I'm trying to create a Visual Studio 2022 preview network installer to reuse the installation media between multiple computers.
I'm following the instructions from this page, but I'm downloading the preview installer from the VS preview page.
When I try to create the network installer from an elevated command prompt with
vs_community.exe --layout D:\VS\Community2022preview --useLatestInstaller
I'm getting the error message
Download of 'https://aka.ms/vs/17/pre/channel' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/b3f0a1e5-a37b-49a5-9c42-8724caed1f7b/b6c95d2cc95b704820db1e1355cfb2d1d075a8acf8e38b1ddaf1dafedb269521/VisualStudioPreview.vsman' succeeded using engine 'WebClient'
Catalog load operation correlation: {"id":"2d2ff4dd-dc49-49c9-94c7-35b8d0e072a6"}
Exception of type 'Microsoft.VisualStudio.Setup.UpdateRequiredException' was thrown.
Error: Exception of type 'Microsoft.VisualStudio.Setup.UpdateRequiredException' was thrown.
at Microsoft.VisualStudio.Setup.Engine.CheckForEngineUpdate(Version manifestEngineVersion)
at Microsoft.VisualStudio.Setup.Engine.Load(String path, Boolean skipVerify)
at Microsoft.VisualStudio.Setup.Layout.Commands.LayoutCommand.InvokeCommand(CancellationToken token)
at Microsoft.VisualStudio.Setup.Layout.Program.Main(String[] args)
I googled Microsoft.VisualStudio.Setup.UpdateRequiredException, but I didn't find anything.
Should this work for the VS 2022 community preview version?
Am I missing something?
Thanks!
I had the same error message with Visual Studio Professional 17.3.0. I followed Rodrigo Juarez's suggestion of removing --useLatestInstaller and that solved the problem so that seems to be the solution to this particular error.
Related
When I Install VS Community 2022 17.1.5 Version, I got this Error.
How can I fix this?
Error Log:
Something went wrong with the install.
You can troubleshoot the package failures by:
1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again
If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.
================================================================================
Package 'Microsoft.Net.4.8.KB5003304,version=4.8.4375.5,chip=x64,machinearch=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.4.8.KB5003304;PackageAction=Install;ReturnCode=998
Details
Command executed: "C:\WINDOWS\system32\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\Users\(Username)\AppData\Local\Temp\28584528-4458-49f7-88d4-d06df0ea088a\Windows10.0-KB5003304-x64-NDP48.cab" /logPath:"C:\Users\(Username)\AppData\Local\Temp\dd_setup_20220420202336_001_Microsoft.Net.4.8.KB5003304.log"
Return code: 998
Return code details: Invalid access to memory location.
Log
C:\Users\(Username)\AppData\Local\Temp\dd_setup_20220420202336_001_Microsoft.Net.4.8.KB5003304.log
Impacted workloads
Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=17.1.32112.364)
Impacted components
Visual Studio core editor (Microsoft.VisualStudio.Component.CoreEditor,version=17.1.32112.364)
I got this error when i tried to install visual studio build tools 2019 in windows 10 using latest visual studio installer.
An installation file didn't download
After nine attempts, there was a problem downloading the following file: https://download.visualstudio.microsoft.com/download/pr/5eeaf3c7-015f-442c-8d63-aea17e5e6aef/6ec381fa716a2ed419c2141cc09606ee/a1e2a83aa8a71c48c742eeaff6e71928.cab
Select Continue to install Visual Studio without downloading this file. This might cause problems with other parts of the installation.
Select Retry to try downloading the file again.
Select Cancel to cancel the Visual Studio install.
Get help installing behind a firewall or proxy server.
Continue
Retry
Cancel
I tried uninstalling and reinstalling, tried restating the pc, tried the retry button on the error. Nothing works.. when i copy the link and paste it in a browser, a file downloads.
help me solve this issue
https://www.youtube.com/watch?v=ZKUCejkRc0s
this video helped me
Run your Services.msc as administrator
Locate the "CNG Key Isolation" service and open it
Change the "Startup type" option to "Manual" and start it
Download the Visual Studio and try again(in my case just clicked on retry)
I used to use vs 2012 for some month without any problem, today when I want to open my c# project , I got this error message:
This program has known compatibility issues
Visual Studio 2012 Express for Windows Desktop is incompatible with this version of Windows.
when I click Run program I got this error:
'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' package did not load correctly
When I continue with this error message, another error message shows: Visual Studio has stopped working. I need to get it work as soon as posible, any idea?
I had a similar problem, installing this patch solved it: KB2781514
I just got this error in VS2013 after installing a VS extension. I fixed it by closing all instances of Visual Studio, then removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache
Happened to me today on VS 2012. The Update mentioned by Jarek didn't install (it complained I already have more stuff installed). Deleting the folder mentioned by squeaky didn't work.
Finally fixed after I installed VS 2012 Update 4 : http://www.microsoft.com/en-us/download/details.aspx?id=39305
When I run Visual Studio 2012 Professional I get a side by side configuration error message.
Message:
"C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the commande-line sxstrace.exe tool for more detail."
Event log:
"Activation context generation failed for "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe". Dependent Assembly coloader80.dll,processorArchitecture="X86",type="win32",version="1.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis."
sxstrace.exe: http://pastebin.com/qgS3Sx8c
I've already installed vcredist_x86
I'm running Windows 7 Professional
I had the same issue in that several files were not copied over to the VS2012 directories and it caused the 'side by side' issues. In my case I was installing from a drive that was on the network. After installing / uninstalling / reinstalling over and over without success I finally moved the install media to my local hard drive. Then, I was able to uninstall and then reinstall successfully. I believe the problem is that when the install has to reboot and continue installing it can't find the install media 'in time' so then it fails. If you are installing from a 'remote drive' I would suggest moving the install media to a local drive and then trying again.
I encountered this problem today and found a crude way to solve it for me, without analyzing logs and looking for missing .dlls.
I opened up the system configuration and was about to de-intall VS2013 RC, when I realized there was an repair option. Trying this brought no effect, but I also saw that VS2012 for windows desktop and vs2012 for web were still installed.
So after a reboot this finally fixed my side-by-side error:
Cleanse the machine of any previously installed Visual Studio versions.
Reboot.
Repair the installed (and only left) version of Visual Studio
Reboot.
Maybe this is of use for everyone else who is encountering this problem in the future.
Kind regards
I reinstalled Visual Studio pro 2010 due to an error.
I loaded VS and I now get this error:
The Visual Studio HTM Editor Package did not load correctly.
The problem may have been caused by a configuration change or by the installation of anothe extension.
You can get more information by running the application together with the /log parameter on the command line, and then examining
the file c:\users\lee\appdata\roaming\microsoft\visualstudio\10.0\activitylog.xml
Any ideas where to go from here.
I solved this problem by doing following steps,I am using VS Express 2012 and got the same error as mentioned above.
1)Delete(Always do remember to Backup your data) the AppData file from following location(Delete 10.0/11.0 whatever your version of VS)
a)if VS 10
C:\Users\"UserName"\AppData\Local\Microsoft\VisualStudio\10.0
b)if VS Express
C:\Users\"UserName"\AppData\Local\Microsoft\VSWinExpress\11.0
2)Update VS version from this site
MSDN Site
or directly from MSDN siteThis
3)Restart VS and enjoy
A full uninstall of Anything Visual Studio 2010/Express related, followed by a reinstall, it worked.