1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-29 03:23:37 +02:00

update mlem.templates to use monogame 3.8

This commit is contained in:
Ellpeck 2020-05-30 16:34:51 +02:00
parent 7ba14ba7f5
commit c41875d574
7 changed files with 5 additions and 89 deletions

View file

@ -1,20 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Ellpeck",
"classifications": ["MLEM", "MonoGame"],
"groupIdentity": "MLEM.Templates.DesktopGL.Core",
"identity": "MLEM.Templates.DesktopGL.Core",
"name": "MLEM DesktopGL Core",
"shortName": "mlemdesktopglcore",
"sourceName": "TemplateNamespace",
"preferNameDirectory": true,
"tags": {
"language": "C#",
"type": "project"
},
"primaryOutputs": [
{
"path": "TemplateNamespace.csproj"
}
]
}

View file

@ -1,15 +0,0 @@
#----------------------------- Global Properties ----------------------------#
/outputDir:bin
/intermediateDir:obj
/platform:DesktopGL
/config:
/profile:Reach
/compress:False
#-------------------------------- References --------------------------------#
#---------------------------------- Content ---------------------------------#

View file

@ -1,13 +0,0 @@
using MLEM.Startup;
namespace TemplateNamespace {
public class GameImpl : MlemGame {
public static GameImpl Instance { get; private set; }
public GameImpl() {
Instance = this;
}
}
}

View file

@ -1,14 +0,0 @@
using Microsoft.Xna.Framework;
using MLEM.Misc;
namespace TemplateNamespace {
public static class Program {
public static void Main() {
TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);
using var game = new GameImpl();
game.Run();
}
}
}

View file

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Contentless" Version="2.0.*"/>
<PackageReference Include="MLEM.Startup" Version="3.3.*"/>
<PackageReference Include="MonoGame.Content.Builder" Version="3.7.*"/>
<PackageReference Include="MonoGame.Framework.DesktopGL.Core" Version="3.8.*"/>
</ItemGroup>
<ItemGroup>
<MonoGameContentReference Include="Content\Content.mgcb"/>
<Content Include="Content\*\**"/>
</ItemGroup>
</Project>

View file

@ -2,14 +2,16 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net462</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Contentless" Version="2.0.*" />
<PackageReference Include="MLEM.Startup" Version="3.3.*" />
<PackageReference Include="MonoGame.Content.Builder" Version="3.7.*" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.7.*" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1375-develop" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1375-develop" />
</ItemGroup>
<ItemGroup>