I've just started to get build errors when building my Setup & Deployment project in Visual Studio 2017. It used to build just fine. I've upgraded to 5.53 (QuickOPC 2018.2), and I'm guessing something went wrong in doing so.
In my project, I'm referencing OpcLabs.BaseLib and OpcLabs.EasyOpcClassic (from the 2018.2\Aseemblies\net452 folder).
The class library project builds just fine, no errors at all. The issue comes when building my Setup & Deployment project. The deployment project has the Project Output included for the class library referencing EasyOpc. All projects target .net 4.52 and the x86 platform.
There are confusing dependency errors, and I have no idea why it's trying to use an "App_Web_Opc" dll, especially for amd64 (this solution consists of class libraries, a Windows service project, and a WinForms application - nothing web related).
Any help would be GREATLY appreciated!
Here is the output when building the Setup and Deployment project:
Starting pre-build validation for project 'Setup'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='3.3.14.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='3.3.14.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPC.UA.CLIENT' (Signature='6FADDCA41DACB409' Version='1.2.336.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CLIENT' (Signature='6FADDCA41DACB409' Version='1.2.336.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CONFIGURATION' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CONFIGURATION' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CORE' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CORE' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='2018.2.0.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='2018.2.0.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
Pre-build validation for project 'Setup' completed
Pre-build validation for project 'Setup' completed
12>
Build started: Project: Setup, Configuration: Release
12>
Build started: Project: Setup, Configuration: Release
Building file 'C:\....msi'... <name excluded for privacy>
Building file 'C:\....msi'... <name excluded for privacy>
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
Build process cancelled
In my project, I'm referencing OpcLabs.BaseLib and OpcLabs.EasyOpcClassic (from the 2018.2\Aseemblies\net452 folder).
The class library project builds just fine, no errors at all. The issue comes when building my Setup & Deployment project. The deployment project has the Project Output included for the class library referencing EasyOpc. All projects target .net 4.52 and the x86 platform.
There are confusing dependency errors, and I have no idea why it's trying to use an "App_Web_Opc" dll, especially for amd64 (this solution consists of class libraries, a Windows service project, and a WinForms application - nothing web related).
Any help would be GREATLY appreciated!
Here is the output when building the Setup and Deployment project:
Starting pre-build validation for project 'Setup'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='3.3.14.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='3.3.14.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='5.53.315.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPC.UA.CLIENT' (Signature='6FADDCA41DACB409' Version='1.2.336.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CLIENT' (Signature='6FADDCA41DACB409' Version='1.2.336.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CONFIGURATION' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CONFIGURATION' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CORE' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'OPC.UA.CORE' (Signature='6FADDCA41DACB409' Version='1.3.340.0') of assembly 'OpcLabs.EasyOpcUA.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='2018.2.0.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'BOXEDAPPSDK.MANAGED' (Signature='84FE779840C3B626' Version='2018.2.0.0') of assembly 'OpcLabs.BaseLib.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.XML' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
WARNING: Unable to find dependency 'OPCNETAPI.COM' (Signature='6FADDCA41DACB409' Version='2.1.105.1') of assembly 'OpcLabs.EasyOpcClassic.dll'
Pre-build validation for project 'Setup' completed
Pre-build validation for project 'Setup' completed
12>
Build started: Project: Setup, Configuration: Release
12>
Build started: Project: Setup, Configuration: Release
Building file 'C:\....msi'... <name excluded for privacy>
Building file 'C:\....msi'... <name excluded for privacy>
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
ERROR: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
Build process cancelled