Browse Source

格式化 .csproj 文件

dev
王厅 2 months ago
parent
commit
57e5568578
  1. 42
      Apewer.Source/Apewer.Source.csproj
  2. 36
      Apewer.Web/Apewer.Web.csproj
  3. 126
      Apewer.Windows/Apewer.Windows.csproj

42
Apewer.Source/Apewer.Source.csproj

@ -1,29 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Apewer\Apewer.props" />
<Import Project="..\Apewer\Apewer.props" />
<PropertyGroup>
<DefineConstants>SOURCE;$(DefineConstants);</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">MYSQL_6_10;$(DefineConstants);</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='net40'">MYSQL_6_9;$(DefineConstants);</DefineConstants>
<TargetFrameworks>netstandard2.0;net40;net20</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>SOURCE;$(DefineConstants);</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">MYSQL_6_10;$(DefineConstants);</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)'=='net40'">MYSQL_6_9;$(DefineConstants);</DefineConstants>
<TargetFrameworks>netstandard2.0;net40;net20</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.110" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.110" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
<PackageReference Include="System.Data.SqlClient" Version="4.4.3" />
<PackageReference Include="System.Security.Permissions" Version="4.4.1" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
<PackageReference Include="System.Data.SqlClient" Version="4.4.3" />
<PackageReference Include="System.Security.Permissions" Version="4.4.1" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="System.Configuration" />
<Reference Include="System.Transactions" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="System.Configuration" />
<Reference Include="System.Transactions" />
</ItemGroup>
</Project>

36
Apewer.Web/Apewer.Web.csproj

@ -1,25 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Apewer\Apewer.props" />
<Import Project="..\Apewer\Apewer.props" />
<PropertyGroup>
<DefineConstants>WEB;$(DefineConstants);</DefineConstants>
<TargetFrameworks>netcoreapp3.1;net40;net20</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>WEB;$(DefineConstants);</DefineConstants>
<TargetFrameworks>netcoreapp3.1;net40;net20</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="FavIcon.ico" />
<EmbeddedResource Include="WebConfig40.xml" />
<EmbeddedResource Include="WebConfigStd.xml" />
<EmbeddedResource Include="WebConfig461.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="FavIcon.ico" />
<EmbeddedResource Include="WebConfig40.xml" />
<EmbeddedResource Include="WebConfigStd.xml" />
<EmbeddedResource Include="WebConfig461.xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
<FrameworkReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'" Include="Microsoft.AspNetCore.App" />
<Reference Condition="'$(TargetFramework)' == 'net461'" Include="System.Web" />
<Reference Condition="'$(TargetFramework)' == 'net40'" Include="System.Web" />
<Reference Condition="'$(TargetFramework)' == 'net20'" Include="System.Web" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
<FrameworkReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'" Include="Microsoft.AspNetCore.App" />
<Reference Condition="'$(TargetFramework)' == 'net461'" Include="System.Web" />
<Reference Condition="'$(TargetFramework)' == 'net40'" Include="System.Web" />
<Reference Condition="'$(TargetFramework)' == 'net20'" Include="System.Web" />
</ItemGroup>
</Project>

126
Apewer.Windows/Apewer.Windows.csproj

@ -3,77 +3,77 @@
<Import Project="..\Apewer\Apewer.props" />
<PropertyGroup>
<NoWarn>CS0108;CS0612</NoWarn>
<TargetFrameworks>net461;net40;net20;netcoreapp3.1</TargetFrameworks>
<NoWarn>CS0108;CS0612</NoWarn>
<TargetFrameworks>net461;net40;net20;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Apewer\Apewer.csproj" />
</ItemGroup>
<!-- .NET Core 3.1 -->
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
<!-- <UseWPF>true</UseWPF> -->
<!-- <UseWindowsForms>true</UseWindowsForms> -->
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
<!-- <FrameworkReference Include="Microsoft.AspNetCore.App" /> -->
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
<!-- .NET Core 3.1 -->
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
<!-- <UseWPF>true</UseWPF> -->
<!-- <UseWindowsForms>true</UseWindowsForms> -->
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
<!-- <FrameworkReference Include="Microsoft.AspNetCore.App" /> -->
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
<!-- .NET Framework 4.6.1 -->
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<!-- .NET Framework 4.6.1 -->
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<!-- .NET Framework 4.0 -->
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<!-- .NET Framework 4.0 -->
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
<Reference Include="CustomMarshalers" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="System.Core" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Security" />
<Reference Include="System.Speech" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<!-- .NET Framework 2.0 -->
<ItemGroup Condition="'$(TargetFramework)'=='net20'">
<Reference Include="CustomMarshalers" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Management" />
<Reference Include="System.Security" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Update="Tray\MainForm.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
<!-- .NET Framework 2.0 -->
<ItemGroup Condition="'$(TargetFramework)'=='net20'">
<Reference Include="CustomMarshalers" />
<Reference Include="System.Configuration" />
<Reference Include="System.Design" />
<Reference Include="System.Management" />
<Reference Include="System.Security" />
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Update="Tray\MainForm.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>
Loading…
Cancel
Save