-
Notifications
You must be signed in to change notification settings - Fork 790
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
Force update project options when assembly references change #2023
Conversation
Oky I think I fished the assembly reference thing again ... packages.config got overwritten. |
@@ -207,13 +207,15 @@ type internal FSharpLanguageService(package : FSharpPackage) as this = | |||
let projectInfoManager = this.Package.ComponentModel.DefaultExportProvider.GetExport<ProjectInfoManager>().Value | |||
|
|||
/// Sync the information for the project | |||
member this.SyncProject(project: AbstractProject, projectContext: IWorkspaceProjectContext, site: IProjectSite) = | |||
member this.SyncProject(project: AbstractProject, projectContext: IWorkspaceProjectContext, site: IProjectSite, forceUpdate) = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we make forceUpdate and enum please, true isn't really readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SyncProject
is a class member with two usages at the same file. At the both call sites, I have used named parameters for forceUpdate
. I don't think changing bool to two-case enums would improve readability here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this
Kevin
Awesome. Thanks, @dungpa! |
…2023) * Force update project options when assembly references change. Fix dotnet#2020. * Fix merge issue.
Fix #2020.