Skip to content

Commit 96db835

Browse files
committed
Updating packages
Fixing issue with tip inside of a details tag
1 parent ab8bb61 commit 96db835

File tree

3 files changed

+4650
-2386
lines changed

3 files changed

+4650
-2386
lines changed

docs/getting-started/wpf.mdx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import CSharpUpdates from './content/_csharp-updates.mdx';
44
import InstallVpk from './content/_install_vpk.mdx';
55
import BuildRelease from './content/_build_release.mdx';
66
import Completion from './content/_completion.mdx';
7+
import Admonition from '@theme/Admonition';
8+
79

810
# Getting Started: C# / WPF
911
<AppliesTo win />
@@ -74,19 +76,15 @@ Get started with .NET 5+ (cross-platform) or .NET Framework.
7476
```batch
7577
dotnet publish yourApp.csproj -c Release --self-contained -r win-x64 -o .\publish
7678
```
77-
:::tip
78-
Starting with .NET 7, the `-o`/`--output` option [can no longer be used with a solution file](https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/7.0/solution-level-output-no-longer-valid?WT.mc_id=DT-MVP-5003472).
79-
:::
80-
81-
:::tip
82-
Starting with .NET 8 and later, the `dotnet publish` command defaults to the Release configuration, so you can omit the `-c Release` option.
83-
For more details see https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-publish-config.
84-
:::
85-
86-
:::tip
87-
If you execute the dotnet publish command from within the same directory as the .csproj file, you can omit the project argument. You can find more details on the [dotnet publish documentation](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish?WT.mc_id=DT-MVP-5003472#arguments).
88-
:::
89-
79+
<Admonition type="tip">
80+
Starting with .NET 7, the `-o`/`--output` option [can no longer be used with a solution file](https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/7.0/solution-level-output-no-longer-valid?WT.mc_id=DT-MVP-5003472).
81+
82+
Starting with .NET 8 and later, the `dotnet publish` command defaults to the Release configuration, so you can omit the `-c Release` option.
83+
For more details see https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-publish-config.
84+
85+
If you execute the dotnet publish command from within the same directory as the .csproj file, you can omit the project argument. You can find more details on the [dotnet publish documentation](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish?WT.mc_id=DT-MVP-5003472#arguments).
86+
</Admonition>
87+
9088
</details>
9189
</FancyStep>
9290

0 commit comments

Comments
 (0)