提交 3f9c4297 编写于 作者: C CyrusNajmabadi

Remove CPS check for now.

上级 993039c6
...@@ -78,6 +78,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In ...@@ -78,6 +78,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In
return; return;
} }
#if false
// CPS projects do not support designer attributes. So we just skip these projects entirely. // CPS projects do not support designer attributes. So we just skip these projects entirely.
var isCPSProject = await Task.Factory.StartNew( var isCPSProject = await Task.Factory.StartNew(
() => vsWorkspace.IsCPSProject(project), () => vsWorkspace.IsCPSProject(project),
...@@ -89,6 +90,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In ...@@ -89,6 +90,7 @@ public async Task AnalyzeProjectAsync(Project project, bool semanticsChanged, In
{ {
return; return;
} }
#endif
// Try to compute this data in the remote process. If that fails, then compute // Try to compute this data in the remote process. If that fails, then compute
// the results in the local process. // the results in the local process.
...@@ -244,7 +246,7 @@ private IVSMDDesignerService GetDesignerFromForegroundThread() ...@@ -244,7 +246,7 @@ private IVSMDDesignerService GetDesignerFromForegroundThread()
return _dotNotAccessDirectlyDesigner; return _dotNotAccessDirectlyDesigner;
} }
#region unused #region unused
public Task NewSolutionSnapshotAsync(Solution solution, CancellationToken cancellationToken) public Task NewSolutionSnapshotAsync(Solution solution, CancellationToken cancellationToken)
=> SpecializedTasks.EmptyTask; => SpecializedTasks.EmptyTask;
...@@ -272,6 +274,6 @@ public void RemoveProject(ProjectId projectId) ...@@ -272,6 +274,6 @@ public void RemoveProject(ProjectId projectId)
{ {
} }
#endregion #endregion
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册