Add support for dotnetisolated v10
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- azure, typescript
- Domain
- cli
Research direction
Start at src/core/constants.ts around line 307, where the supported API language and version values are defined. Reproduce the deployment command from the issue or run the relevant CLI tests, then verify that a dotnetisolated v10 publish output is accepted without the reported language-info error.
Written by the indexing model from the issue text.
Description
Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.
2.0.9
Describe the bug
A clear and concise description of what the bug is.
My function is build with net10, but went I set the api-version to 10.0 I get the following error
13-Jul-2026 18:46:46 | - Preparing deployment. Please wait...
-- | --
13-Jul-2026 18:46:48 | ✖ Cannot deploy to the function app because Function language info isn't provided, use flags "--api-language" and "--api-version" or add a "platform.apiRuntime" property to your staticwebapp.config.json file, or create one in ./src. Please consult the documentation for more information about staticwebapp.config.json: https://learn.microsoft.com/azure/static-web-apps/build-configuration?tabs=github-actions#skip-building-the-api
13-Jul-2026 18:46:48 | ✖ Deployment failed with exit code 1
13-Jul-2026 18:46:48 | ✖ The deployment binary exited with code 1.
13-Jul-2026 18:46:48 | ✖ If you are running in a minimal container image, ensure native dependencies are installed.
13-Jul-2026 18:46:48 | ✖ Run ldd /home/bamboo/.swa/deploy/689a6c1fe8fc32f40348cc41223a7e9d83dd43d2/StaticSitesClient to check for missing shared libraries.
To Reproduce
Steps to reproduce the behavior:
- Add NET 10 API as publish output (not source code) 'dotnet publish api.csproj -o ./api'
- Type in command 'npx @azure/static-web-apps-cli deploy ./src --env production --api-location ./api --api-language "dotnetisolated" --api-version "10.0" ...'
You get the error above
It should not give errors, as .net 10 was released last November.
If I change the version to 9.0, the deployment works fine, so probably api version is irrelevant?
The fix trivial: change the constants file
https://github.com/Azure/static-web-apps-cli/blob/main/src/core/constants.ts#L307
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/static-web-apps-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Azure/static-web-apps-cli#1007 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Azure/static-web-apps-cli#998 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
Azure/static-web-apps-cli#997 · 1 comment ·
-
Support ARM64 Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Azure/static-web-apps-cli#987 · 2 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Azure/static-web-apps-cli#986 ·
All issues in Azure/static-web-apps-cli
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100