Comments (8)
Thanks for reporting this. What type of project are you using (ASP.NET Core/5, ASP.NET MVC 4/5, WebForms, or...?)
from browserreloadonsave.
Hey Mads,
This is a regular MVC 5 site. Let me know if I can trial the above fix in a build somehow and I'll give it a whirl.
from browserreloadonsave.
The latest CI build is here for testing http://vsixgallery.com/extension/2d8aa02a-8810-421f-97b9-86efc573fea3/
from browserreloadonsave.
No dice, here's a better stack trace:
System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionDefaultDomainSystem.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Value cannot be null.
Parameter name: key at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at BrowserReloadOnSave.ReloadFactory.CreateExtensionInstance(BrowserLinkConnection connection) in C:\projects\browserreloadonsave\src\BrowserLink\ReloadFactory.cs:line 28 at Microsoft.VisualStudio.Web.BrowserLink.FactoryManager.CreateExtensionsForConnection(BrowserLinkConnection connection) at Microsoft.VisualStudio.Web.BrowserLink.FactoryManager.PreConnected(Object sender, ConnectionEventArgs e) at Microsoft.VisualStudio.Web.BrowserLink.ConnectionsImpl.FirePreConnected(BrowserLinkConnection connection) at Microsoft.VisualStudio.Web.BrowserLink.ConnectionsImpl.AddConnection(BrowserLinkConnection connection) at Microsoft.VisualStudio.Web.BrowserLink.SignalRSelfHost.ArteryConnection.&lt;&gt;c__DisplayClass8_0.&lt;OnConnected&gt;b__0() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)</StackTrace><ExceptionString>System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary
2.FindEntry(TKey key)
at BrowserReloadOnSave.ReloadFactory.CreateExtensionInstance(BrowserLinkConnection connection) in C:\projects\browserreloadonsave\src\BrowserLink\ReloadFactory.cs:line 28
at Microsoft.VisualStudio.Web.BrowserLink.FactoryManager.CreateExtensionsForConnection(BrowserLinkConnection connection)
at Microsoft.VisualStudio.Web.BrowserLink.FactoryManager.PreConnected(Object sender, ConnectionEventArgs e)
at Microsoft.VisualStudio.Web.BrowserLink.ConnectionsImpl.FirePreConnected(BrowserLinkConnection connection)
at Microsoft.VisualStudio.Web.BrowserLink.ConnectionsImpl.AddConnection(BrowserLinkConnection connection)
at Microsoft.VisualStudio.Web.BrowserLink.SignalRSelfHost.ArteryConnection.<>c__DisplayClass8_0.<OnConnected>b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
from browserreloadonsave.
Thanks, that's much better. I can see what the issue is now and a fix is coming. It appears that when you're using the proxy, Browser Link can't find the project for the connection and that's what causes the issue. I have a fix coming in a few minutes.
from browserreloadonsave.
The latest version is ready in a few minutes on the same URL as before. This won't make the extension work for your particular project, but it will prevent VS from crashing
from browserreloadonsave.
That's fixed it!
This won't make the extension work for your particular project, but it will prevent VS from crashing
Yep, as long as VS doesn't fall over, all good
from browserreloadonsave.
Thanks so much for the stack trace. Very much appreciated!!
from browserreloadonsave.
Related Issues (20)
- Please add option to only reload if the debugger is running
- .net core 2.0 not working HOT 4
- Cannot install on visual studio 2017
- Allow Options config for per project options override
- Browser reload on save doesn't work on Visual Studio 2017 Community v. 15.8.0 HOT 17
- Strange reload on save behaviour to js files
- Does not work with Firefox (developer edition)
- Not working for cshtml files in version 15.9.7 HOT 4
- d housing
- Reload on save of CSHTML does not pick up change. HOT 2
- Reload on RCL's with changed items in solution
- Reload not working HOT 2
- Visual Studio 2022 Support HOT 3
- Will this work with owin hosting? HOT 3
- help!it is not work in my vs2015 HOT 7
- Reload doesn't work if edited in VS.NET 2015 HOT 8
- Not refreshing on reload of cshtml file HOT 25
- NOT FIXED: Not refreshing on reload of cshtml file HOT 17
- Reload not working if error page
- Reload on build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browserreloadonsave.