Clean up project files of external .NET projects
This commit is contained in:
parent
65f5aecfa6
commit
466d052c2d
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
dotnet build -c Debug -m
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
dotnet build -c Release -m
|
|
@ -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>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../.build_debug.sh
|
|
@ -0,0 +1 @@
|
|||
../.build_release.sh
|
|
@ -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>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../.build_debug.sh
|
|
@ -0,0 +1 @@
|
|||
../.build_release.sh
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<Import Project="../../Common.props" />
|
||||
<Import Project="../LibCommon.props" />
|
||||
<PropertyGroup>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../.build_debug.sh
|
|
@ -0,0 +1 @@
|
|||
../.build_release.sh
|
|
@ -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
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../.build_debug.sh
|
|
@ -0,0 +1 @@
|
|||
../.build_release.sh
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<Import Project="../../Common.props" />
|
||||
<Import Project="../LibCommon.props" />
|
||||
<PropertyGroup>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../.build_debug.sh
|
|
@ -0,0 +1 @@
|
|||
../.build_release.sh
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue