Skip to content

Commit b2d228e

Browse files
committed
Mono: Version csproj, sln and Properties are recommended by neikeq
1 parent 0af6d01 commit b2d228e

File tree

4 files changed

+103
-3
lines changed

4 files changed

+103
-3
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ export_presets.cfg
66

77
# Mono-specific ignores
88
.mono/
9-
Properties/
10-
*.csproj
11-
*.sln
129

1310
# System/tool-specific ignores
1411
.directory
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProjectGuid>{4F9320CC-07E9-4CEA-AA42-A32C83303312}</ProjectGuid>
7+
<OutputType>Library</OutputType>
8+
<OutputPath>.mono/temp/bin/$(Configuration)</OutputPath>
9+
<RootNamespace>Pong with C#</RootNamespace>
10+
<AssemblyName>Pong with C#</AssemblyName>
11+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
12+
<BaseIntermediateOutputPath>.mono/temp/obj</BaseIntermediateOutputPath>
13+
<IntermediateOutputPath>$(BaseIntermediateOutputPath)/$(Configuration)</IntermediateOutputPath>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<DefineConstants>DEBUG;</DefineConstants>
20+
<ErrorReport>prompt</ErrorReport>
21+
<WarningLevel>4</WarningLevel>
22+
<ConsolePause>false</ConsolePause>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
26+
<Optimize>true</Optimize>
27+
<ErrorReport>prompt</ErrorReport>
28+
<WarningLevel>4</WarningLevel>
29+
<ConsolePause>false</ConsolePause>
30+
</PropertyGroup>
31+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Tools|AnyCPU' ">
32+
<DebugSymbols>true</DebugSymbols>
33+
<DebugType>full</DebugType>
34+
<Optimize>false</Optimize>
35+
<DefineConstants>DEBUG;TOOLS;</DefineConstants>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
<ConsolePause>false</ConsolePause>
39+
</PropertyGroup>
40+
<ItemGroup>
41+
<Reference Include="GodotSharp">
42+
<HintPath>$(ProjectDir)/.mono/assemblies/GodotSharp.dll</HintPath>
43+
<Private>False</Private>
44+
</Reference>
45+
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Tools' ">
46+
<HintPath>$(ProjectDir)/.mono/assemblies/GodotSharpEditor.dll</HintPath>
47+
<Private>False</Private>
48+
</Reference>
49+
<Reference Include="System" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<Compile Include="Ball.cs" />
53+
<Compile Include="CeilingFloor.cs" />
54+
<Compile Include="Paddle.cs" />
55+
<Compile Include="Properties\AssemblyInfo.cs" />
56+
<Compile Include="Wall.cs" />
57+
</ItemGroup>
58+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
59+
</Project>

mono/monkey_pong/Pong with C#.sln

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio 2012
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pong with C#", "Pong with C#.csproj", "{4F9320CC-07E9-4CEA-AA42-A32C83303312}"
4+
EndProject
5+
Global
6+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7+
Debug|Any CPU = Debug|Any CPU
8+
Release|Any CPU = Release|Any CPU
9+
Tools|Any CPU = Tools|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Release|Any CPU.Build.0 = Release|Any CPU
16+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Tools|Any CPU.ActiveCfg = Tools|Any CPU
17+
{4F9320CC-07E9-4CEA-AA42-A32C83303312}.Tools|Any CPU.Build.0 = Tools|Any CPU
18+
EndGlobalSection
19+
EndGlobal
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System.Reflection;
2+
3+
// Information about this assembly is defined by the following attributes.
4+
// Change them to the values specific to your project.
5+
6+
[assembly: AssemblyTitle("Pong with C#")]
7+
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyConfiguration("")]
9+
[assembly: AssemblyCompany("")]
10+
[assembly: AssemblyProduct("")]
11+
[assembly: AssemblyCopyright("")]
12+
[assembly: AssemblyTrademark("")]
13+
[assembly: AssemblyCulture("")]
14+
15+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
16+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
17+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
18+
19+
[assembly: AssemblyVersion("1.0.*")]
20+
21+
// The following attributes are used to specify the signing key for the assembly,
22+
// if desired. See the Mono documentation for more information about signing.
23+
24+
//[assembly: AssemblyDelaySign(false)]
25+
//[assembly: AssemblyKeyFile("")]

0 commit comments

Comments
 (0)