in cshtml file I have a tag with a CSS class defined: <div class="mystylerule">
When I right click "mystylerule" and select Go To Definition, it opens up a CSS file to the correct rule, but it opens up the file that's part of the "compiled" project - \bin\debug\net452\win7-x64\publish\wwwroot\css\main.less, not the source file as expected.
I started editing this file, but realized I had two main.less files open right next to each other. Otherwise this could have led to loss of data (the edits I was making)
From @esargent on June 16, 2016 23:11
in cshtml file I have a tag with a CSS class defined:
<div class="mystylerule">
When I right click
"mystylerule"
and select Go To Definition, it opens up a CSS file to the correct rule, but it opens up the file that's part of the "compiled" project -\bin\debug\net452\win7-x64\publish\wwwroot\css\main.less
, not the source file as expected.I started editing this file, but realized I had two main.less files open right next to each other. Otherwise this could have led to loss of data (the edits I was making)
Copied from original issue: aspnet/Tooling#596