mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-02-10 16:24:49 -05:00
Opinionate the template, also some updates like the new build configs.
This commit is contained in:
parent
75a7ea8389
commit
4b84ff2033
16 changed files with 518 additions and 216 deletions
|
|
@ -3,12 +3,11 @@
|
|||
<PropertyGroup>
|
||||
<!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
|
||||
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<LangVersion>11</LangVersion>
|
||||
<IsPackable>false</IsPackable>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<OutputPath>../bin/Content.Shared</OutputPath>
|
||||
<Configurations>Release;Debug</Configurations>
|
||||
<Platforms>AnyCPU</Platforms>
|
||||
<WarningsAsErrors>nullable</WarningsAsErrors>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
||||
<ItemGroup>
|
||||
|
|
@ -25,4 +24,7 @@
|
|||
<Private>false</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\RobustToolbox\MSBuild\Robust.Properties.targets" />
|
||||
<Import Project="..\RobustToolbox\MSBuild\Robust.CompNetworkGenerator.targets" />
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
using System.Globalization;
|
||||
using Robust.Shared.ContentPack;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
|
||||
// DEVNOTE: Games that want to be on the hub can change their namespace prefix in the "manifest.yml" file.
|
||||
namespace Content.Shared;
|
||||
|
|
|
|||
10
Content.Shared/GlobalUsings.cs
Normal file
10
Content.Shared/GlobalUsings.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using Robust.Shared.Analyzers;
|
||||
global using Robust.Shared.Log;
|
||||
global using Robust.Shared.Localization;
|
||||
global using Robust.Shared.GameObjects;
|
||||
global using Robust.Shared.IoC;
|
||||
global using Robust.Shared.Maths;
|
||||
global using Robust.Shared.ViewVariables;
|
||||
global using Robust.Shared.Serialization.Manager.Attributes;
|
||||
Loading…
Add table
Add a link
Reference in a new issue