MvcSiteMapProvider MVC4 Nuget installation failure Visual Studio 2013 - asp.net-mvc

Installation of MvcSiteMapProvider MVC4 fails when trying to install using Visual Studio 2013 Express edition.
It installs fine in Visual Studio 2012.
The error message I'm getting is:
Error: "Updating Microsoft.AspNet.Razor 3.0.0 to Microsoft.AspNet.Razor 2.0.3
My quess is that Visual Studio 2013 will not allow Microsoft.AspNet.Razor 3.0.0 to be overwritten by Microsoft.AspNet.Razor 2.0
Has anyone else had issues with MvcSiteMapProvider using VS 2013?

The original package for the MVCSitemapProvider has been marked as obsolete.
To Install the MvcSiteMapProvider, run the following command in the Package Manager Console.
install-package mvcsitemapprovider.mvc[X]
the [X] is what Mvc framework your targeting Ie MVC5 would be: install-package mvcsitemapprovider.mvc5.

Related

After installing Visual Studio 2019 I can't find gacutil.exe

I'm trying to install gacutil in order to remove some assemblies from the GAC. My understanding is that it's included with Visual Studio, so I installed Visual Studio Community Edition 2019. gacutil.exe does not seem to be included with the installation. What am I missing?
I had the same issue and was able to fix it by installing the .NET Framework 4.6.1 SDK component shipped with VS 2019 Community.

The schema version of "Microsoft.AspNet.Mvc" is incompatible with version of NuGet

I received this error when I build my asp.net mvc project in Visual Studio 2015:
The schema version of 'Microsoft.AspNet.Mvc' is incompatible with version 2.5.40412.9018 of NuGet. Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942.
But when I try to upgrade my NuGet, it always fails. I have uninstalled the old version "NuGet for Visual Studio 2015", and reinstalled NuGet, but I still receive the same error.

MVC 4 - VS 2010 install unable to update NuGet

I am installing MVC 4 on a box with an up to date VS 2010 and get NuGet install errors. The NuGet installed already is the newest available. I have tried installing MVC 4 with both NuGet installed already and not installed.
The error asks for NuGet.msi, but I have been unable to find that.
Are there any known issues that could cause this?
We also had problems with nuget update. This fix help us: Visual Studio 2010 SP1 Hotfix available
More details: NuGet Package Manager
Review current release notes/known issues on the NuGet Docs site, including details and solution for about a common upgrade failure (Visual Studio 2010 SP1 Hotfix available)
Added:
Also you can try to install MVC 4 with Microsoft Web Platform Installer after uninstalling Nuget.

Visual Studio 2010 Full and ASP.NET MVC 2.0 Template

I've installed full version (not RC nor Beta) of Visual Studio 2010, a then setup within Web Platform Installer 2.0 announce me that I need to install MVC 2.0, so i did it.
When I want to create project "MvcWebApplicationProjectTemplate" in VS I have following message:
error: this template attempted to load component assembly 'Microsoft.VisualStudio.Web.Mvc.2.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.
Any idea how to fix it?
Do you think that Web Platform Installer 2.0 might have corrupted this template?
Thanks,
Daniel
VS 2010 comes with MVC2. I am guessing installing it again using WPI made it corrupt. Try uninstalling the MVC2 install (the one through WPI) and then repair the VS 2010 RTM install.
Good luck!
Apparently if you installed MVC2 RC2 after VS2010 there is an issue. Try the following link:
http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx
Visual Studio 2010 repair solved my problem.

Problem Installing MVC 2 RC2

System is Windows 7 32 bit fully up2date, Visual Studio 2008 & 2010 RC.
Trying to install AspNetMVC2_RC2_VS2008.exe following the instructions from http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx I keep getting this error
Prerequisite check for system component Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools failed with the following error message:
"The .NET Framework version 3.5 SP1 is required. You can install the .NET Framework from the Microsoft Web site. Please install a compatible version of the Framework and try installing this release again."
See the setup log file located at 'C:\Users\ME\AppData\Local\Temp\VSDCFD8.tmp\install.log' for more information.
Relevant info from the log file as follows..
Result of running operator 'ValueNotExists' on property 'ValidVS2008SKU': false
Result of running operator 'ValueNotEqualTo' on property 'AdminUser' and value 'True': false
Result of running operator 'ValueLessThan' on property 'Framework35SP1' and value '1': true
Result of checks for command 'MvcToolsVS2008\VS2008ToolsMVC2.msi' is 'Fail'
'Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools' RunCheck result: Fail
A prerequisite failed for Package "Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools"
I definitely have .NET 3.5 SP1 installed and up2date...
Try running the installer as administrator by right clicking the installer file and selecting "Run as administrator".

Resources