Skip to content

Commit

Permalink
Update build workflow and project configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
hbl917070 committed Feb 26, 2024
1 parent 5f71776 commit 77ac516
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/Output

/TiefseeLauncher/obj
/TiefseeLauncher/bin

/BuildAll/obj
/BuildAll/bin
16 changes: 10 additions & 6 deletions BuildAll/BuildAll.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>

<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

<!-- 不產生 .deps.json 檔案 -->
<GenerateDependencyFile>false</GenerateDependencyFile>

<OutputType>Exe</OutputType>

<Platforms>x64</Platforms>
<Configurations>Release</Configurations>
</PropertyGroup>
Expand All @@ -32,8 +32,12 @@
<!-- 刪除無用檔案 -->
<Delete Files="$(MSBuildProjectDirectory)\..\Output\Tiefsee.pdb" />
<Delete Files="$(MSBuildProjectDirectory)\..\Output\TiefseeCore.pdb" />

<Delete Files="$(MSBuildProjectDirectory)\..\Output\BuildAll.pdb" />
<Delete Files="$(MSBuildProjectDirectory)\..\Output\BuildAll.dll" />
<Delete Files="$(MSBuildProjectDirectory)\..\Output\BuildAll.exe" />
<Delete Files="$(MSBuildProjectDirectory)\..\Output\BuildAll.runtimeconfig.json" />
<Delete Files="$(MSBuildProjectDirectory)\..\Output\BuildAll.deps.json" />
</Target>

<!-- 打包成 zip -->
Expand Down
7 changes: 7 additions & 0 deletions BuildAll/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace BuildAll {
internal class Program {
static void Main(string[] args) {
Console.WriteLine("Hello, World!");
}
}
}
8 changes: 4 additions & 4 deletions Tiefsee4.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Project("{54A90642-561A-4BB1-A94E-469ADEE60C69}") = "Www", "Www\Www.esproj", "{9
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TiefseeLauncher", "TiefseeLauncher\TiefseeLauncher.csproj", "{DB9F5F64-024A-48B0-9F35-E7D689B3883B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildAll", "BuildAll\BuildAll.csproj", "{E65FD650-271E-4531-B049-D33BAD867840}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildAll", "BuildAll\BuildAll.csproj", "{4BECA59E-706E-492E-A26D-A8B362A5F496}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -37,9 +37,9 @@ Global
{DB9F5F64-024A-48B0-9F35-E7D689B3883B}.Debug|x64.ActiveCfg = Debug|x64
{DB9F5F64-024A-48B0-9F35-E7D689B3883B}.Debug|x64.Build.0 = Debug|x64
{DB9F5F64-024A-48B0-9F35-E7D689B3883B}.Release|x64.ActiveCfg = Release|x64
{E65FD650-271E-4531-B049-D33BAD867840}.Debug|x64.ActiveCfg = Release|x64
{E65FD650-271E-4531-B049-D33BAD867840}.Debug|x64.Build.0 = Release|x64
{E65FD650-271E-4531-B049-D33BAD867840}.Release|x64.ActiveCfg = Release|x64
{4BECA59E-706E-492E-A26D-A8B362A5F496}.Debug|x64.ActiveCfg = Debug|x64
{4BECA59E-706E-492E-A26D-A8B362A5F496}.Release|x64.ActiveCfg = Release|x64
{4BECA59E-706E-492E-A26D-A8B362A5F496}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
11 changes: 0 additions & 11 deletions TiefseeLauncher/Properties/launchSettings.json

This file was deleted.

0 comments on commit 77ac516

Please sign in to comment.