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
.NET 8 Update Issues On Linux #8103
Comments
Beside changing the link to the proper .NET 8 SDK, I wonder if we could enhance this script by integrating it into EDIT: for the record, while the Windows SDK EULA allows that dll to be distributed with apps on Windows, distributing that dll on Linux or macOS isn't covered by the EULA. Downloading the Firefox Windows installer to snatch the dll from there is a trick around this EULA limitation. We could keep a similar trick, but the one thing that kind of tickles me, is that we're relying on a third party app/link that we don't control and can't guarantee its safety or reliability over time. |
This is what winetricks does to fetch the dll, so I've just copied it over for us so we don't have a dependency on winetricks.
It is touching files other than project related ones, so, we should avoid that unless we wanna start creating wine contexts in the obj folder itself. The good news is that the script will not be needed once we have the vulkan version setup, as we will be switching to dxc, so for now just repairing the script to work should suffice. Also mgfxc does give you instructions for setting stuff up without the helper script if its run and the wine context is not found. |
Gotcha, we should be good with a link update then! |
Please refer to #8124 while this issue is being worked on. |
Prerequisites
develop
branchMonoGame Version
.NET 8 Update
Which MonoGame platform are you using?
MonoGame Cross-Platform Desktop Application (mgdesktopgl)
Operating System
Linux (Ubuntu 22.04.3 LTS)
Description
Testing the current
develop
branch with .NET8 in LInux, the following issues were found and need to be corrected.NET6
and not.NET8
DOTNET_URL
in the mgfxc_wine_setup.sh script incorrectly points to .NET6 SDK and not the .NET8SDKMonoGame/Tools/MonoGame.Effect.Compiler/mgfxc_wine_setup.sh
Line 39 in 84a2690
It should point to
https://download.visualstudio.microsoft.com/download/pr/2b2d6133-c4f9-46dd-9ab6-86443a7f5783/340054e2ac7de2bff9eea73ec9d4995a/dotnet-sdk-8.0.100-win-x64.zip
this is something that will need to be noted in the documentation, not something we can do in the repo
Steps to Reproduce
develop
branchcake build
scriptcake build
script to create new MonoGame DesktopGL Project targeting .NET8dotnet-mgcb
tooling is setup using the NuGets built from thecake build
scriptMinimal Example Repo
No response
Expected Behavior
.fx builds with no issue
Resulting Behavior
Effect file will not build due to incorrect .NET version installed by the setup script
Files
No response
The text was updated successfully, but these errors were encountered: