Edit: I wasn't using the right template in visual studio.
I get the following error once I get to that line of code:
await msaAuthProvider.AuthenticateUserAsync();
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.'
I have tried to add System.Windows.Forms int he reference but it didn't help.
I've got the OneDriveSdk and OneDriveSdk.lAuthentification packgages I downloaded via Nuget. THey both have a restore reference warning.
Edit: I wasn't using the right template in visual studio.
I get the following error once I get to that line of code:
await msaAuthProvider.AuthenticateUserAsync();
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.'
I have tried to add System.Windows.Forms int he reference but it didn't help.
I've got the OneDriveSdk and OneDriveSdk.lAuthentification packgages I downloaded via Nuget. THey both have a restore reference warning.