You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going around in circles here, I can't get the Fortnox package to work. This has probably more to do with my lack of programming experience than it has anything to do with the API-SDK, but perhaps anyone here can help?
I installed the NuGet package, both from the terminal and from the NuGet extension packet manager, and it's visible in the .csproj file. Here my code:
var authorization = new StandardAuth("your_oauth_accesstoken");`
And here's the terminal error:
`/Users/antonsoderberg/Documents/code/fortnox2/Program.cs(7,25): error CS0246: The type or namespace name 'StandardAuth' could not be found (are you missing a using directive or an assembly reference?) [/Users/antonsoderberg/Documents/code/fortnox2/fortnox2.csproj]
The build failed. Fix the build errors and run again.`
Anyone know what I'm doing wrong?
The text was updated successfully, but these errors were encountered:
Hello! First of all, using Fortnox; is wrong, it should be using Fortnox.SDK.Authorization;
What code editor are you using? It should show you these errors.
Hi!
I'm going around in circles here, I can't get the Fortnox package to work. This has probably more to do with my lack of programming experience than it has anything to do with the API-SDK, but perhaps anyone here can help?
I installed the NuGet package, both from the terminal and from the NuGet extension packet manager, and it's visible in the .csproj file. Here my code:
`using System;
using Fortnox;
// See https://aka.ms/new-console-template for more information
//Console.WriteLine("Hello, World!");
var authorization = new StandardAuth("your_oauth_accesstoken");`
And here's the terminal error:
`/Users/antonsoderberg/Documents/code/fortnox2/Program.cs(7,25): error CS0246: The type or namespace name 'StandardAuth' could not be found (are you missing a using directive or an assembly reference?) [/Users/antonsoderberg/Documents/code/fortnox2/fortnox2.csproj]
The build failed. Fix the build errors and run again.`
Anyone know what I'm doing wrong?
The text was updated successfully, but these errors were encountered: