docs(misc): update add-dotnet.md (#27540)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->
<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->
<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->
See
1ff848c54b/packages/core/src/generators/init/generator.ts (L30-L41)
## Current Behavior
<!-- This is the behavior we have today -->
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
Co-authored-by: Miroslav Jonaš <missing.manual@gmail.com>
This commit is contained in:
parent
65f8e7fa80
commit
99d45a3dcd
@ -76,12 +76,6 @@ This generates the following files:
|
||||
}
|
||||
```
|
||||
|
||||
```json {% fileName=".nx-dotnet.rc.json" %}
|
||||
{
|
||||
"nugetPackages": {}
|
||||
}
|
||||
```
|
||||
|
||||
```xml {% fileName="Directory.Build.props" %}
|
||||
<!--
|
||||
This file is imported early in the build order.
|
||||
@ -120,6 +114,14 @@ This generates the following files:
|
||||
</Project>
|
||||
```
|
||||
|
||||
And on Nx versions earlier than 17:
|
||||
|
||||
```json {% fileName=".nx-dotnet.rc.json" %}
|
||||
{
|
||||
"nugetPackages": {}
|
||||
}
|
||||
```
|
||||
|
||||
## Create an Application
|
||||
|
||||
Use the `app` generator to create a new .NET app. For this demo, use the `nx` path naming convention and the `web-api` project template.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user