csproj cleanups

This commit is contained in:
uwaa 2024-12-02 16:17:26 +00:00
parent 9aa8a41389
commit 48bd35d20b
6 changed files with 69 additions and 58 deletions

10
Common.targets Normal file
View file

@ -0,0 +1,10 @@
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>none</DebugType>
</PropertyGroup>
</Project>

View file

@ -1,22 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework> <ImplicitUsings>false</ImplicitUsings>
<ImplicitUsings>false</ImplicitUsings> <Configurations>Debug</Configurations>
<Nullable>enable</Nullable> <RootNamespace>Uwaa.HTTP.Example</RootNamespace>
<Configurations>Debug</Configurations> <AssemblyName>Uwaa.HTTP.Example</AssemblyName>
<RootNamespace>Uwaa.HTTP.Example</RootNamespace> </PropertyGroup>
<AssemblyName>Uwaa.HTTP.Example</AssemblyName>
</PropertyGroup>
<ItemGroup> <Import Project="../Common.targets"/>
<ProjectReference Include="..\HTTP\HTTP.csproj" />
<None Update="certs\*"> <ItemGroup>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <ProjectReference Include="..\HTTP\HTTP.csproj" />
</None>
<None Update="www-static\**\*"> <None Update="certs\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
</ItemGroup> <None Update="www-static\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View file

@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings>
<ImplicitUsings>enable</ImplicitUsings> <RootNamespace>Uwaa.HTTP</RootNamespace>
<Nullable>enable</Nullable> <AssemblyName>Uwaa.HTTP</AssemblyName>
<RootNamespace>Uwaa.HTTP</RootNamespace> </PropertyGroup>
<AssemblyName>Uwaa.HTTP</AssemblyName>
</PropertyGroup> <Import Project="../Common.targets"/>
</Project> </Project>

View file

@ -1,8 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings>
<ImplicitUsings>enable</ImplicitUsings> <RootNamespace>Uwaa.PNG</RootNamespace>
<Nullable>enable</Nullable> <AssemblyName>Uwaa.PNG</AssemblyName>
<RootNamespace>Uwaa.PNG</RootNamespace> </PropertyGroup>
</PropertyGroup>
<Import Project="../Common.targets"/>
</Project> </Project>

View file

@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework> <ImplicitUsings>disable</ImplicitUsings>
<ImplicitUsings>disable</ImplicitUsings> <RootNamespace>Uwaa.Pleroma.Test</RootNamespace>
<Nullable>enable</Nullable> <AssemblyName>Uwaa.Pleroma.Test</AssemblyName>
<RootNamespace>Uwaa.Pleroma.Test</RootNamespace> </PropertyGroup>
<AssemblyName>Uwaa.Pleroma.Test</AssemblyName>
</PropertyGroup>
<ItemGroup> <Import Project="../Common.targets"/>
<ProjectReference Include="..\Pleroma\Pleroma.csproj" />
</ItemGroup> <ItemGroup>
<ProjectReference Include="..\Pleroma\Pleroma.csproj" />
</ItemGroup>
</Project> </Project>

View file

@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <ImplicitUsings>disable</ImplicitUsings>
<ImplicitUsings>disable</ImplicitUsings> <RootNamespace>Uwaa.Pleroma</RootNamespace>
<Nullable>enable</Nullable> <AssemblyName>Uwaa.Pleroma</AssemblyName>
<RootNamespace>Uwaa.Pleroma</RootNamespace> </PropertyGroup>
<AssemblyName>Uwaa.Pleroma</AssemblyName>
</PropertyGroup>
<ItemGroup> <Import Project="../Common.targets"/>
<ProjectReference Include="..\HTTP\HTTP.csproj" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Using Include="System" /> <ProjectReference Include="..\HTTP\HTTP.csproj" />
<Using Include="System.Collections.Generic" /> </ItemGroup>
<Using Include="System.IO" />
<Using Include="System.Linq" /> <ItemGroup>
</ItemGroup> <Using Include="System" />
<Using Include="System.Collections.Generic" />
<Using Include="System.IO" />
<Using Include="System.Linq" />
</ItemGroup>
</Project> </Project>