Code Monkey home page Code Monkey logo

Comments (3)

manuelroemer avatar manuelroemer commented on June 14, 2024 1

Thanks a lot for the additional details! I think that I am going to close the issue then for the moment. If this does turn out to be a different issue, feel free to reopen it/create a new one!

Just a note: Both this package and the Nullable package seem to have some issues in the latest .NET SDK on newer OSs. Maybe this is also related to the issue you are describing here. In any case, we will have to wait until we find out what the issue is exactly there.

from isexternalinit.

manuelroemer avatar manuelroemer commented on June 14, 2024

Hey, thanks for reporting the issue! Could you perhaps attach a solution which allows me to reproduce the problem? That (should) make it easier for me to troubleshoot it.

from isexternalinit.

TheRealAyCe avatar TheRealAyCe commented on June 14, 2024

I just experiemented with this a bit.

It's related to this problem: dotnet/sdk#24124 (comment)

When I put the global.json I mention there in the solution folder, it works, presumably because 6.0.103 still works on Windows 7. When I remove it the weird errors occur. This could also explain why it seems to work when the build is started by a legacy csproj-format project, afaik the old csproj-format is using MSBuild and not dotnet.

I think there is an internal failure where the .cs file from the package is not correctly added to the compilation with dotnet >6.0.103 under Windows 7. Probably not something you can do anything about.

The solution for me is to either not use the package, or put a global.json with a version that still works on Windows 7. Referencing a package that comes with its own public IsExternalInit (not .cs file) works too.

from isexternalinit.

Related Issues (9)

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.