Merge pull request #526 from aaronfranke/csharp-3.2.3

Update C# demos for Godot 3.2.3
This commit is contained in:
Aaron Franke
2020-10-01 14:19:13 -04:00
committed by GitHub
9 changed files with 87 additions and 343 deletions

View File

@@ -3,27 +3,6 @@ using System;
public class MonoTest : Node public class MonoTest : Node
{ {
public string Architecture()
{
#if GODOT_ARM64 || GODOT_ARM64_V8A
return "64-bit ARM";
#elif GODOT_ARMV7 || GODOT_ARMEABI_V7A
return "32-bit ARM";
#elif GODOT_X86_64
return "64-bit x86";
#elif GODOT_X86
return "32-bit x86";
#elif GODOT_128
return "128-bit";
#elif GODOT_64
return "64-bit";
#elif GODOT_32
return "32-bit";
#else
return "Unknown";
#endif
}
public string OperatingSystem() public string OperatingSystem()
{ {
#if GODOT_WINDOWS #if GODOT_WINDOWS
@@ -44,6 +23,8 @@ public class MonoTest : Node
return "Haiku"; return "Haiku";
#elif GODOT_UWP #elif GODOT_UWP
return "UWP (Windows 10)"; return "UWP (Windows 10)";
#elif GODOT
return "Other";
#else #else
return "Unknown"; return "Unknown";
#endif #endif
@@ -58,36 +39,9 @@ public class MonoTest : Node
#elif GODOT_WEB #elif GODOT_WEB
return "Web"; return "Web";
#elif GODOT #elif GODOT
return "Godot Editor (not exported)"; return "Other";
#else #else
return "Unknown"; return "Unknown";
#endif #endif
} }
public string TextureCompression()
{
string compression = "";
#if GODOT_S3TC
compression += "S3TC";
#endif
#if GODOT_ETC
if (compression.Length > 0)
{
compression += ", ";
}
compression += "ETC";
#endif
#if GODOT_ETC2
if (compression.Length > 0)
{
compression += ", ";
}
compression += "ETC2";
#endif
if (compression.Length > 0)
{
return compression;
}
return "Not exported or no textures";
}
} }

View File

@@ -1,60 +1,23 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Godot.NET.Sdk/3.2.3">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Tools</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Tools</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{780B9CDA-51E7-446A-816F-0E2CF667C96C}</ProjectGuid> <ProjectGuid>{780B9CDA-51E7-446A-816F-0E2CF667C96C}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono/temp/bin/$(Configuration)</OutputPath>
<RootNamespace>OperatingSystemTesting</RootNamespace> <RootNamespace>OperatingSystemTesting</RootNamespace>
<AssemblyName>Operating System Testing</AssemblyName> <AssemblyName>Operating System Testing</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<GodotProjectGeneratorVersion>1.0.7374.17554</GodotProjectGeneratorVersion> <GodotProjectGeneratorVersion>1.0.7374.17554</GodotProjectGeneratorVersion>
<BaseIntermediateOutputPath>.mono/temp/obj</BaseIntermediateOutputPath> <TargetFramework>net472</TargetFramework>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)/$(Configuration)</IntermediateOutputPath> <!--The following properties were overriden during migration to prevent errors.
<ApiConfiguration Condition=" '$(Configuration)' != 'Release' ">Debug</ApiConfiguration> Enabling them may require other manual changes to the project and its files.-->
<ApiConfiguration Condition=" '$(Configuration)' == 'Release' ">Release</ApiConfiguration> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <Deterministic>false</Deterministic>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Tools|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="GodotSharp">
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Tools' ">
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="MonoTest.cs" /> <Compile Include="MonoTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -5,15 +5,15 @@ EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU ExportDebug|Any CPU = ExportDebug|Any CPU
Tools|Any CPU = Tools|Any CPU ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Debug|Any CPU.Build.0 = Debug|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Release|Any CPU.ActiveCfg = Release|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Release|Any CPU.Build.0 = Release|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Tools|Any CPU.ActiveCfg = Tools|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{780B9CDA-51E7-446A-816F-0E2CF667C96C}.Tools|Any CPU.Build.0 = Tools|Any CPU {780B9CDA-51E7-446A-816F-0E2CF667C96C}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

