dotnet-samples icon indicating copy to clipboard operation
dotnet-samples copied to clipboard

Google Authentication not connecting when running off .dll vs Visual Studio

Open CaptinCCat opened this issue 4 years ago • 0 comments

(Please search existing issues before creating a new one.)

Sample Name: Trying to run code using "dotnet SheetsMagic.dll"

Expected Behavior

When running in Visual Studio everything works fine. When running the build .dll's Commands that do not require Google Authentication work fine. Commands that do require google authentication do not.

Actual Behavior

The code does not execute anything that requires google authentication. When moving files around as well I couldn't get it to work, (perhaps I didn't move the authentication stuff to the right area?)

Steps to Reproduce the Problem

  1. Create a .net console project, follow the quickstart for spreadsheets
  2. build the program
  3. run project from the .dll file

Specifications

  • .NET version: Running program with Microsoft.NETCore 2.1.0
  • OS (Mac/Linux/Windows): Windows (and Linux)

CaptinCCat avatar Jul 14 '20 08:07 CaptinCCat