Changeset - c4151b335d1f
[Not reviewed]
default
0 2 1
Jason Maltzen - 3 years ago 2021-07-20 07:03:08
jason@hiddenachievement.com
Add a step to publish as a self-contained executable.
3 files changed with 29 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
...
 
@@ -7,6 +7,8 @@ syntax: glob
 
bin/
 
obj/
 

 
publish/
 

 
*.user
 

 
mac/old/
DesertPaintCodex.csproj
Show inline comments
...
 
@@ -3,6 +3,15 @@
 
    <OutputType>WinExe</OutputType>
 
    <TargetFramework>net5.0</TargetFramework>
 
    <Nullable>enable</Nullable>
 
    <ApplicationIcon>Assets\desert_paint_codex_icon.ico</ApplicationIcon>
 
    <StartupObject>DesertPaintCodex.Program</StartupObject>
 
    <Platforms>AnyCPU;x64</Platforms>
 
  </PropertyGroup>
 
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
 
    <PlatformTarget>x64</PlatformTarget>
 
  </PropertyGroup>
 
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <PlatformTarget>x64</PlatformTarget>
 
  </PropertyGroup>
 
  <ItemGroup>
 
    <Folder Include="Models\" />
Properties/PublishProfiles/Win64 Self-Contained.pubxml
Show inline comments
 
new file 100644
 
<?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>
 
    <Configuration>Release</Configuration>
 
    <Platform>x64</Platform>
 
    <PublishDir>publish\win-x64</PublishDir>
 
    <PublishProtocol>FileSystem</PublishProtocol>
 
    <TargetFramework>net5.0</TargetFramework>
 
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
 
    <SelfContained>true</SelfContained>
 
    <PublishSingleFile>True</PublishSingleFile>
 
    <PublishReadyToRun>False</PublishReadyToRun>
 
    <PublishTrimmed>False</PublishTrimmed>
 
  </PropertyGroup>
 
</Project>
...
 
\ No newline at end of file
0 comments (0 inline, 0 general)