I'm using Visual Studio 2015 Enterprise RTM. When creating an ASP.net 4.6 web application using the Web Api template, I noticed as soon as I add a TypeScript file, the codelens indicators stop working. I tested this on a new installation, with no extra extensions installed, as well and tried other asp.net 4.6 templates. When running in safe mode the problem doesn't occur.
Steps to reproduce:
- Set the framework to 4.6
- Create a web application by using the web api template.
- Change authentication to no authentication
- Open the webapiconfig.cs in App_Start
- The codelens indicator on the register method should say: 1 reference
- Add a typescript file called app.ts (doesn't really matter) in the scripts folder, tit may remain empty
- The codelens indicator in the webapiconfig file should still say 1 reference
- Close Visual Studio
- Reopen Visual Studio and open the solution
- Check the webapiconfig file, the codelens doesn't show references anymore or on any other file
Any idea on how to debug codelens or does anyone have this problem as well?