This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+2 votes

I am following the tutorials in vector and i did the following code in 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 _Process()
    var Node2D=(Node2D) GetNode("Node2D");
    Node2D.Position = new Vector2(400,300);

and i have only one node2d in scene ... but while running it shows cant build... Please help me in this one

Godot version latest stable version
in Engine by (19 points)

What are your errors when you try to build?

F:\GODOT PROJECTS\VEctro\VEctro.csproj(0,0): The SDK resolver type "DotNetMSBuildSdkResolver" failed to load. The type initializer for 'Microsoft.DotNet.MSBuildSdkResolver.VSSettings' threw an exception.
Getting this when build is set to msbuild(mono) in build tab in editor settings..

F:\GODOT PROJECTS\VEctro\VEctro.csproj(0,0): Skipping restore for project 'F:\GODOT PROJECTS\VEctro\VEctro.csproj'. The project file may be invalid or missing targets required for restore.
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!

C:\Users\MANDAL.nuget\packages\\3.3.0\Sdk\Sdk.props(29,11): The SDK 'Microsoft.NET.Sdk' specified could not be found.
this when set to ms build vs build tools
i have both ms build tools and mono installed ..

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.