I am following a the tutorial from 2d vector from godot docs and i am running the following script through c#:
using Godot;
using System;
public class Node2D : Godot.Node2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
}
public override void _Process(float delta)
{
var Node2D = (Node2D)GetNode("Node2D");
Node2D.Position=new Vector2(400,300);
}
}
But when i am running the scene or building its giving me the following errors:
FAILED TO BUILD PROJECT SOLUTION
C:\Users\MANDAL.nuget\packages\godot.net.sdk\3.3.0\Sdk\Sdk.props(29,11): The SDK 'Microsoft.NET.Sdk' specified could not be found.
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(131,5): Unable to find a project to restore!
F:\GODOT PROJECTS\PRACTICE\Practice.csproj(0,0): Skipping restore for project 'F:\GODOT PROJECTS\PRACTICE\Practice.csproj'. The project file may be invalid or missing targets required for restore.