dotnet-samples
dotnet-samples copied to clipboard
Google Authentication not connecting when running off .dll vs Visual Studio
(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
- Create a .net console project, follow the quickstart for spreadsheets
- build the program
- run project from the .dll file
Specifications
- .NET version: Running program with Microsoft.NETCore 2.1.0
- OS (Mac/Linux/Windows): Windows (and Linux)