Skip to content

Commit fab4b84

Browse files
committed
Fix publishing documentation
1 parent 44a820e commit fab4b84

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/Using/Package-Building.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ Add publish profiles to `Properties/PublishProfiles/`:
2424
<?xml version="1.0" encoding="utf-8"?>
2525
<Project>
2626
<PropertyGroup>
27-
<Configuration>Release</Configuration>
28-
<Platform>Any CPU</Platform>
29-
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
30-
<PublishProtocol>FileSystem</PublishProtocol>
27+
<DeleteExistingFiles>true</DeleteExistingFiles>
28+
<PublishProvider>FileSystem</PublishProvider>
29+
<PublishUrl>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishUrl>
30+
<WebPublishMethod>FileSystem</WebPublishMethod>
31+
<_TargetId>Folder</_TargetId>
3132
<TargetFramework>net10.0</TargetFramework>
3233
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
34+
<ProjectGuid>48eff821-2f4d-60cc-aa44-be0f1d6e5f35</ProjectGuid>
3335
<SelfContained>true</SelfContained>
34-
<PublishSingleFile>false</PublishSingleFile>
3536
</PropertyGroup>
3637
</Project>
3738
```
@@ -44,14 +45,15 @@ Add publish profiles to `Properties/PublishProfiles/`:
4445
<?xml version="1.0" encoding="utf-8"?>
4546
<Project>
4647
<PropertyGroup>
47-
<Configuration>Release</Configuration>
48-
<Platform>Any CPU</Platform>
49-
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
50-
<PublishProtocol>FileSystem</PublishProtocol>
48+
<DeleteExistingFiles>true</DeleteExistingFiles>
49+
<PublishProvider>FileSystem</PublishProvider>
50+
<PublishUrl>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishUrl>
51+
<WebPublishMethod>FileSystem</WebPublishMethod>
52+
<_TargetId>Folder</_TargetId>
5153
<TargetFramework>net10.0</TargetFramework>
5254
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
55+
<ProjectGuid>48eff821-2f4d-60cc-aa44-be0f1d6e5f35</ProjectGuid>
5356
<SelfContained>true</SelfContained>
54-
<PublishSingleFile>false</PublishSingleFile>
5557
</PropertyGroup>
5658
</Project>
5759
```

0 commit comments

Comments
 (0)