MVC3 Re-installation VS2010 SP1 - visual-studio-2010

I've looked here and the link in the solution but I'm still having problems. I had Visual Studio 2010 with SP1 beta and MVC3 installed but encountered no Intellisense on cshtml files and problems with System.Web.Helpers not being found.
Downloaded the released VS2010 SP1 and installed this (as recommended, over the beta) and still had the issue so uninstalled MVC3.
Now I can't install MVC3 at all, the log shows VS10-KB2483190-x86.exe) failed with 0x80070643 - Fatal error during installation and even when opening the MVC3 exe in 7-zip and installing components individually as per the blog.
Has anyone else had a similar problem that they manage to solve?

This blog did work, as described in the question. Downloaded the standalone installer of MVC3 and got the individual files using 7-zip.
Beforehand, I uninstalled ASP.NET Web Pages with a guide in this post which talks about removing trailing slashes from the registry first.
Now MVC3 works and also the System.Web.Helpers and IDependencyResolver is found which was another reason for re-installing.

Get your visual studio dvd, or download the iso trial and mount it. Then run the mvc3 setup. I ran the vs10-kb2483190-x86 by itself and it complained about not finding the vs setup.msi from the dvd.

I was unable to install MVC with the same error and Paul's solution worked for me. Many thanks. I did not have to perform the Registry mods in my particular case though. So,
Uninstall Microsoft ASP .NET Web Pages from Add/Remove Programs
Run the setup for MVC 3. This will unpack the setup files to C:\Temp\ext47334
Run C:\Temp\ext47334\aspnetwebpages.msi
Run the rest of the msis in C:\Temp\ext47334

I had the same problem of a failed installation using the web installer (though it reported success). But in my case, I had already installed MVC4 before I tried installing MVC3.
I downloaded the offline installer, which failed with the same error as above. I then tried both suggestions of inserting the VS2010 DVD, and changing the registry paths as described, but neither worked. I then tried first uninstalling the MVC3 stuff from Program and Features in Control Panel. This time the installation got further than before, but failed on installing NuGet. So I uninstalled NuGet and reran the installer, this time with success! I then had to reinstall NuGet by downloading the latest version from the http://nuget.org/.

Related

Problems with installation of VS 2012 (.Net is missing)

I'm having trouble installing Visual Studio 2012. When I run the installer I get the message:
Microsoft .NET Framework required for Microsoft Visual Studio Professional 2012 setup
The first time I got this message, I clicked to install. It loaded some stuff but it didn't look like it installed anything. I ran the installer for VS 2012 again and I get the same message but now without any buttons to click on. Is there any solution to this?
What happened before
I had VS 2012 already up and working. I left it alone for quite a while until I decided I wanted to do some programming again. Starting the application resulted suddenly in an error:
Cannot find one or more components. Please reinstall the application.
After searching for a couple of hours I couldn't resolve the problem so I did as it asked and reinstalled VS, but I got the same error again. Then I tried to remove every single application VS installs as indicated by this list and any program that had a similar name. I also removed all .NET versions and C++ redistributables. Now I can't install VS anymore and some games and gadgets are now broken.
And I always, always, always forget the existence of system restore. I doubt my oldest system restore is old enough. This is going to be my last resort.
What I tried
Search for a .NET installation in the control panel, it's not present after clicking the install button on the prompt of the VS 2012 installer.
Reinstall .NET 4.5 using this installer. It installs correctly, but the problem persists.
Turning .NET 3.5.1 off from windows features and install it manually. This fails for an unknown reason (error code -2145124329, which seems undefined). Just turning it off doesn't work either.

Error while running MVC3 Application after reinstalling also

My issue still persist. Reference to the thread Error while running MVC3 Application
Though I marked it as an answer as it did resolved my issue after reinstalling MVC3 but after 8 days this issue reappears but this time every single effort is failed:
I installed MVC 3 after uninstalling it:
I installed MVC 3 by Web Installer.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d2928bc1-f48c-4e95-a064-2a455a22c8f6
Than
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82cbd599-d29a-43e3-b78b-0f863d22811a&displaylang=en
but the same error is displayed. Any suggestion ?
Please help.
Can you go to Help -> About Microsoft Visual Studio and check the version? It should say 10.0.40219.1 SP1 Rel if you have the service pack installed. Again, this is absolute guess work. If you don't have the SP installed (and the logs don't have anything useful) I'd start by removing the MVC3 tools update, applying 2010SP1, and then reinstalling the MVC3 tools update. If you do have the SP installed, I'm really at a loss and will refrain from making a suggestion on this route unless absolutely necessary. :-)

Cannot install ASP.Net MVC 3

I tried installing MVC 3 from the download in http://www.asp.net/mvc/mvc3 - both with and without the Web Platform Installer. As soon as the download is finished, the installer says installation is finished, yet I get no observable effect - I can't create MVC projects and it doesn't appear in Uninstall Programs.
Any idea how I can get MVC 3 to install?
Edit: Forgot to mention, I have the just-released SP1 installed.
Look in the eventlog to see if there any errors related to Windows Installer.
We had a similar issue, because we had the SP1 beta installed. Uninstalling the beta, and then running the installer worked for us.

Can't install ASP.NET MVC3 RTM?

