Skip to content

Conversation

@mohdfareed
Copy link
Contributor

@mohdfareed mohdfareed commented Dec 4, 2025

Proposed changes

Attempted to run the ConsoleReferenceClient.csproj using the following:

cd Applications/ConsoleReferenceClient
dotnet build ConsoleReferenceClient.csproj --framework "net10.0" --configuration Release
./bin/Release/net10.0/ConsoleReferenceClient -h

Got the following output:

OPC UA Console Reference Client
OPC UA library: 1.5.378.28 @ 12/04/2025 00:35:35 -- 1.5.378.28-preview+35e03d9067
Unhandled exception. System.ArgumentException: An item with the same key has already been added. Key: f
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item)
   at Mono.Options.OptionSet.InsertItem(Int32 index, Option item)
   at Mono.Options.OptionSet.Add(String prototype, String description, Action`1 action, Boolean hidden)
   at Mono.Options.OptionSet.Add(String prototype, String description, Action`1 action)
   at Quickstarts.ConsoleReferenceClient.Program.Main(String[] args) in /Users/mohdfareed/Developer/opc-ua-dotnet/Applications/ConsoleReferenceClient/Program.cs:line 98
   at Quickstarts.ConsoleReferenceClient.Program.<Main>(String[] args)
./run-client.sh: line 7

Arguments f|file and f|fetchall conflict. Renamed the latter to fa|fetchall. The above exception is resolved.

Related Issues

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds functionality)
  • Test enhancement (non-breaking change to increase test coverage)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected, requires version increase of Nuget packages)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc.
  • I have signed the CLA.
  • I ran tests locally with my changes, all passed.
  • I fixed all failing tests in the CI pipelines.
  • I fixed all introduced issues with CodeQL and LGTM.
  • I have added tests that prove my fix is effective or that my feature works and increased code coverage.
  • I have added necessary documentation (if appropriate).
  • Any dependent changes have been merged and published in downstream modules.

Further comments

I could not figure out how to run the tests locally. I assume such a change is safe.

Arguments `f|file` and `f|fetchall` conflict. Renamed the latter to `fa|fetchall`.
@CLAassistant
Copy link

CLAassistant commented Dec 4, 2025

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.03%. Comparing base (d25caff) to head (03dcddd).
⚠️ Report is 30 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3389      +/-   ##
==========================================
+ Coverage   51.86%   60.03%   +8.16%     
==========================================
  Files         370      374       +4     
  Lines       78618    78288     -330     
  Branches    13650    13605      -45     
==========================================
+ Hits        40779    47002    +6223     
+ Misses      33705    26976    -6729     
- Partials     4134     4310     +176     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marcschier
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@marcschier marcschier merged commit 5cdce58 into OPCFoundation:master Dec 4, 2025
84 checks passed
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.

4 participants