Skip to content

Conversation

Copy link

Copilot AI commented Nov 24, 2025

Migrate WinForms sample projects to .NET 8

Completed:

  • Converted all WinForms projects to SDK-style .NET 8 format
  • Removed non-existent OPCFoundation.NetStandard.Opc.Ua.Quickstarts.Servers package reference
  • Created ReferenceServer.cs class
  • Added HandleException backward-compatible 2-parameter overload in ClientUtils and ExceptionDlg
  • Suppressed CA1416 platform compatibility warnings for Windows-only projects
  • Fixed UserNamePasswordDlg byte[]/string type conversion
  • Fixed X509AuthorityKeyIdentifierExtension ambiguous reference
  • Fixed SelectNodeDlg.ShowDialogAsync call

In Progress:

  • Fix remaining 36 API compatibility errors in ClientControls.Net4
    • Missing ClientUtils.SelectEndpoint, GetAttributeDisplayText, DiscoverServers methods
    • Session.Browse API signature changes
    • Session_KeepAlive delegate signature changes
    • Various ShowDialog overload changes

Build Status:

  • 36 errors remaining (down from 110)
  • ~100 warnings (down from 4000+ after suppressing CA1416)
Original prompt

Please update all winforms sample projects to net core.
Resolve all build errors.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update WinForms sample projects to .NET Core and resolve build errors Migrate WinForms sample projects to .NET 8 Nov 24, 2025
Copilot AI requested a review from romanett November 24, 2025 19:17
@romanett
Copy link
Contributor

@copilot please fix warnings and errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants