mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
update mlem.templates to use monogame 3.8
This commit is contained in:
parent
7ba14ba7f5
commit
c41875d574
7 changed files with 5 additions and 89 deletions
|
@ -1,2 +0,0 @@
|
|||
{
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
#----------------------------- Global Properties ----------------------------#
|
||||
|
||||
/outputDir:bin
|
||||
/intermediateDir:obj
|
||||
/platform:DesktopGL
|
||||
/config:
|
||||
/profile:Reach
|
||||
/compress:False
|
||||
|
||||
#-------------------------------- References --------------------------------#
|
||||
|
||||
|
||||
#---------------------------------- Content ---------------------------------#
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
using MLEM.Startup;
|
||||
|
||||
namespace TemplateNamespace {
|
||||
public class GameImpl : MlemGame {
|
||||
|
||||
public static GameImpl Instance { get; private set; }
|
||||
|
||||
public GameImpl() {
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue