-
Notifications
You must be signed in to change notification settings - Fork 196
Add Support for .NET 7 #877
Comments
I have presently worked around this issue/limitation by running a BASH script as my build command (i.e. ./netlify.build.sh) which I have marked as executable in Git via using:
Internally the script downloads and installs .NET 7.0 using Microsoft's publicly available .NET Script Installer for Linux, and then publishes the Blazor WASM project as such:
I do still feel the build image should be updated yearly to include the most recent release of .NET, so that Blazor WASM projects can be built without having to resort to these types of work-arounds. But for anyone that needs a more immediate resolution, the above method should suffice. |
waiting for the automated build for .net7. please can someone. help? |
Ideally image should have SDKs for multiple versions and then we could control which version to use by global.json file. https://learn.microsoft.com/en-us/dotnet/core/tools/global-json The solutions to fetch and install adds build time... |
Please make some noise in this issue to: Seems like documentation is completely missing dotnet. |
Is your feature request related to a problem? Please describe.
Presently unable to build .NET 7 projects with the current build image (though .NET 6 projects build fine). There is a specific need for the .NET 7 build support, so that latest features available to Blazor WASM can be taken advantage of (this will most likely be the same case for future .NET revisions, which are released yearly).
Describe the solution you'd like
Please include the .NET 7 SDKs as part of the build image (they were released to the general public on 2022-11-08). It would be great to see the yearly releases of .NET regularly added to the build image in a timely fashion so they can be used "out of the box" so to say.
Describe alternatives you've considered
Considerations have been made to utilize a bash script to auto-install the required .NET release and build accordingly, but this requires an extra CI/CD specific file to be source controlled as part of the project (and feels more like a work-around for something that should already be supported). Blazor WASM has enough industry adoption to warrant .NET 7's inclusion in the build image (as well as regular inclusion of subsequent future .NET revisions).
Additional context
Can you submit a pull request?
No
The text was updated successfully, but these errors were encountered: