Skip to content

Commit

Permalink
Merge pull request #35 from royalapplications/fix-WFO1000-warnings
Browse files Browse the repository at this point in the history
Resolve `WFO1000` build warnings
  • Loading branch information
StefanKoell authored Sep 19, 2024
2 parents 2cc75b4 + 3a4d819 commit 8c6144d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.304
dotnet-version: '9.0'

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net9.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<UseWindowsForms>true</UseWindowsForms>
<StartupObject>RoyalApps.Community.FreeRdp.WinForms.Demo.Program</StartupObject>
Expand Down
2 changes: 2 additions & 0 deletions src/RoyalApps.Community.FreeRdp.WinForms/FreeRdpControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ public class FreeRdpControl : UserControl
/// FreeRDP configuration settings
/// </summary>
[Category("FreeRDP Settings"), Description("FreeRDP configuration settings.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public FreeRdpConfiguration Configuration { get; set; } = new();

/// <summary>
/// Logger instance
/// </summary>
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public ILogger Logger { get; set; } = DebugLoggerFactory.Create();

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<LangVersion>10</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS8981;NU1701;WFO1000</NoWarn>
<NoWarn>$(NoWarn);CS8981;NU1701</NoWarn>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 8c6144d

Please sign in to comment.