Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions 17/umbraco-cms/fundamentals/setup/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ dotnet new install Umbraco.Templates
```bash
dotnet new umbraco --name MyProject
```
{% hint style="info" %}
New projects created with this template use [Central Package Management (CPM)](https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management) by default. NuGet package versions are managed centrally in a `Directory.Packages.props` file created at the project root, rather than in the individual `.csproj` file. If you later add additional projects, you can move the `Directory.Packages.props` file to the solution root and version all dependencies in one place.
{% endhint %}

4. Navigate to the newly created project folder. It will be the folder containing the `.csproj` file:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ Template options:
Latest The latest umbraco release
LTS The most recent long term supported version
Default: Latest
-pm, --package-management <choice> Choose how to manage NuGet package versions
Type: choice
Central Use Directory.Packages.props (recommended for new projects)
PerProject Use versions in .csproj (recommended when adding to existing projects)
Default: Central
--use-https-redirect Adds code to Startup.cs to redirect HTTP to HTTPS and enables the UseHttps setting.
Type: bool
Default: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ dotnet new umbraco -n MyNewProject --friendly-name "Friendly User" --email user@

### Visual Studio

<figure><img src="../../../.gitbook/assets/Additional_Info.jpg" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/Addtional_Info_17.png" alt=""><figcaption></figcaption></figure>

## References

Expand Down
Loading