.csproj auto-detected as nx projects - how to ignore specific ones? #688
-
Use-case: I have a generated library that is a .NET 4.5 swagger client (using @trumbitta/nx-plugin-openapi:generate-api-lib-sources executor). It will be used externally in another repo, so I have no need to work with this within nx beyond the generation of the library. Issue: What I've tried:
Is there a way to force nx-dotnet to ignore specific .csproj files? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You can use .nxignore if Nx shouldn't be concerned with that project at all |
Beta Was this translation helpful? Give feedback.
-
Update: In Nx 18, when specifying a plugin in nx.json you can set an exclude for things like this. It would look something like: {
"plugins": [{
"plugin": "@nx-dotnet/core",
"exclude": ["libs/generated"]
}]
} |
Beta Was this translation helpful? Give feedback.
You can use .nxignore if Nx shouldn't be concerned with that project at all