-
Notifications
You must be signed in to change notification settings - Fork 9
Xero Oauth2 dependency cannot be resolved #5
Description
Hi,
I updated our application to use the new OAUTH2 to connect and communicate with Xero. Everything is working properly on my development machine.
However, when I deployed all my changes to our TFS server, I am getting exception similar below:
C:\Builds\9\Product (Build,46)\Sources\Business\Accounting_External\XeroClientManager.vb(164): error BC30002: Type 'Xero.NetStandard.OAuth2.Model.Accounting.Organisation' is not defined. [C:\Builds\9\Product (Build)\Sources\Business\Business.vbproj]
And then I found these warnings, which I believe is causing the issue above:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary reference "System.ComponentModel.Annotations" could not be resolved because it has a higher version "4.2.1.0" than exists in the current target framework. The version found in the current target framework is "4.0.10.0". [C:\Builds\9\Product (Build)\Sources\Business\Business.vbproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary reference "Xero.NetStandard.OAuth2, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.2.0.0" than the version "4.0.10.0" in the current target framework. [C:\Builds\9\Product (Build)\Sources\Business\Business.vbproj]
Has anyone encountered similar issue and how did you resolve it.
Thanks and looking forward to your help.