buildnetclient Compile Error With CS0104
(Doc ID 2274753.1)
Last updated on OCTOBER 12, 2022
Applies to:
Oracle Tuxedo - Version 12.2.2 and laterMicrosoft 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
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 |