Skip to content

Commit d0eb088

Browse files
committed
Fix publishing documentation
1 parent 0321804 commit d0eb088

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/Using/Package-Building.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ Add publish profiles to `Properties/PublishProfiles/`:
2626
<PropertyGroup>
2727
<Configuration>Release</Configuration>
2828
<Platform>Any CPU</Platform>
29-
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
30-
<PublishProtocol>FileSystem</PublishProtocol>
29+
<DeleteExistingFiles>true</DeleteExistingFiles>
30+
<PublishProvider>FileSystem</PublishProvider>
31+
<PublishUrl>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishUrl>
32+
<WebPublishMethod>FileSystem</WebPublishMethod>
33+
<_TargetId>Folder</_TargetId>
3134
<TargetFramework>net10.0</TargetFramework>
3235
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
36+
<ProjectGuid>48eff821-2f4d-60cc-aa44-be0f1d6e5f35</ProjectGuid>
3337
<SelfContained>true</SelfContained>
34-
<PublishSingleFile>false</PublishSingleFile>
3538
</PropertyGroup>
3639
</Project>
3740
```
@@ -46,12 +49,15 @@ Add publish profiles to `Properties/PublishProfiles/`:
4649
<PropertyGroup>
4750
<Configuration>Release</Configuration>
4851
<Platform>Any CPU</Platform>
49-
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
50-
<PublishProtocol>FileSystem</PublishProtocol>
52+
<DeleteExistingFiles>true</DeleteExistingFiles>
53+
<PublishProvider>FileSystem</PublishProvider>
54+
<PublishUrl>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishUrl>
55+
<WebPublishMethod>FileSystem</WebPublishMethod>
56+
<_TargetId>Folder</_TargetId>
5157
<TargetFramework>net10.0</TargetFramework>
5258
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
59+
<ProjectGuid>48eff821-2f4d-60cc-aa44-be0f1d6e5f35</ProjectGuid>
5360
<SelfContained>true</SelfContained>
54-
<PublishSingleFile>false</PublishSingleFile>
5561
</PropertyGroup>
5662
</Project>
5763
```

0 commit comments

Comments
 (0)