Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

cshtml (htmlx) FileCodeModel

$
0
0

Hi!

Is it possible to access code model for htmlx (.cshtml) files?

I tried to accessing FileCodeModel for .cshtml files using code below but with no success.

_dte.ActiveWindow.Document.ProjectItem.FileCodeModel

It works for C# and C++ file sources but it returns null for htmlx.

Thanks,

Jake


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>