diff --git a/src/VisualStudio/Core/Def/Implementation/DesignerAttribute/DesignerAttributeIncrementalAnalyzer.cs b/src/VisualStudio/Core/Def/Implementation/DesignerAttribute/DesignerAttributeIncrementalAnalyzer.cs index fd91f038e76d4451166ce0bdb589ea69e4758473..b62c4cf3fe5c8c04775e69d5f6d5518b499b1c15 100644 --- a/src/VisualStudio/Core/Def/Implementation/DesignerAttribute/DesignerAttributeIncrementalAnalyzer.cs +++ b/src/VisualStudio/Core/Def/Implementation/DesignerAttribute/DesignerAttributeIncrementalAnalyzer.cs @@ -78,6 +78,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In return; } +#if false // CPS projects do not support designer attributes. So we just skip these projects entirely. var isCPSProject = await Task.Factory.StartNew( () => vsWorkspace.IsCPSProject(project), @@ -89,6 +90,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In { return; } +#endif // Try to compute this data in the remote process. If that fails, then compute // the results in the local process. @@ -244,7 +246,7 @@ private IVSMDDesignerService GetDesignerFromForegroundThread() return _dotNotAccessDirectlyDesigner; } - #region unused +#region unused public Task NewSolutionSnapshotAsync(Solution solution, CancellationToken cancellationToken) => SpecializedTasks.EmptyTask; @@ -272,6 +274,6 @@ public void RemoveProject(ProjectId projectId) { } - #endregion +#endregion } } \ No newline at end of file