Comments (8)
I'm not sure if this would help, actually.
- If we add binding redirect to version of MSBuild that is included with VS 2015, we break VS 2013
- If we add binding redirect to version of MSBuild that is included with VS 2013, we break VS 2015
Or am I missing some magical trick? Like binding redirect to "whatever can be found"?
from fsautocomplete.
Hmm, maybe you're right actually. This whole thing is a bit of a can of worms.
from fsautocomplete.
I found the magical trick: https://github.com/rneatherway/msbuildresolution/blob/master/MSBuildResolution/Program.fs#L377
I am using a standard redirect to get up to MSBuild v12 (VS2013), with a special event handler to try MSBuild v14 (VS2015) as a backup.
from fsautocomplete.
Maybe this can be refined so that an array of assemblies and binding
versions can be passed in, the first one found is then bound.
On 9 August 2015 at 14:33, Robin Neatherway [email protected]
wrote:
I found the magical trick:
https://github.com/rneatherway/msbuildresolution/blob/master/MSBuildResolution/Program.fs#L377I am using a standard redirect to get up to MSBuild v12 (VS2013), with a
special event handler to try MSBuild v14 (VS2015) as a backup.—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from fsautocomplete.
Yes sure, what do you imagine using that for?
It's worth noting that this handler only executes if the assembly resolution fails, so we still need the standard App.config
binding redirect as well to pull MSBuild v4 up to at least v12.
from fsautocomplete.
To avoid three calls in the event handler
On 10 August 2015 at 11:05, Robin Neatherway [email protected]
wrote:
Yes sure, what do you imagine using that for?
It's worth noting that this handler only executes if the assembly
resolution fails, so we still need the standard App.config binding
redirect as well to pull MSBuild v4 up to at least v12.—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from fsautocomplete.
Ah I see. The one I'm adding to FsAutoComplete will just redirect all Microsoft.Build*
assemblies, so that should be OK. If I get that working, then we can look at combining your external process stuff with this into FCS.
from fsautocomplete.
Fixed by #57
from fsautocomplete.
Related Issues (20)
- Handle Project Reloads when adding files to wildcard patterns HOT 1
- Better Codefix onboarding process HOT 2
- Mac m1 Sonoma - FSautocomplete not working HOT 7
- Neovim, Lsp Mode Crashed, range not found in JSON, diagnostics related HOT 10
- Code-fix for _.Property / _.MethodCall() / _.IndexerAccess[idx] shorthand for accessor functions
- Add Support for Breaking Down Type Signatures in Tooltips HOT 4
- fsiExtraParameters break error hints in editor while editing .fsx files HOT 14
- Remove inline values that replace pipeline hints
- Improve .NET POCO Initialiser Constructor object documentation, unit -> unit is not useful, we want to see the signature HOT 2
- F# interactive directives not showing docs once written down, also true for #nowarn, coloring is not conistent (purple?) HOT 1
- Refactoring: Extract Interface from Type member declaration (refactoring)
- Should we move this to Ionide or fsprojects? HOT 5
- #r "nuget: System.Data.Common" doesn't seem to work in .fsx HOT 4
- Format tooltips using client input HOT 4
- Invalid `This qualifier is redundant` when a variable is shadowed by a property with the same name and compatible signature
- `get ()` should not be renamed when renaming a property
- Code action: suggest to create missing parameter as local binding HOT 1
- AutomaticWorkspaceInit is ignored if rootUri is used instead of rootPath
- Convert to NuGet Central Package Management
- Work list for .NET 8.0.300-based releases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsautocomplete.