Only show C# projects in Razor info window.
This commit is contained in:
parent
290c11ef3a
commit
de6bfa480f
|
|
@ -65,7 +65,10 @@ namespace Microsoft.VisualStudio.RazorExtension.RazorInfo
|
|||
var viewModel = new RazorInfoViewModel(this, _workspace, _assemblyResolver, _directiveResolver, _tagHelperResolver, _documentGenerator, OnException);
|
||||
foreach (var project in solution.Projects)
|
||||
{
|
||||
viewModel.Projects.Add(new ProjectViewModel(project));
|
||||
if (project.Language == LanguageNames.CSharp)
|
||||
{
|
||||
viewModel.Projects.Add(new ProjectViewModel(project));
|
||||
}
|
||||
}
|
||||
|
||||
((RazorInfoToolWindowControl)this.Content).DataContext = viewModel;
|
||||
|
|
|
|||
Loading…
Reference in New Issue