Git Product home page Git Product logo

Comments (8)

tpetricek avatar tpetricek commented on June 8, 2024

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.

rneatherway avatar rneatherway commented on June 8, 2024

Hmm, maybe you're right actually. This whole thing is a bit of a can of worms.

from fsautocomplete.

rneatherway avatar rneatherway commented on June 8, 2024

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.

7sharp9 avatar 7sharp9 commented on June 8, 2024

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#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.


Reply to this email directly or view it on GitHub
#11 (comment)
.

from fsautocomplete.

rneatherway avatar rneatherway commented on June 8, 2024

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.

7sharp9 avatar 7sharp9 commented on June 8, 2024

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.

rneatherway avatar rneatherway commented on June 8, 2024

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.

rneatherway avatar rneatherway commented on June 8, 2024

Fixed by #57

from fsautocomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.