Skip to content

Commit

Permalink
Merge pull request OmniSharp#1357 from SirIntruder/TryPromoteMiscFile…
Browse files Browse the repository at this point in the history
…sFix

Fix "Ambiguity" errors appearing when files are modified during project load
  • Loading branch information
Ravi Chande authored Dec 10, 2018
2 parents c7e225d + 79a8e82 commit 2881c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OmniSharp.MSBuild/ProjectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,11 @@ private void UpdateProject(string projectFilePath)
return;
}

_workspace.TryPromoteMiscellaneousDocumentsToProject(project);
UpdateSourceFiles(project, projectFileInfo.SourceFiles);
UpdateParseOptions(project, projectFileInfo.LanguageVersion, projectFileInfo.PreprocessorSymbolNames, !string.IsNullOrWhiteSpace(projectFileInfo.DocumentationFile));
UpdateProjectReferences(project, projectFileInfo.ProjectReferences);
UpdateReferences(project, projectFileInfo.ProjectReferences, projectFileInfo.References);
_workspace.TryPromoteMiscellaneousDocumentsToProject(project);
}

private void UpdateSourceFiles(Project project, IList<string> sourceFiles)
Expand Down

0 comments on commit 2881c46

Please sign in to comment.