My Oracle Support Banner

buildnetclient Compile Error With CS0104 (Doc ID 2274753.1)

Last updated on DECEMBER 03, 2020

Applies to:

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

Symptoms

 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 1.3.1.60616
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.2.2.0.0_VS2015\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.

 

Cause

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
Symptoms
Cause
Solution


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