I'm trying to upgrade from ASP.NET MVC3 RC to RTM? I can't get past upgrading the vs10-kb2483190-x86.exe installer. I get this error in the error log:
Do I need to uninstall the Windows Phone SDK first? Should I hunt for GUIDs in the registry?
The installer appears to launch devenv.exe behind the scenes. I decided to launch VS2010 to see if it would "unlock" something. After it launched, I closed it and the installer started progressing.
Actually, it did work - I just ran for the second time...
When you run .msp, it pops a prompt that "the network resource for Visual Studio installation files is not available". Once you update the location of vs_setup.msi everything else works fine. I didn't have to run MSIs in sequence as the post suggests - once location was correct, I just ran MVC3 installation executable, and everything got installed fine.
It looks like platform installer and MVC3 setup just fail and, worse, swallow the root cause problem.
I finally gave up and reinstalled windows when I got a new CPU/Motherboard. Took care of it, not that I suggest this solution for everyone.

dotnet Framework 4 missing from visual studio 2010

I just installed visual studio 2010 but when i create a new project Framework 4 does not appear in the options for target framework. I know framework 4 installed correctly because the new app pools set to v4 were created in IIS. For some reason it's just not showing up in visual studio. I tried repairing dotnet 4 and reinstalling visual studio but still no luck. Anyone else have this problem or know how to fix it?
First of all you shoul use the .NET Framework Setup Verification Tool to check the .NET 4 have been properly installed.
I also recommend you to check the both products language, sometimes it could be the problem.
If everything is ok, i guess you have registry problem, so you would have to check the installation keys or use .NET uninstall tools.
More info:
Detection keys for .NET Framework 4.0 and Visual Studio 2010
Uninstall .NET Framework Tool
Visual Studio does not detect .NET Framework 4
Hope helps!
I had the same problem and it turned out to be that I needed the Microsoft .NET Framework 4 Multi-Targeting Pack. No other combination of actions would fix this.
I tried all the ways but no success,
According to this link,you can solve this problem by copy frameworklist.xml file from another computer and paste it in your system.
I had the same problem and I resolved it. I found out that there were no file FrameworkList.xml in folder C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\RedistList.
But I noticed this file in machine where .Net Framework 4 is accessible from VS
2010. Then I copied this file to my computer and restarted VS 2010. And .Net Framework 4
appeared from drop down list.
I attached frameworklist.xml file from my system :Download frameworklist.xml
Changes which lead to missing .Net4 problem:
1.
I changed some registry settings in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
CommonFilesDir
CommonFilesDir (x86)
CommonW6432Dir
ProgramFilesDir
ProgramFilesDir (x86)
ProgramW6432Dir
All those were moved from C: drive to another drive (E: in my case)
2.
I changed the location of some user folders:
C:\Users\<name>\AppData\LocalLow
C:\Users\<name>\AppData\Roaming
Those were moved (via Properties->Path->"Move" button) from C: drive to F: drive.
After reverting 1. back to drive C:
and creating symbolic links in C:\Users\<name>\AppData to the new locations,
it worked again (note: I uninstalled VS before reverting the changes, and installed again afterwards)
(Create link with: mklink /d C:\Users\<name>\AppData\LocalLow E:\Data\LocalLow)
I can not say if both changes are really needed, because I changed both at once.
But finally it works again ;)
Greetings,
Frostregen
I'm seeing the same problem. We were using my build box to test installs of a WinForms app on a machine without 4.0. We bundled 4.0 in the manifest and the app works, Framework 4 Client Profile and Framework 4 Extended show up in add/remove programs, but there is still no 4.0 Framework in the VS2010 options.
BTW, reloading SP1 was no help.
I finally got this working by running the VS2010 setup in repair mode. I now see Framework 4.0 options in VS2010.
That was a long and tedious process and now I have to patch to SP1 again. MSFT should fix this behavior in a SP soon.
Had the same problem. Numerous uninstalls and reinstalls of visual studio 2010 and the .NET 4.X frameworks didn't fix it.
Manually uninstalling the "Microsoft Visual Studio Macro Tools" item and then doing a repair install of VS2010 seems to have done the trick.
I had the same problem this week and it got resolved by installing Visual Studio 2012 RC.
Removing and reinstalling .NET Framework 4 didn't help and I couldn't reinstall Visual Studio 2010. After installing the 2012 RC the Framework 4
I had installed .NET 4.5, which ended up breaking something, so decided to uninstall. VS 2010 could not longer see .NET 4.0. I tried using the .NET cleanup tool and reinstalling, but no go.
Eventually what worked was what is posted at http://social.msdn.microsoft.com/Forums/eu/netfxsetup/thread/3dede142-82ce-430c-bbe6-d824f0fb94a4. I installed Windows Phone Developer Tools (http://www.microsoft.com/en-us/download/details.aspx?id=13890) up until the multi-targeting package, at which point I canceled installation.
You can reinstall the targeting pack using this command, this solved my issue:
Microsoft .NET Framework 4 Multi-Targeting PAck
WCU\MTPack
COMMAND--> NetFx_DTP.msi EXTUI=1 /log "%TEMP%\dd_netfx_dtp.txt"
I think it's because you installed higher version of .net framework, such as .net framework 4.6, Which caused the mistake of missing .net framework 4.0.
For me using Arash's fix worked "there were no file FrameworkList.xml in folder C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\RedistList".
I noticed I had other .NET versions and just copied the FrameworkList.xml from one of those to 4.0 RedistList folder and it worked.
Problem:
VS2010 ->Right Click on Project -> Property Pages - > Build->Target Framework
is showing up to .NET 3.5 only. I have installed up to .NET 4.5 framework.
Solution:
I tried many solutions and decided to take a drastic step to format. The following way I got the solution without formating o/s.
Removed all .NET installations
Installed one by one from 1.0 to 4.6 with sps available.
VS2010 setup with repair option selected.
Opened vs2010 project and .NET framework up to 4.0.3 found in the list.
Regards, S.SREENIVAS RAO

Resources