Skip to content
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

Dotnet not installed - NX Monorepo #2403

Open
elvince opened this issue Apr 8, 2024 · 0 comments
Open

Dotnet not installed - NX Monorepo #2403

elvince opened this issue Apr 8, 2024 · 0 comments

Comments

@elvince
Copy link

elvince commented Apr 8, 2024

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/[email protected] 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

@elvince elvince changed the title Dot not installed - NX Monorepo Dotnet not installed - NX Monorepo Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant