Scenario:
Trying to install Microsoft.SharePointOnline.CSOM from Nuget.org
Steps to reproduce:
- Open manage packages.
- Select Nuget.org
- Search for CSOM.
- Click install after selecting Microsoft.SharePointOnline.CSOM by Microsoft.
Current Behavior:
Installation fails with the following message.
19.4.2+Branch.master.Sha.e17a3bedca2a7da0d0b716b5f8f765d1d5ef1ddc
The following package(s) can not be installed:
Microsoft.SharePointOnline.CSOM 16.1.8810.1200
Cannot load assembly: C:\Users\UserName\.nuget\packages\microsoft.sharepointonline.csom/16.1.8810.1200\lib/net45/Microsoft.SharePoint.Client.Runtime.Windows.dll : System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime.Portable, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.SharePoint.Client.Runtime.Portable, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path) in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Services\AssemblyContainer.cs:line 224
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.LoadAssemblies(String[] paths, IAppDomainCancellationToken cancellationToken) in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Services\AssemblyContainer.cs:line 98
Expected Behavior:
Should install the package successfully.
Studio/Robot/Orchestrator Version:
Studio Version: 2019.4.2
OS Version: Windows 10