feat(gamecli): scaffold .NET solution and test project
This commit is contained in:
27
GameCli.Tests/GameCli.Tests.csproj
Normal file
27
GameCli.Tests/GameCli.Tests.csproj
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
<IsTestProject>true</IsTestProject>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="coverlet.collector" Version="6.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
||||||
|
<PackageReference Include="xunit" Version="2.5.3" />
|
||||||
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Include="Xunit" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\GameCli\GameCli.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
48
GameCli.sln
Normal file
48
GameCli.sln
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.0.31903.59
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GameCli", "GameCli\GameCli.csproj", "{6F988E2C-7994-4AE8-8354-85866FEA6CDE}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GameCli.Tests", "GameCli.Tests\GameCli.Tests.csproj", "{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{6F988E2C-7994-4AE8-8354-85866FEA6CDE}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{C0C7008D-E7BE-47E2-8CBB-2630AF817CC7}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
10
GameCli/GameCli.csproj
Normal file
10
GameCli/GameCli.csproj
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
2
GameCli/Program.cs
Normal file
2
GameCli/Program.cs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
// Placeholder. Rewritten in Task 8.
|
||||||
|
System.Console.Error.WriteLine("GameCli placeholder");
|
||||||
Reference in New Issue
Block a user