setup nunit (c#) on windows

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kotaw

Hi,

I’m trying to use nunit testing framework along with godot (3.2) on windows 10
(migrating a unity project to godot)

I have created a csproj for tests requiring nunit like so :

<ItemGroup>
  <PackageReference Include="nunit" Version="3.12.0" />
  <PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
  <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
</ItemGroup>

however godot fails to build, says NUnit.Framewok missing assembly […]
to me it doesn’t manage to get the nuget packages

when i try to build on visual studio, everything is find though
and once i’ve build with vs, godot compiles fine

not very familiar with windows .net & friends
does anyone know how to setup nunit properly ? with vscode preferably

thanks !

:bust_in_silhouette: Reply From: Kotaw

okay nevermind, just found the documentation page…

was not using dotnet resotre instead of nuget restore