fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

do not cache IProjectProvider #1384

Closed vasily-kirichenko closed 8 years ago

dungpa commented 8 years ago

Good rollback.

I think caching IProjectProvider is more trouble than worth.

Since we have problems with slow GetProjectItem https://github.com/fsprojects/VisualFSharpPowerTools/blob/d3d386a6702cb761e3f40aa9b1ac4e4071c0c997/src/FSharpVSPowerTools.Logic/ProjectFactory.fs#L130, a better solution would be to use IVSRunningDocumentTable https://msdn.microsoft.com/en-us/library/bb166372.aspx