dev pubxml

This commit is contained in:
Aigio Liu
2021-12-03 14:20:05 +08:00
parent 0c2fadb25a
commit 7e54aaeb95
5 changed files with 111 additions and 0 deletions
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineConstants>FRAMEWORK_DEPENDENT;PUBLISH;PUBLISH_WIN7;WINDOWS;$(DefineConstants)</DefineConstants>
<Configuration>Debug</Configuration>
<PublishDir>bin\Debug\Publish\FrameworkDependent\win-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<Platform>Any CPU</Platform>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<SelfContained>false</SelfContained>
<!-- C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets -->
<!-- Delete <NETSdkError ... ResourceName="SingleFileWin7Incompatible" ... /> -->
<!-- https://github.com/dotnet/sdk/issues/16499 -->
<!-- https://github.com/dotnet/sdk/pull/19439/files#diff-a34c0c3c174905dc5ce1e883006893f45b46b08fcac6ba51535c464cb952c6a2R162 -->
<!-- https://www.nuget.org/packages/runtime.win7-x64.Microsoft.NETCore.Windows.ApiSets -->
<!--“GenerateBundle”任务意外失败。-->
<!--System.IO.IOException: 文件“bin\Release\Publish\win-x64\Steam++.exe”正由另一进程使用,因此该进程无法访问此文件。-->
<PublishSingleFile>false</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineConstants>PUBLISH;LINUX;$(DefineConstants)</DefineConstants>
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
<PublishDir>bin\Debug\Publish\linux-arm64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<!-- Linux distributions running on 64-bit ARM like Ubuntu Server 64-bit on Raspberry Pi Model 3+ -->
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
<TargetFramework>net6.0</TargetFramework>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
</Project>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineConstants>PUBLISH;LINUX;$(DefineConstants)</DefineConstants>
<Configuration>Debug</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Debug\Publish\linux-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<TargetFramework>net6.0</TargetFramework>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
</Project>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineConstants>MAC;PUBLISH;$(DefineConstants)</DefineConstants>
<Configuration>Debug</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Debug\Publish\osx-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<RuntimeIdentifier>osx.10.14-x64</RuntimeIdentifier>
<TargetFramework>net6.0</TargetFramework>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
</Project>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefineConstants>PUBLISH;PUBLISH_WIN7;WINDOWS;$(DefineConstants)</DefineConstants>
<Configuration>Debug</Configuration>
<PublishDir>bin\Debug\Publish\win-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<Platform>Any CPU</Platform>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<SelfContained>true</SelfContained>
<!-- C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets -->
<!-- Delete <NETSdkError ... ResourceName="SingleFileWin7Incompatible" ... /> -->
<!-- https://github.com/dotnet/sdk/issues/16499 -->
<!-- https://github.com/dotnet/sdk/pull/19439/files#diff-a34c0c3c174905dc5ce1e883006893f45b46b08fcac6ba51535c464cb952c6a2R162 -->
<!-- https://www.nuget.org/packages/runtime.win7-x64.Microsoft.NETCore.Windows.ApiSets -->
<!--“GenerateBundle”任务意外失败。-->
<!--System.IO.IOException: 文件“bin\Release\Publish\win-x64\Steam++.exe”正由另一进程使用,因此该进程无法访问此文件。-->
<PublishSingleFile>false</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
</PropertyGroup>
</Project>