My Oracle Support Banner

buildnetclient Compile Error With CS0104 (Doc ID 2274753.1)

Last updated on OCTOBER 12, 2022

Applies to:

Oracle Tuxedo - Version 12.2.2 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)


 When using buildnetclient for .net client building, follwing compile error happens with VS2015 or later.

 It does not happen VS2013 or before.

buildnetclient -o callcli.exe callcli.cs -csflag "/main:_Main"
Microsoft (R) Visual C# Compiler Version
Copyright (C) Microsoft Corporation. All rights reserved.

callcli.cs(97,5): error CS0104: 'AppContext' is an ambiguous reference between 'Bea.Tuxedo.ATMI.AppContext' and 'System.AppContext'
callcli.cs(97,21): error CS0104: 'AppContext'is an ambiguous reference between 'Bea.Tuxedo.ATMI.AppContext' and 'System.AppContext'
callcli.cs(44,5): error CS0104: 'AppContext'is an ambiguous reference between 'Bea.Tuxedo.ATMI.AppContext' and 'System.AppContext'
callcli.cs(44,21): error CS0104: 'AppContext'is an ambiguous reference between 'Bea.Tuxedo.ATMI.AppContext' and 'System.AppContext'
CMDTUX_CAT:2008: ERROR: buildnetclient: cannot execute /out:callcli.exe /main:_Main /r:"C:\OraHome_1\tuxedo12.\bin\libwscdnet.dll" callcli.cs


NOTE: "Bea.Tuxedo.ATMI.AppContext" represent a fictitious sample name that made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.