Cleanup project files

This commit is contained in:
YoshiRulz 2021-01-18 09:26:51 +10:00
parent 8331ac799b
commit ef76d8510e
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
15 changed files with 25 additions and 157 deletions

View File

@ -4,6 +4,7 @@
<ErrorReport>prompt</ErrorReport>
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunAnalyzersDuringBuild Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">false</RunAnalyzersDuringBuild>
<RunCodeAnalysis>false</RunCodeAnalysis>
@ -24,6 +25,9 @@
<DefineConstants>$(DefineConstants);$(MachineExtraCompilationFlag)</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition=" $(IsTargetingNetFramework) ">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
</Project>

View File

@ -1,8 +0,0 @@
<Project>
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="all" />
</ItemGroup>
</Project>

View File

@ -1,6 +1,5 @@
<Project>
<Import Project="../Common.props" />
<Import Project="../CommonNullable.props" />
<PropertyGroup>
<CodeAnalysisRuleSet>$(ProjectDir)../../Common.ruleset</CodeAnalysisRuleSet>
<OutputPath>$(ProjectDir)bin/$(Configuration)/</OutputPath>

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(ProjectDir)../BizHawk.Common/BizHawk.Common.csproj" />

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cyotek.Drawing.BitmapFont" Version="1.0.2" NoWarn="NU1701" />

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Windows.Forms" />

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.Data.SQLite, Version=1.0.105.2, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64" SpecificVersion="False" HintPath="$(ProjectDir)../../References/x64/SQLite/System.Data.SQLite.dll" />

View File

@ -6,58 +6,8 @@
<PropertyGroup>
<ApplicationIcon>discohawk.ico</ApplicationIcon>
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
<Nullable>disable</Nullable>
</PropertyGroup>
<!--
<PropertyGroup>
<AppDesignerFolder>Properties</AppDesignerFolder>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<AssemblyName>DiscoHawk</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<BootstrapperEnabled>true</BootstrapperEnabled>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags/>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<IsWebBootstrapper>false</IsWebBootstrapper>
<MapFileExtensions>true</MapFileExtensions>
<NoWin32Manifest>true</NoWin32Manifest>
<OldToolsVersion>3.5</OldToolsVersion>
<ProductVersion>9.0.30729</ProductVersion>
<ProjectGuid>{C4366030-6D03-424B-AE53-F4F43BB217C3}</ProjectGuid>
<PublishUrl>publish/</PublishUrl>
<RootNamespace>BizHawk.Client.DiscoHawk</RootNamespace>
<SchemaVersion>2.0</SchemaVersion>
<StartupObject/>
<TargetFrameworkProfile/>
<UpdateEnabled>false</UpdateEnabled>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdateMode>Foreground</UpdateMode>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<UpgradeBackupLocation/>
<UseApplicationTrust>false</UseApplicationTrust>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
-->
<ItemGroup>
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />

View File

