Dotnet not installed - NX Monorepo
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 881
- Forks
- 195
- Avg merge
- 20h 13m
- Merged PRs (30d)
- 13
Description
Bug Report
-
At what date and time did you most recently experience the problem?
8 april 2024 -
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
Azure Static Apps -
If your repo is publicly available please share its URL:
N/A -
What happened?
When building in Azure Repo, after the npm install process, "dotnet restore" is called.
When this call occured, I received : dotnet not installed -
What did you expect or want to happen?
No errors. -
How can we reproduce it?
Create a NX monorepo with React & vite
Add a .Net project and .Net Nx plugin -
Do you have log output? Please include between the backticks:
Running 'npm install'...
> @mf-monorepo/source@2.0.0 prepare
> nx g @nx-dotnet/core:restore
NX Generating @nx-dotnet/core:restore
NX dotnet not installed. Local support not yet added https://github.com/AgentEnder/nx-dotnet/issues/3
Pass --verbose to see the stacktrace.
If I installed manually the package with appsrv yaml it works.
Why Oryx is not able to detect that I need dotnet? as it did with npm, node etc... ?
fyi, I have my sln in the root folder, but project in subfolders
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.
Research direction
Reproduce the Azure Static Apps build with an Nx monorepo containing React, Vite, and a .NET project, starting from the npm install step that invokes nx g @nx-dotnet/core:restore. Compare the failing automatic detection with the working appsrv YAML installation. Done means the build detects or provisions the required .NET support without manual installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, react, vite
- Domain
- build-system, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100