Skip to content

Commit 3214f89

Browse files
committed
Added example publishing settings
1 parent ec82398 commit 3214f89

7 files changed

Lines changed: 67 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ publish/
174174
*.azurePubxml
175175
# Note: Comment the next line if you want to checkin your web deploy settings,
176176
# but database connection strings (with potential passwords) will be unencrypted
177-
*.pubxml
177+
# *.pubxml
178178
*.publishproj
179179

180180
# Microsoft Azure Web App publish settings. Comment the next line if you want to

Examples/ModbusClient/ModbusClient.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<ImplicitUsings>enable</ImplicitUsings>
99
</PropertyGroup>
1010

11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
12+
<DebugType>none</DebugType>
13+
</PropertyGroup>
14+
1115
<ItemGroup>
1216
<PackageReference Include="PL.Tree" Version="1.0.0" />
1317
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>..\..\..\build</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net6.0-windows</TargetFramework>
13+
<SelfContained>false</SelfContained>
14+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<PublishReadyToRun>false</PublishReadyToRun>
17+
</PropertyGroup>
18+
</Project>

Examples/ModbusMemoryTest/ModbusMemoryTest.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<ImplicitUsings>enable</ImplicitUsings>
99
</PropertyGroup>
1010

11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
12+
<DebugType>none</DebugType>
13+
</PropertyGroup>
14+
1115
<ItemGroup>
1216
<PackageReference Include="PL.Tree" Version="1.0.0" />
1317
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>..\..\..\build</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net6.0-windows</TargetFramework>
13+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
14+
<SelfContained>false</SelfContained>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<PublishReadyToRun>false</PublishReadyToRun>
17+
</PropertyGroup>
18+
</Project>

Examples/ModbusSpeedTest/ModbusSpeedTest.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<ImplicitUsings>enable</ImplicitUsings>
99
</PropertyGroup>
1010

11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
12+
<DebugType>none</DebugType>
13+
</PropertyGroup>
14+
1115
<ItemGroup>
1216
<PackageReference Include="PL.Tree" Version="1.0.0" />
1317
<PackageReference Include="PL.Tree.WinForms" Version="1.0.0" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>..\..\..\build</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net6.0-windows</TargetFramework>
13+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
14+
<SelfContained>false</SelfContained>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<PublishReadyToRun>false</PublishReadyToRun>
17+
</PropertyGroup>
18+
</Project>

0 commit comments

Comments
 (0)