Skip to content

Commit

Permalink
Fix annoying error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrumsey committed Oct 21, 2024
1 parent 4032bf0 commit 517f9e0
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 2 deletions.
102 changes: 102 additions & 0 deletions OzStripsGUI/OzStripsGUI - Backup.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net481</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<EmbeddedResourceUseDependentUponConvention>true</EmbeddedResourceUseDependentUponConvention>
<PlatformTarget>x86</PlatformTarget>
<RootNamespace>MaxRumsey.OzStripsPlugin.Gui</RootNamespace>
<ApplicationIcon>ozstrips.ico</ApplicationIcon>
<CefSharpBuildAction>Content</CefSharpBuildAction>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net472|AnyCPU'">
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net472|x86'">
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|x86'">
<Optimize>False</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net481|AnyCPU'">
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;CA1502</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net481|AnyCPU'">
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;CA1502</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0-rc.2.24474.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SkiaSharp" Version="3.0.0-preview.4.1" />
<PackageReference Include="SkiaSharp.Views.WindowsForms" Version="3.0.0-preview.4.1" />
<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
</ItemGroup>
<ItemGroup>
<Compile Update="BayRenderController.cs">
<SubType>Component</SubType>
</Compile>
<Compile Update="Controls\SettingsWindowControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="OzStripsConfig.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Config.resx</DependentUpon>
</Compile>
<Compile Update="Properties\OzStripsSettings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>OzStripsSettings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="OzStripsConfig.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Config.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="ozstrips.ico" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Net.Http" />
<Reference Include="vatSys">
<HintPath>C:\Program Files (x86)\vatSys\bin\vatSys.exe</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="OzStripsConfig.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>OzStripsConfig.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="OzStripsConfig.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>OzStripsConfig.Designer.cs</LastGenOutput>
<CustomToolNamespace>MaxRumsey.OzStripsPlugin.Gui</CustomToolNamespace>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Update="libSkiaSharp.dylib">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Properties\OzStripsSettings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>OzStripsSettings.Designer.cs</LastGenOutput>
</None>
<None Update="Strip.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion OzStripsGUI/OzStripsGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net481|AnyCPU'">
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;CA1502</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net481|AnyCPU'">
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>1701;1702;CA1502</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0-rc.2.24474.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SkiaSharp" Version="3.0.0-preview.4.1" />
<PackageReference Include="SkiaSharp.Views.WindowsForms" Version="3.0.0-preview.4.1" />
<PackageReference Include="SocketIOClient" Version="3.1.2" />
<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
</ItemGroup>
<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion OzStripsGUI/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json;
using SocketIOClient.Transport.Http;
using vatsys;

namespace MaxRumsey.OzStripsPlugin.Gui;
Expand Down

0 comments on commit 517f9e0

Please sign in to comment.