Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException in .NET 8 #179

Open
jmajoor opened this issue Apr 12, 2024 · 0 comments
Open

NullReferenceException in .NET 8 #179

jmajoor opened this issue Apr 12, 2024 · 0 comments

Comments

@jmajoor
Copy link

jmajoor commented Apr 12, 2024

The detection of netcore was changed in #155 and this was released on nuget with version 2021.7.22.1.
Unfortunately this fix only works for .NET 5 and .NET 6.

#166 the detection was improved and should work for .NET 8 as well.

In my usage of Trill I get a null reference exception due to generated code (in TemplateClasses.cs) that can't be compiled. I get this exception when trying to run on NET 8, with NET 6 it is fine.

if, however, I use the latest code in this repo then it also works for NET 8. This is due to the fact that .NET 8 is not detected as a netcore environment in the latest released version.

Would it be possible to publish a new release?
Would it be possible to update 3rd party dependencies as well (too avoid vulnerabilities and compatibility issues)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant