Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, October 3, 2015 2:09 PM
I have installed visual studio 2015 and when i started my project of VS 2013 into 2015. AFter opening .cshtml file i get error that error is logged in activity.xml file.
I have also tried to create new project and same problem is occurring in there. The ViewBag and Model doenst appear to known to IDE error as the viewbag doesnt exist in current context.
I opened the path and get the following error.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Web.BrowserLink.12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Web.BrowserLink.12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at MadsKristensen.EditorExtensions.Html.HtmlViewCreationListener.textView_MouseHover(Object sender, MouseHoverEventArgs e) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
How to solve the error ?
Thank You , Shan Ali Khan
All replies (1)
Tuesday, October 6, 2015 8:18 AM âś…Answered
Hi Shan Khan,
The BrowserLink is a new feature from Visual Studio 2013. Do you install Visual Studio 2013 and Visual Studio 2015 on the same computer? Do you uninstall Visual Studio 2013 after you install Visual Studio 2015?
I delete the "Microsoft.VisualStudio.Web.BrowserLink.12.0" assembly and open my ASP.NET project. I get the same error message in activity.xml file. Please check paths of "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.BrowserLink.12.0\v4.0_14.0.0.0__b03f5f7f11d50a3a" and "C:\Program Files (x86)\Microsoft Web Tools\ReferenceAssemblies\14.0", whether there has "Microsoft.VisualStudio.Web.BrowserLink.12.0" assembly under these paths.
If you missing this assembly in that paths, please download the BrowserLink.zip from this OneDrive link.
If you don't missing this assembly in that paths, please try install Microsoft ASP.NET and Web Tools 2015 which contains BrowserLink in Web Tools.
http://www.microsoft.com/en-us/download/details.aspx?id=48738
In addition, you also can try repair Visual Studio 2015 with Control Panel -> Visual Studio 2015 -> Change -> Repair.
Best Regards,
Weiwei