I am unable to open any CSHTML files in any ASP.NET MVC solution as VS2010 consistently crashes.
I am running Visual Studio 2010 Premium on Windows 7 Ultimate x64 SP1. Repairing the installation doesn't fix the issue. Anyone know how to resolve this?
Running the following command from the command line helped me resolve my issue with VS crashing on opening .cshtml files:
devenv.exe /ResetSkipPkgs
The /ResetSkipPkgs switch is documented here and has helped several other people resolve all kinds of problems with VS.
Related
I have develop a system in asp.net using win form and made its .msi file. I have installed it on my system it works perfect but when i try to install it on clients system it gives me following error.
The framework i'm using is 4.5 Visual studio 2013
This is the error i'm facing.
Need serious suggestion to resolve this error.
Thanks all .My problem sorted out using visual studio installer i add primary out and localize resources of the product in exe. Bingo the problem go on.
I'm trying to make new ASP.NET Web Application project in Visual Studio 2013 but it immediately fails with this error:
Could not load type 'Microsoft.VisualStudio.Web.WindowsAzure.Contracts.AzureResourceCreationType' from assembly 'Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a'.
I used to be able to create web apps. Visual studio updated to update v4 a while back. Also I made sure all extensions are updated.
Any help would be greatly appreciated, thank you.
After a lot more searching I found the answer from this post:
Visual Studio 2013 Premium solution load errors after Update 3
I had to run the following commands and everything works again afterwards.
gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Publish.dll"
gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Internal.Contracts.dll"
I had the same issue after removing VS2015RC and installing full VS2015.
Side note: The above fix (changing path to point at "Microsoft Visual Studio 14") fixed the above error in VS2015.
Looking through the control panel and program updates, VS2013 update 4 was installed around the same time as VS2015 so I ran a repair on update 4 and it had no affect.
Repaired KB2932965 a VS2013 update, still no luck
I have error in my project
that is
The "ResolveComReference" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Tasks.v12.0' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Build.Tasks.v12.0'
Can anyone help me regards this. I got stucked
I am using VS2012 and microsoft office 2007
This problem usually occurs as a result of a multi-program corruption involving Microsoft Visual Studio 2012, other Visual Studio versions, and Microsoft Web Tools for Visual Studio 2012.
Reinstalling Visual Studio is known to fix it, but however many victims of this issue have said that this doesn't fix the issue.
Instead copying the files from
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web
over to
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web
seems to fix the problem in the majority of similar cases.
Other possible fixes:
Uninstall Web Tools 2013 and reinstall the Web Tools and Web Tools Extensions from here
When I open any .css file in any project in Visual Studio 2012, it immediately crashes.
I've tried restarting my computer, reinstalling Visual Studio, installing a Visual Studio update and uninstalling all of my Visual Studio extensions.
The problem started this morning - last night I had a power outage and my computer, which was running Visual Studio at the time, crashed.
I wish I could supply more details but this is all I have. The problem isn't specific to a project or a file, but (AFAIK) only to .css files.
Edit: Running Visual Studio in Safe Mode fixes the problem in some projects but not in all - specifically, in a standalone, standard website project I can edit .css files fine, but in my TFS-hosted team project I can't, which is making it impossible for me to work.. When exiting safe mode, .css files in general crash Visual Studio.
To clarify: The problem isn't that Visual Studio gives me some sort of error message when I try to load a .css file, Visual Studio just crashes. I've tried reinstalling, restarting, and repairing, nothing works. There have been similiar complaints that I've found but they all have something to do with some extension messing Visual Studio up.. The only extensions I had were Web Essentials and Resharper, both now uninstalled, and they worked fine until this morning.
i think it's better to try Visual Studio reset. Do you tired using any other software like Dreamweaver?
I have Visual Studio 2008 SP1 and ASP.NET MVC RC installed on a XP SP2 machine with .NET Framework 3.5 SP1. (That's a lot of SP's in one sentence!)
I've a ASP.NET MVC project that I can edit just fine with Visual Web Developer Express.
But opening a View page in Visual Studio 2008 SP1 makes Visual Studio to crash and vanish without even giving an error message.
Now, some bloggers have proposed that either Visual Studio Power Tools of TFS Power Tools could be causing this. However, I have neither installed.
Visual Studio can be started with /SafeMode option which solves the issue. But I'd like to know if there's more elegant solution available?
Pom
Microsoft have now released a hotfix to resolve this issue.
See https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0
Phil Haack elaborates here - http://haacked.com/archive/2009/03/06/hotfix-for-installing-aspnetmvc.aspx
What solved it for me was clearing the Native Image Cache.
go to %windir%\assembly and delete the folders that start with NativeImages. I Have two... NativeImages_v2.0.50727_32 and NativeImages_v2.0.50727_64 because I'm running 64-bit Vista.
I had this same problem a few days back, and I removed all examples of Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll. I found the solution on google, and like you I'm not running PowerTools. I guess you're seeing
.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506)?
I renamed all examples of that DLL and rebooted, and now I can work again, don't know what I'll do when I have to unit test SilverLight again though.
Answering to myself here:
I eventually removed Visual Studio add-in called Ora. That seemed to stop MVC View related Visual Studio crashes.