Clean up project files of external .NET projects

This commit is contained in:
YoshiRulz 2022-09-28 07:07:01 +10:00
parent 65f5aecfa6
commit 466d052c2d
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
21 changed files with 28 additions and 17 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
dotnet build -c Debug -m

View File

@ -0,0 +1,2 @@
#!/bin/sh
dotnet build -c Release -m

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../../Common.props" />
<Import Project="../LibCommon.props" />
<PropertyGroup>
<NoWarn>$(NoWarn);SA1200</NoWarn>
</PropertyGroup>
@ -10,7 +10,4 @@
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutputPath)BizHawk.Analyzer.dll" DestinationFolder="$(ProjectDir)../../References/" />
</Target>
</Project>

View File

@ -0,0 +1 @@
../.build_debug.sh

View File

@ -0,0 +1 @@
../.build_release.sh

View File

@ -2,12 +2,9 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../../Common.props" />
<Import Project="../LibCommon.props" />
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutputPath)BizHawk.SrcGen.ReflectionCache.dll" DestinationFolder="$(ProjectDir)../../References/" />
</Target>
</Project>

View File

@ -0,0 +1 @@
../.build_debug.sh

View File

@ -0,0 +1 @@
../.build_release.sh

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../../Common.props" />
<Import Project="../LibCommon.props" />
<PropertyGroup>
<Nullable>disable</Nullable>
</PropertyGroup>

View File

@ -0,0 +1 @@
../.build_debug.sh

View File

@ -0,0 +1 @@
../.build_release.sh

View File

@ -1,3 +0,0 @@
#!/bin/sh
outDir="../../References"
cd "$(dirname "$0")" && rm -f "$outDir/FlatBuffers.GenOutput.dll" && dotnet build -c Release "$@" && cp bin/Release/*/FlatBuffers.GenOutput.dll $outDir

View File

@ -0,0 +1,9 @@
<Project>
<Import Project="../Common.props" />
<PropertyGroup>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutputPath)$(MSBuildProjectName).dll" DestinationFolder="$(ProjectDir)../../References/" />
</Target>
</Project>

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../../Common.props" />
<Import Project="../LibCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
@ -10,7 +10,4 @@
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="5.0.2" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutputPath)PcxFileTypePlugin.HawkQuantizer.dll" DestinationFolder="$(ProjectDir)../../References/" />
</Target>
</Project>

View File

@ -0,0 +1 @@
../.build_debug.sh

View File

@ -0,0 +1 @@
../.build_release.sh

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../../Common.props" />
<Import Project="../LibCommon.props" />
<PropertyGroup>
<Nullable>disable</Nullable>
</PropertyGroup>

View File

@ -0,0 +1 @@
../.build_debug.sh

View File

@ -0,0 +1 @@
../.build_release.sh

Binary file not shown.

Binary file not shown.