@ -8,75 +8,9 @@
<ApplicationIcon>images/logo.ico</ApplicationIcon>
<ApplicationManifest>app.manifest</ApplicationManifest>
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
<Nullable>disable</Nullable>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<!--
<PropertyGroup>
<AppDesignerFolder>Properties</AppDesignerFolder>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<AssemblyName>EmuHawk</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<BootstrapperEnabled>true</BootstrapperEnabled>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags/>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<IsWebBootstrapper>false</IsWebBootstrapper>
<MapFileExtensions>true</MapFileExtensions>
<OldToolsVersion>3.5</OldToolsVersion>
<Prefer32Bit>false</Prefer32Bit>
<ProjectGuid>{DD448B37-BA3F-4544-9754-5406E8094723}</ProjectGuid>
<ProductVersion>9.0.30729</ProductVersion>
<PublishUrl>publish/</PublishUrl>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<RootNamespace>BizHawk.Client.EmuHawk</RootNamespace>
<SchemaVersion>2.0</SchemaVersion>
<StartupObject>BizHawk.Client.EmuHawk.Program</StartupObject>
<TargetFrameworkProfile/>
<UpdateEnabled>false</UpdateEnabled>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdateMode>Foreground</UpdateMode>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<UpgradeBackupLocation/>
<UseApplicationTrust>false</UseApplicationTrust>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
<Visible>False</Visible>
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
<Visible>False</Visible>
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
-->
<ItemGroup>
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<Reference Include="System.Windows.Forms" />
@ -112,24 +46,6 @@
<ItemGroup>
<Compile Update="ArchiveChooser.cs" SubType="Form" />
<Compile Update="ArchiveChooser.Designer.cs" DependentUpon="ArchiveChooser.cs" />
<Compile Update="config\Messages\ColorRow.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="config\Messages\ColorRow.Designer.cs">
<DependentUpon>ColorRow.cs</DependentUpon>
</Compile>
<Compile Update="config\Messages\MessageRow.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="config\Messages\MessageRow.Designer.cs">
<DependentUpon>MessageRow.cs</DependentUpon>
</Compile>
<Compile Update="config\Messages\MessageEdit.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="config\Messages\MessageEdit.Designer.cs">
<DependentUpon>MessageEdit.cs</DependentUpon>
</Compile>
<EmbeddedResource Update="ArchiveChooser.resx" DependentUpon="ArchiveChooser.cs" SubType="Designer" />
<Compile Update="AVOut/FFmpegWriterForm.cs" SubType="Form" />
<Compile Update="AVOut/FFmpegWriterForm.Designer.cs" DependentUpon="FFmpegWriterForm.cs" />
@ -241,15 +157,18 @@
<Compile Update="config/INTV/IntvControllerSettings.cs" SubType="Form" />
<Compile Update="config/INTV/IntvControllerSettings.Designer.cs" DependentUpon="IntvControllerSettings.cs" />
<EmbeddedResource Update="config/INTV/IntvControllerSettings.resx" DependentUpon="IntvControllerSettings.cs" />
<Compile Update="config\Messages\MessageConfig.cs" SubType="Form" />
<Compile Update="config\Messages\MessageConfig.Designer.cs" DependentUpon="MessageConfig.cs" />
<EmbeddedResource Update="config\Messages\ColorRow.resx">
<DependentUpon>ColorRow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="config\Messages\MessageRow.resx">
<DependentUpon>MessageRow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="config\Messages\MessageConfig.resx" DependentUpon="MessageConfig.cs" SubType="Designer" />
<Compile Update="config/Messages/ColorRow.cs" SubType="UserControl" />
<Compile Update="config/Messages/ColorRow.Designer.cs" DependentUpon="ColorRow.cs" />
<EmbeddedResource Update="config/Messages/ColorRow.resx" DependentUpon="ColorRow.cs" />
<Compile Update="config/Messages/MessageConfig.cs" SubType="Form" />
<Compile Update="config/Messages/MessageConfig.Designer.cs" DependentUpon="MessageConfig.cs" />
<EmbeddedResource Update="config/Messages/MessageConfig.resx" DependentUpon="MessageConfig.cs" SubType="Designer" />
<Compile Update="config/Messages/MessageEdit.cs" SubType="UserControl" />
<Compile Update="config/Messages/MessageEdit.Designer.cs" DependentUpon="MessageEdit.cs" />
<EmbeddedResource Update="config/Messages/MessageEdit.resx" DependentUpon="MessageEdit.cs" />
<Compile Update="config/Messages/MessageRow.cs" SubType="UserControl" />
<Compile Update="config/Messages/MessageRow.Designer.cs" DependentUpon="MessageRow.cs" />
<EmbeddedResource Update="config/Messages/MessageRow.resx" DependentUpon="MessageRow.cs" />
<Compile Update="config/N64/N64ControllerSettingControl.cs" SubType="UserControl" />
<Compile Update="config/N64/N64ControllerSettingControl.Designer.cs" DependentUpon="N64ControllerSettingControl.cs" />
<EmbeddedResource Update="config/N64/N64ControllerSettingControl.resx" DependentUpon="N64ControllerSettingControl.cs" />

View File

@ -3,7 +3,6 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnCommon.props" />
<Import Project="../../CommonNullable.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />

View File

@ -6,6 +6,7 @@
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);SA1137;SA1205;SA1208;SA1400</NoWarn>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />

View File

@ -5,6 +5,7 @@
<Import Project="../MainSlnCommon.props" />
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="ISOParser" HintPath="$(ProjectDir)../../References/ISOParser.dll" Private="true" />

View File

@ -4,7 +4,6 @@
<TargetFramework Condition=" '$(APPVEYOR)' != '' ">netcoreapp3.1</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnCommon.props" />
<Import Project="../../CommonNullable.props" />
<PropertyGroup>
<OutputPath>$(ProjectDir)../../test_output</OutputPath>
</PropertyGroup>

View File

@ -3,7 +3,6 @@
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<Import Project="../MainSlnCommon.props" />
<Import Project="../../CommonNullable.props" />
<ItemGroup>
<Reference Include="System.Windows.Forms" />
</ItemGroup>