mheyman / Isopoh.Cryptography.Argon2

Fully managed .Net Core implementation of Argon2
Other
184 stars 7 forks source link

error CS0103: The name 'Argon2' does not exist in the current context #53

Closed jmpt16 closed 2 weeks ago

jmpt16 commented 1 month ago

I installed the package, per the instructions, yet I still get the above mentioned error with the test code provided. What am I doing wrong?

For reference I'm using VS Code with .NET 7.

jmpt16 commented 1 month ago

Log:

PS C:\Users\USERNAME\Documents\Argon2Test> dotnet run C:\Users\USERNAME\Documents\Argon2Test\Program.cs(10,32): error CS0103: The name 'Argon2' does not exist in the current context [C:\Users\USERNAME\Documents\Argon2Test\Argon2Test.csproj] C:\Users\USERNAME\Documents\Argon2Test\Program.cs(11,17): error CS0103: The name 'Argon2' does not exist in the current context [C:\Users\USERNAME\Documents\Argon2Test\Argon2Test.csproj]

The build failed. Fix the build errors and run again.

mheyman commented 2 weeks ago

Finally got around to clarifying the example code. The examples now have usings and a more modern C# style.