Skip to content

Commit 684d752

Browse files
committedFeb 12, 2024
Repo: Simplify .csproj
1 parent 7463cbf commit 684d752

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed
 

‎ExampleMod.csproj

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{17363E6E-3842-4CB4-91F4-61667C78E698}</ProjectGuid>
7-
<OutputType>Library</OutputType>
8-
<AppDesignerFolder>Properties</AppDesignerFolder>
94
<RootNamespace>ExampleMod</RootNamespace>
105
<AssemblyName>ExampleMod</AssemblyName>
116
<TargetFramework>net48</TargetFramework>
12-
<FileAlignment>512</FileAlignment>
13-
<LangVersion>11</LangVersion>
14-
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<PlatformTarget>AnyCPU</PlatformTarget>
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
217
<DefineConstants>DEBUG;TRACE;一米_中文名</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
248
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
25-
</PropertyGroup>
26-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27-
<PlatformTarget>AnyCPU</PlatformTarget>
28-
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
9+
<ImplicitUsings>disable</ImplicitUsings>
10+
<Nullable>disable</Nullable>
11+
<LangVersion>11</LangVersion>
12+
<OutputType>Library</OutputType>
3413
</PropertyGroup>
3514
<ItemGroup>
3615
<Content Include=".gitignore"/>

0 commit comments

Comments
 (0)
Please sign in to comment.