Background:
Using Visual Studio 2015
, ASP.NET Core 1.0
I have created Web Application
project. When I run application and go to Chrome Console
I have following error:
Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null
Question:
How to fix above error and make Browser Link
working?
Background:
Using Visual Studio 2015
, ASP.NET Core 1.0
I have created Web Application
project. When I run application and go to Chrome Console
I have following error:
Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null
Question:
How to fix above error and make Browser Link
working?
- 4 Could you possibly include some code in your question, please? It is hard to help you if you haven't included some code – Geoff James Commented Jun 27, 2016 at 21:27
- 2 Weeeeellll, that all depends on the code that's throwing the error. Could you add the offending code to your question? – Mike Cluck Commented Jun 27, 2016 at 21:27
- 1 It is the default project, I did not make any amends to it. Project did have a lot of files included, it is hard for me to find out which is causing a problem. – MaciejLisCK Commented Jun 27, 2016 at 21:28
-
1
It looks like there is a bug in Visual Studio
Browser Link
functionality. – MaciejLisCK Commented Jun 27, 2016 at 21:31 - 1 The error in the console ought to tell you where the bug is ing from. Click on the file link to the right of the error message. – Mike Cluck Commented Jun 27, 2016 at 21:35
2 Answers
Reset to default 1In visual studio right of the play button should be button with an arrow going around in a circle. Under here are some options for Browser Link, you can try "Refresh Linked Browsers", and if that doesn't work there is a tick box to turn it off "Enable Browser Link"
This link might also be useful: https://learn.microsoft./en-us/aspnet/visual-studio/overview/2013/using-browser-link
I had the same issue. It went away when i did a repair
on Visual Studio