I've just downloaded the ASP.MVC MSI package, but the installation fails with the "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." message.
I see that other people too have the same problem (http://forums.asp.net/p/1336453/2699267.aspx). Anybody else?
I'm running VS 2008 Professional edition with SP1 on Vista.
Some additional info: entries like Error in Template (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\VisualBasic\Workflow\1033\StateMachineWorkflowLibrary.zip), file (StateMachineWorkflowLibrary.vstemplate). Unregistered ProjectType (VisualBasic). This can be caused by an incorrect ProjectType or because the project type package is not installed. appear in the event log.
BTW I don't have VisualBasic installed. I'm thinking about reinstalling VisualStudio ... :|
I removed all the bad templates and this didn't resolve the issue for me. I found that removing other Add-Ins I had installed let me install Beta 1. In my case the bad add-in preventing the install was Clone Detective.
I had this exact error message from a completely different MSI package - the DevExpress toolkit - turned out to be caused by one of the "defensive" packages installed on my machine.
Check your anti-virus, anti-spyware, anti-intrusion, firewall, anti-xxx etc etc packages to see if any of them might be stopping scripts from running properly.
Hope this helps.
The installer is trying to add templates to the VB package without checking to see if it exists first (ScottGuuuuuuu!).
If the rest of MVC is installed and working, forget about it. If not, you don't have to reinstall VS. A quick fix is to simply install Visual Basic (e.g, modify your installation rather than reinstall it).
Okey, like Simon said, Clone Detective addin was the troublemaker which prevented the installation of ASP MVC. I deinstalled Clone Detective and now MVC has installed without problems. Thanks guys!
Related
When i try create new blank application in nanoframework, i get package installation error.
error message
It seems some problem in nanoframework visual studio extension, my version is NET nanoFramework VS2019 Extension v2019.5.0.8.vsix, but i also tried another versions with same problem.
I have visual studio 2019 community edition and i have installed almost all components.
When i press ok, project is loaded, but is not possible compile it, because there are missing all assemblies. When i try add assembly, theres nothing to add and add nuget packages from nanoframework store leads to error.
when i try this:
pm> Install-Package nanoFramework.CoreLibrary.NoReflection -Version
1.10.1-preview.9
I get this error:
NU1202: Package nanoFramework.CoreLibrary.NoReflection
1.10.1-preview.9 is not compatible with netnanoframework10 (.NETna noFramework,Version=v1.0). Package
nanoFramework.CoreLibrary.NoReflection 1.10.1-preview.9 supports: net
(.NETFramework,Version=v0.0)
similiar when i try another package versions.
So the extensions is installed incorectly, but i cant find why. i tried it more times. uninstall and install again. from extenstion store, and from disc. nothing successfull.
The webserver NuGet released today fixes the issues with the version mismatches.
The issue with VS2019 16.9 remains. Reported to VS Developer Community here. Please up vote to help increase priority.
What is the Community version you're using?
After a little test, there seems to be an issue with the latest release of VS2019. A work around would be to:
Use V16.8.X
or
use an already created solution that you can edit.
or
add the required nuget to the project once it has been loaded (after the error):
Update: now fixed! it was due to a change to fix nuget, but caused an unintended consequence with nanoFramework.
I have a problem when I try to reinstall the ODT 2017: I already had it installed, but when I opened Visual Studio and wanted to check the connection it shows the error "The requested .NET Framework data provider is not found. It may not be installed."
I uninstalled it, and then when I wanted to reinstall it, I was amazed at the error that it was still installed, "Oracle Developer Tools for Visual Studio 2017 is already installed. Please uninstall and try again."
I don't know if I have a folder or file in a hidden folder...
Okay, I am not exactly sure why this worked but I don't want to mess with it since it is working great right now.
I had tried all the methods of manually removing Oracle software and none of that seemed to work. I started exploring the command line options and was trying to force an uninstall even though it wasn't installed. I was hoping it would clear something out.
From command line I tried:
ODTforVS2017_122010.exe /V /uninstall
However, instead of uninstalling anything, it launched into the normal install. Only this time, it worked! Go figure.
Just in case this had something to do with it... Just before this, I accidentally started the install for the VS 2015 version which started normally. Was really excited until I realized it was the wrong version. Maybe this cleared something out? No idea...
I have to move on and finish before the deadline. I hope this helps you.
Karl
The accepted answer did not work for me, so I had to investigate further. I was able to solve the problem by manually uninstalling the vsix from Visual Studio (using the Visual Studio 2017 Command Prompt):
vsixinstaller /a /u:"Oracle.VsDevTools.15.0"
Then, I simply ran the installer again and it worked.
In my case the issue was that even after my previous uninstall with the wizard, the extension (ODT) still on VS2017 but it was disabled, so i uninstalled it from VS and then installed it again with the wizard
When i try to run the ASP NET 5 solution, i get below error.
Microsoft Visual Studio Error
The following error occurred attempting to run the DNX design time process (dnx-clr-win-x86.1.0.0-beta8).
The system cannot find the file specified.
The DNX design time process provides intellisense, build, and reference information to Visual Studio and without it your experience will be very limited. Please try closing and reopening Visual Studio to see if that corrects the problem. Alternatively, check that the DNX version is properly installed or try changing to a different installed DNX version using the project property pages.
The project is not finding DNX SDK (if you look at the project properties you may see an empty drop-list next to 'Solution DNX SDK version').
If you are on windows 7, I suspect you may have an old version of powershell installed. You need at least version 3.0.
See this answer on a similar issue:
https://stackoverflow.com/a/31549273/299529
Here is the summary of what was going on:
I had VS 2015 RC Enterprise installed. When I tried to install VS 2015 Community over it, it was blocked because it had enterprise installed. Tried to uninstall that, said it is not really installed and if I want to just remove it from list of installed products. Uninstalled from command line with /uninstall /force, worked but the community installer still complained. Went few rounds with installing VS 2015 Enterprise RTM, uninstalling that, and then trying to install community edition, but it still thought Enterprise was installed. Finally I fired up procmon and started deleting registry entries from VS 2015 that it was referencing and finally got it to install.
So now I am here - things seem to work except MVC support:
I repaired, modified, uninstalled and installed again a few times, no joy.
ActivityLog.xml says this:
<description>CreateInstance failed for package [Microsoft.VisualStudio.Web.Mvc.Package.MvcPackage]</description>
<guid>{B54016DB-B3E6-4960-8262-81772C777DE9}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Web.Mvc.5.0, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.</errorinfo>
I've run out of ideas as to what else I can do to make this work, any help is very much appreciated.
Did you ever have earlier releases than RC installed, before Ultimate was renamed to Enterprise?
If you have VS RTM (Community, Professional, or Enterprise) installed you can try the following:
Close all instances of Visual Studio
Run the following from a command prompt to forcibly remove MVC: msiexec /x {61A70737-1FE8-E16A-8791-5C8D54990F5B} IGNOREDEPENDENCIES=ALL
Open appwiz.cpl (Add/Remove Programs), click on Visual Studio 2015, select change and then select the Modify option once the installer is launched.
Thanks,
Jacques
I've downloaded Umbraco, connected to a database and installed a sample site but when I try to run in Visual Studio, I get this error:
Could not load type 'Umbraco.Web.UmbracoApplication'.
Any ideas?
I usually follow this guide to get Umbraco up and running with Visual Studio: Setting up Umbraco 7 in Visual Studio 2013 for MVC 4 development
You are possibly missing a reference. Also - I found this happens in my version 7.2.4 too.
Check that the install completes - especially if you installed with NuGet. Sometimes powershell doesn't work and the installation is not completed. Look for yellow text during installation. If this fails, try an older version.