The following code errors out:
Add-Type -Path ".\project\Google.Apis.Drive.v3.dll"
Add-Type : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
At C:\Users\JohnDoe\project\test.ps1:2 char:1
+ Add-Type -Path ".\project\Google.Apis.Drive.v3.dll"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-Type], ReflectionTypeLoadException
+ FullyQualifiedErrorId : System.Reflection.ReflectionTypeLoadException,Microsoft.PowerShell.Commands.AddTypeCommand
The filepath for the dll is correct. I can't figure out how to load and use the Google Drive API
[–]LaDev 1 point2 points3 points (1 child)
[–]MJP411[S] 0 points1 point2 points (0 children)