Giter VIP home page Giter VIP logo

Comments (10)

atifaziz avatar atifaziz commented on August 11, 2024

I think this might be related to nuget.org permanently removing support for TLS 1.0 and 1.1.

Is it possible to patch it and release an update?

I'd be happy to take a PR and make a release if you can help with spotting the problem and then fixing and testing it (assuming it's urgent to you).

from linqpadless.

atifaziz avatar atifaziz commented on August 11, 2024

Something else to consider that may not require any code changes:

from linqpadless.

veremenko-y avatar veremenko-y commented on August 11, 2024

Not very urgent, I hacked around with current version to make it work for now. But I did made a simple PR that fixes this particular issue and enforces TSL 1.2.

from linqpadless.

atifaziz avatar atifaziz commented on August 11, 2024

Not very urgent, I hacked around with current version to make it work for now. But I did made a simple PR that fixes this particular issue and enforces TSL 1.2.

Thanks, but the build has failed and I am afraid I don't have much time to investigate.

Did you checkout the other workaround mentioned in the links I shared? Most of the those don't seems to need any code changes.

from linqpadless.

veremenko-y avatar veremenko-y commented on August 11, 2024

Thanks, but the build has failed and I am afraid I don't have much time to investigate.

Nuget packages were not restored. I'm not familiar with appveyor at all, so I don't know why. Project is built without errors locally in Debug and Release configurations.

Did you checkout the other workaround mentioned in the links I shared? Most of the those don't seems to need any code changes.

Correct. But the app is available to download in nuget and scoop https://github.com/lukesampson/scoop-extras/blob/a8bcb1b43b0230a9348a422017be31fe625cea70/bucket/linqpadless.json, but TLS issue makes it completely broken out of the box.

I wanted to fix it for everybody, not just me. It's still useful tool, even though it's technically outdated with release of new LINQPad (although v5 is still supported) and .NET. I understand that you are busy and may not have time to deal with this, but without access to build infrastructure I'm unable to help any further. Feel free to close the issue and pr.

from linqpadless.

atifaziz avatar atifaziz commented on August 11, 2024

Closed via a2e6352 that is the merge of PR #50.

from linqpadless.

atifaziz avatar atifaziz commented on August 11, 2024

The fix is now available in release 1.2.

from linqpadless.

veremenko-y avatar veremenko-y commented on August 11, 2024

This is amazing, thank you!

from linqpadless.

veremenko-y avatar veremenko-y commented on August 11, 2024

I'm really sorry, now I feel even worse. It still doesn't work on clean install. Because you moved setting SecurityProtocol down next to downloading nuget references, it will be unable to download csc from Nuget when running lpless script.linq -t exe...

from linqpadless.

atifaziz avatar atifaziz commented on August 11, 2024

Because you moved setting SecurityProtocol down next to downloading nuget references, it will be unable to download csc from Nuget when running lpless script.linq -t exe...

That's too bad. I guess what happened here was that I always tested against a LINQPad query file that referenced a NuGet package and so the TLS was always upgraded by the time it got to the compilation step and which downloaded nuget.exe and the compiler.

from linqpadless.

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.