Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompilationDependencyResolver should operate on known list of CSX files #402

Merged
merged 2 commits into from Dec 12, 2018

Conversation

filipw
Copy link
Member

@filipw filipw commented Dec 11, 2018

OmniSharp finds the CSX files once, we can avoid the extra scanning.
Also, OmniSharp allows users to exclude paths from scanning and we should respect that (at the moment we will find those CSX files).

fixes #279

@@ -74,6 +74,16 @@ private void LogProjectFileInfo(string pathToProjectFile)

public string CreateProject(string targetDirectory, string defaultTargetFramework = "net46", bool enableNuGetScriptReferences = false)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mark this as obsolete too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is actually used by us at runtime so it's needed

Copy link
Collaborator

@seesharper seesharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Have you tested this from OmniSharp too? 😀

@filipw
Copy link
Member Author

filipw commented Dec 12, 2018

LGTM. Have you tested this from OmniSharp too? 😀

I will after we merge 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid the scan-all behavior against *.csx files
2 participants