View File

@@ -123,10 +123,8 @@ func _ready():
add_line("Mono module enabled", "Yes" if mono_enabled else "No") add_line("Mono module enabled", "Yes" if mono_enabled else "No")
if mono_enabled: if mono_enabled:
mono_test.set_script(load("res://MonoTest.cs")) mono_test.set_script(load("res://MonoTest.cs"))
add_line("Architecture", mono_test.Architecture())
add_line("Operating System", mono_test.OperatingSystem()) add_line("Operating System", mono_test.OperatingSystem())
add_line("Platform Type", mono_test.PlatformType()) add_line("Platform Type", mono_test.PlatformType())
add_line("Texture Compression", mono_test.TextureCompression())
add_header("Software") add_header("Software")
add_line("OS name", OS.get_name()) add_line("OS name", OS.get_name())

View File

@@ -1,55 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Godot.NET.Sdk/3.2.3">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5CA791DB-5050-44D0-989B-41D559AB1D50}</ProjectGuid> <ProjectGuid>{5CA791DB-5050-44D0-989B-41D559AB1D50}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono/temp/bin/$(Configuration)</OutputPath>
<RootNamespace>Empty.DMono</RootNamespace> <RootNamespace>Empty.DMono</RootNamespace>
<AssemblyName>2.5D Demo with C#</AssemblyName> <AssemblyName>2.5D Demo with C#</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<BaseIntermediateOutputPath>.mono/temp/obj</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)/$(Configuration)</IntermediateOutputPath>
<ApiConfiguration Condition=" '$(Configuration)' != 'ExportRelease' ">Debug</ApiConfiguration>
<ApiConfiguration Condition=" '$(Configuration)' == 'ExportRelease' ">Release</ApiConfiguration>
<GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion> <GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion>
</PropertyGroup> <TargetFramework>net472</TargetFramework>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportDebug|AnyCPU' "> <!--The following properties were overriden during migration to prevent errors.
<DebugSymbols>true</DebugSymbols> Enabling them may require other manual changes to the project and its files.-->
<DebugType>portable</DebugType> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<Optimize>false</Optimize> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants> <Deterministic>false</Deterministic>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportRelease|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="GodotSharp">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Debug' ">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -64,11 +27,5 @@
<Compile Include="assets\player\PlayerSprite.cs" /> <Compile Include="assets\player\PlayerSprite.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.0</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -8,7 +8,7 @@ Languages: All have [C#](https://docs.godotengine.org/en/latest/getting_started/
Renderers: Dodge the Creeps is GLES 3, rest are GLES 2 Renderers: Dodge the Creeps is GLES 3, rest are GLES 2
# Note: Godot 3.2.2 or newer is required # Note: Godot 3.2.3 or newer is required
While most of the demos work with any 3.2.x version, these demos require While most of the demos work with any 3.2.x version, these demos require
at least Godot 3.2.2 since there are large C#-specific changes in 3.2.2. at least Godot 3.2.3 since there are large C#-specific changes in 3.2.3.

View File

