-
Notifications
You must be signed in to change notification settings - Fork 33
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
h5 now runs on NET6.0 #52
Comments
rc1 requires Visual Studio 2022 and it is probably not ideal way to go. |
I have uninstalled existing version:
installed NET 5.0 version:
My project file looks like this: <Project Sdk="h5.Target/0.0.21664">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="h5" Version="0.0.22158" />
</ItemGroup>
</Project> During compilation I got errors and warnings:
How to solve above issues? After that it starts H5 Compilation server which is interactive and it is not closed on VS closing. |
OK, I have found the option which disables some warnings related to updating of compiler. Though it is wrong example in documentation.. But some of them are still there:
|
If someone has the error message below. remove all locales from h5.json [info] [15:33:01] [E] H5 Compilation in 2.4900 seconds [fail] [15:33:01] |
Unfortunately not. Ended up reinstalling all all just works now. (biggest culprit was net6.0 not registering corrent in env tables, had to put the new path up in the list, mb still was using .net5 on the background?) But tested again with a old config, still including locales. Just builds. I'm so happy now! Edit: Must have been using an old version. Way too many basic things stopped working. As basic as setting a veriable... But now, so fast, errorless, feels like i'm dreaming. Not kidding! Thank you very very very much! |
Hi @eppoeh, yeah that seems to be a known issue with the VS2022 installer - same thing happened to me. In the end was just a matter of fixing the path environment order. Thanks for the feedback :) |
Since .net60 moved into the go-live release phase, I've updated h5 compiler to run on net6.0 to make sure it's ready. I've not hit any issues on my side, but I'm opening this issue to track any problems.
If you're updating the h5 compiler on your computer, you might need to install the net6.0 SDK first:
https://dotnet.microsoft.com/download/dotnet/6.0
Otherwise you can keep using the last net5.0 version - there were no new features on the net6.0 version.
The text was updated successfully, but these errors were encountered: