Skip to content

Commit 378158e

Browse files
feat: update project settings (#667)
* thing * update events csproj * set lang to 13.0 * prevent IDE0305 message --------- Co-authored-by: Yamato <[email protected]>
1 parent 9faf596 commit 378158e

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

EXILED/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ij_wrap_on_typing = false
1919
csharp_style_var_for_built_in_types = false:error
2020
csharp_style_var_when_type_is_apparent = false:error
2121
csharp_style_var_elsewhere = false:error
22+
dotnet_diagnostic.IDE0305.severity = none
2223

2324
# ReSharper properties
2425
resharper_csharp_max_line_length = 400

EXILED/EXILED.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PropertyGroup Condition="$(BuildProperties) == '' OR $(BuildProperties) == 'true'">
99
<TargetFramework>net48</TargetFramework>
10-
<LangVersion>9.0</LangVersion>
10+
<LangVersion>13.0</LangVersion>
1111
<PlatformTarget>x64</PlatformTarget>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<OutputPath>$(MSBuildThisFileDirectory)\bin\$(Configuration)\</OutputPath>

EXILED/Exiled.API/Exiled.API.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
<Reference Include="UnityEngine.AudioModule" HintPath="$(EXILED_REFERENCES)\UnityEngine.AudioModule.dll" Private="false" />
4141
<Reference Include="UnityEngine.UI" HintPath="$(EXILED_REFERENCES)\UnityEngine.UI.dll" Private="false" />
4242
<Reference Include="YamlDotNet" HintPath="$(EXILED_REFERENCES)\YamlDotNet.dll" Private="false" />
43+
<Reference Include="mscorlib" HintPath="$(EXILED_REFERENCES)\mscorlib.dll" Private="false" />
44+
<Reference Include="System" HintPath="$(EXILED_REFERENCES)\System.dll" Private="false" />
4345
</ItemGroup>
4446

4547
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">

EXILED/Exiled.Events/Exiled.Events.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
<Reference Include="UnityEngine.CoreModule" HintPath="$(EXILED_REFERENCES)\UnityEngine.CoreModule.dll" Private="false" />
3838
<Reference Include="UnityEngine.PhysicsModule" HintPath="$(EXILED_REFERENCES)\UnityEngine.PhysicsModule.dll" Private="false" />
3939
<Reference Include="YamlDotNet" HintPath="$(EXILED_REFERENCES)\YamlDotNet.dll" Private="false" />
40+
<Reference Include="mscorlib" HintPath="$(EXILED_REFERENCES)\mscorlib.dll" Private="false" />
41+
<Reference Include="System" HintPath="$(EXILED_REFERENCES)\System.dll" Private="false" />
4042
</ItemGroup>
4143

4244
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">

0 commit comments

Comments
 (0)