Comments (3)
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.
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.
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)
- Why is this needed? HOT 4
- Duplicate definition error in VS 2022 HOT 25
- Rebuild of a solution targeting multiple frameworks fails on Visual Studio 17.2.0 & 17.2.1 HOT 5
- Use in .Net Framework 3.5 HOT 3
- How about adding Range+Index to allow range syntax too? HOT 2
- How about adding ModuleInitializer?
- IsExternalInit must be declared for all TFMs HOT 14
- donate button 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 isexternalinit.