@@ -1,59 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Godot.NET.Sdk/3.2.3">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{480953C3-B1FD-42F6-8A07-51A3F69024D7}</ProjectGuid> <ProjectGuid>{480953C3-B1FD-42F6-8A07-51A3F69024D7}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono\temp\bin\$(Configuration)</OutputPath>
<RootNamespace>AndroidInAppPurchasesWithCSharp</RootNamespace> <RootNamespace>AndroidInAppPurchasesWithCSharp</RootNamespace>
<AssemblyName>Android in-app purchases with C#</AssemblyName> <AssemblyName>Android in-app purchases with C#</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion> <GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion>
<BaseIntermediateOutputPath>.mono\temp\obj</BaseIntermediateOutputPath> <TargetFramework>net472</TargetFramework>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)</IntermediateOutputPath> <!--The following properties were overriden during migration to prevent errors.
<ApiConfiguration Condition=" '$(Configuration)' != 'ExportRelease' ">Debug</ApiConfiguration> Enabling them may require other manual changes to the project and its files.-->
<ApiConfiguration Condition=" '$(Configuration)' == 'ExportRelease' ">Release</ApiConfiguration> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportDebug|AnyCPU' "> <Deterministic>false</Deterministic>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportRelease|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.0</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<Reference Include="GodotSharp">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Debug' ">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -66,5 +25,4 @@
<Compile Include="Main.cs" /> <Compile Include="Main.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -1,55 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Godot.NET.Sdk/3.2.3">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{75CB0382-CCCC-4A4D-ABF0-C6CD04D9F832}</ProjectGuid> <ProjectGuid>{75CB0382-CCCC-4A4D-ABF0-C6CD04D9F832}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono\temp\bin\$(Configuration)</OutputPath>
<RootNamespace>DodgetheCreepswithC</RootNamespace> <RootNamespace>DodgetheCreepswithC</RootNamespace>
<AssemblyName>Dodge the Creeps with C#</AssemblyName> <AssemblyName>Dodge the Creeps with C#</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<GodotProjectGeneratorVersion>1.0.7374.16792</GodotProjectGeneratorVersion> <GodotProjectGeneratorVersion>1.0.7374.16792</GodotProjectGeneratorVersion>
<BaseIntermediateOutputPath>.mono\temp\obj</BaseIntermediateOutputPath> <TargetFramework>net472</TargetFramework>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)</IntermediateOutputPath> <!--The following properties were overriden during migration to prevent errors.
<ApiConfiguration Condition=" '$(Configuration)' != 'ExportRelease' ">Debug</ApiConfiguration> Enabling them may require other manual changes to the project and its files.-->
<ApiConfiguration Condition=" '$(Configuration)' == 'ExportRelease' ">Release</ApiConfiguration> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportDebug|AnyCPU' "> <Deterministic>false</Deterministic>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportRelease|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="GodotSharp">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Debug' ">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -59,11 +22,5 @@
<Compile Include="Player.cs" /> <Compile Include="Player.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.0</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -1,55 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Godot.NET.Sdk/3.2.3">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{EBA5981B-C37E-48C5-A3B6-4390D9834F9A}</ProjectGuid> <ProjectGuid>{EBA5981B-C37E-48C5-A3B6-4390D9834F9A}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<OutputPath>.mono/temp/bin/$(Configuration)</OutputPath>
<RootNamespace>PongwithC</RootNamespace> <RootNamespace>PongwithC</RootNamespace>
<AssemblyName>Pong with C#</AssemblyName> <AssemblyName>Pong with C#</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<BaseIntermediateOutputPath>.mono/temp/obj</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)/$(Configuration)</IntermediateOutputPath>
<ApiConfiguration Condition=" '$(Configuration)' != 'ExportRelease' ">Debug</ApiConfiguration>
<ApiConfiguration Condition=" '$(Configuration)' == 'ExportRelease' ">Release</ApiConfiguration>
<GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion> <GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion>
</PropertyGroup> <TargetFramework>net472</TargetFramework>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportDebug|AnyCPU' "> <!--The following properties were overriden during migration to prevent errors.
<DebugSymbols>true</DebugSymbols> Enabling them may require other manual changes to the project and its files.-->
<DebugType>portable</DebugType> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<Optimize>false</Optimize> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants> <Deterministic>false</Deterministic>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportRelease|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="GodotSharp">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Debug' ">
<Private>False</Private>
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -59,11 +22,5 @@
<Compile Include="Logic\Paddle.cs" /> <Compile Include="Logic\Paddle.cs" />
<Compile Include="Logic\Wall.cs" /> <Compile Include="Logic\Wall.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.0</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>