Closed rick551a closed 2 years ago
What build tool is selected in Editor Settings > Mono > Builds > Build Tool
?
It is "MS Build (Mono)"
This seems to be yet another issue with Mono's MSBuild. I recommend to change it to a different build tool. If this is Godot 3.2.3, then I recommend changing it to dotnet CLI
and installing the .NET Core SDK (make sure you download the SDK, not the runtime). The other option is changing it to MSBuild (VS Build Tools)
but that requires you to install Visual Studio or Visual Studio Build Tools which is bigger than the .NET Core SDK.
I can reproduce this issue with normal C# projects (using Microsoft.NET.Sdk
), so it's not Godot-specific. Albeit I remember testing the same a few weeks ago and not experiencing this problem, which is weird.
From testing a new project after installing dotnet-sdk-3.1.401-win-x64, dotnet CLI throws up errors (se below). If it would help, my DotNet installation is: NDP47-DevPack-KB3186612-ENU
Project "test2.sln" (Restore target(s)): Message: Building solution configuration "Debug|Any CPU". Restoring packages for C:\Users\p\AppData\Local\Temp\NuGetScratch\f078205c57e343258e93ae44063df5d9\7b5a10d920b54b4aa54cc797dff14307.proj... C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj(0,0): error : Unable to resolve 'Godot.NET.Sdk (= 3.2.3)' for '.NETStandard,Version=v0.0'. Project "test2.csproj" (_IsProjectRestoreSupported target(s)): Done building project "test2.csproj". C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj(0,0): warning NU1503: Skipping restore for project 'C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj'. The project file may be invalid or missing targets required for restore. [C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.sln] NuGetMessageTask: Determining projects to restore... C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets(128,5): warning : Unable to find a project to restore! [C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.sln] Done building project "test2.sln". Project "test2.sln" (Build target(s)): Message: Building solution configuration "Debug|Any CPU". Restoring packages for C:\Users\p\AppData\Local\Temp\NuGetScratch\ca4e57e1d0284c818ab33a135453e520\588ead4658e544f6b3f20ffd74197b2e.proj... C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj(0,0): error : Unable to resolve 'Godot.NET.Sdk (= 3.2.3)' for '.NETStandard,Version=v0.0'. Project "test2.csproj" (default targets): C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj(0,0): error MSB4236: The SDK 'Godot.NET.Sdk/3.2.3' specified could not be found. [C:\Users\p\Downloads\Godottestrc52\projects\test2\test2.csproj] Done building project "test2.csproj" -- FAILED. Done building project "test2.sln" -- FAILED.
@neikeq I have a similar problem with Ubuntu 20.04, .net core 3.1.401 installed that it builds in Godot but not in VSCode. I was also able to fix it by changing to dotnet core cli build. It worked before switching to Godot 3.2.3 RC4 as well.
The same problem . 3.2.3 RC4 and RC5 mono versions are fully failed. Fix it And make possible to open .csproj and .sln file in visual studio to instal NuGet Packages. noone can do it in 3.2.3 branch.
I can confirm the issue with "MSBuild (Mono)" on Windows 10. On Linux (Mageia 8), I have no issue with "MSBuild (Mono)".
Using "MSBuild (Visual Studio)" works fine with VS 2019.
For issues with "dotnet CLI", I suggest opening a dedicated issue so that we don't mix reports about the two here.
Edit: I tried with the dotnet SDK installed (from https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.401-windows-x64-installer) and then "dotnet CLI" works well for me too.
For the reference, I did my tests above with a build which is slightly newer than 3.2.3 RC 5 and includes more C# fixes: https://downloads.tuxfamily.org/godotengine/testing/3.2.3-pre-rc6-mono/
(FYI: It's named "3.2.3-rc6" but it's not necessarily the one I will release as RC 6.)
Just tested it with Godot_v3.2.3-rc6_mono_win64 (pre RC6) , also installed dotnetsdk 3.1.401 linked above. Happily, any newly created project works, both with mono & dotnetCLI. Alas, any project created with 3.2.2 stable or even RC5 fails with the same errors as above (error MSB4237 for mono).
Happily, any newly created project works, both with mono & dotnetCLI.
Ah that's interesting. Weirdly enough though, I still get it failing with Mono MSBuild on a newly created project in pre RC6. Using those steps:
Yes, just found the same. An empty, newly created scene builds fine. But the second I add a c# to the node script error MSB4237 rears its ugly head oncemore. I notice that as its creating a script it says "Updating godot assemblies", maybe it's here the problem lies...
Hope that you fix it as fast as possible.
Asking the same here:
Run Godot in verbose mode and build the project. It should print the MSBuild command it used. Can you try running the same command from the command line, but changing /v:normal
to /v:diagnostic
and copy the output here?
Here is the output from 3.2.3 RC6 mono build. With verbose mode & /v:diagnostic on. No visual Studio, MS Build Mono. One Script added to a blank test project (Build failed same as RC5 above):
``Microsoft (R) Build Engine version 16.4.0 for Mono Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\Mono\bin\..\lib\mono\msbuild\15.0\bin\MSBuild.dll /l:GodotTools.BuildLogger.GodotBuildLogger,C:\Users\p\Downloads\beckettRC6\Godot_v3.2.3-rc6_mono_win64\GodotSharp\Tools\GodotTools.BuildLogger.dll;C:\Users\p\AppData\Roaming/Godot/mono/build_logs\511b6be5d6d8a26d727d144d446b3762_Debug /p:Configuration=Debug /p:GodotTargetPlatform=windows /restore /t:Build /v:diagnostic C:/Users/p/Downloads/beckettRC6/proj/testRC6/testRC6.sln Build started 10/09/2020 19:51:20. Environment at start of build: ALLUSERSPROFILE = C:\ProgramData APPDATA = C:\Users\p\AppData\Roaming CommonProgramFiles = C:\Program Files\Common Files CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files CommonProgramW6432 = C:\Program Files\Common Files COMPUTERNAME = q ComSpec = C:\Windows\system32\cmd.exe DriverData = C:\Windows\System32\Drivers\DriverData FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer FPS_BROWSER_USER_PROFILE_STRING = Default GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\ HOMEDRIVE = C: HOMEPATH = \Users\p LOCALAPPDATA = C:\Users\p\AppData\Local LOGONSERVER = \q MSBuildLoadMicrosoftTargetsReadOnly = true NUMBER_OF_PROCESSORS = 8 OneDrive = C:\Users\p\OneDrive OS = Windows_NT Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\S ystem32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\ Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\VSCodium\bin;C:\Users\p\AppData\Local\Microsoft\Window sApps; PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE = AMD64 PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 158 Stepping 10, GenuineIntel PROCESSOR_LEVEL = 6 PROCESSOR_REVISION = 9e ProgramData = C:\ProgramData ProgramFiles = C:\Program Files ProgramFiles(x86) = C:\Program Files (x86) ProgramW6432 = C:\Program Files PROMPT = $P$G PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC = C:\Users\Public SESSIONNAME = Console SystemDrive = C: SystemRoot = C:\Windows TEMP = C:\Users\p\AppData\Local\Temp TMP = C:\Users\p\AppData\Local\Temp USERDOMAIN = q USERDOMAIN_ROAMINGPROFILE = q USERNAME = p USERPROFILE = C:\Users\p VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ windir = C:\Windows
Project "C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln" on node 1 (Restore target(s)).
Initial Properties:
_DirectorySolutionPropsBasePath =
_DirectorySolutionPropsFile = Directory.Solution.props
_DirectorySolutionTargetsBasePath =
_DirectorySolutionTargetsFile = Directory.Solution.targets
ALLUSERSPROFILE = C:\ProgramData
APPDATA = C:\Users\p\AppData\Roaming
AspNetConfiguration = Debug
CommonProgramFiles = C:\Program Files\Common Files
CommonProgramW6432 = C:\Program Files\Common Files
COMPUTERNAME = q
ComSpec = C:\Windows\system32\cmd.exe
Configuration = Debug
CurrentSolutionConfigurationContents =
Initial Items:
ProjectReference
C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj
ToolsVersion =
SkipNonexistentProjects = False
AdditionalProperties = Configuration=Debug; Platform=AnyCPU
Configuration = Debug
Platform = AnyCPU
SolutionConfiguration
Debug|Any CPU
Configuration = Debug
Platform = Any CPU
Content =
Building with tools version "Current".
Target "ValidateSolutionConfiguration: (TargetId:2)" in file "C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln.
metaproj" from project "C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln" (entry point):
Task "Error" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidCon
figurations)' != 'true')) was evaluated as (('
Done executing task "MSBuild" -- FAILED. (TaskId:3) Done building target "Restore" in project "testRC6.sln" -- FAILED.: (TargetId:5) Done Building Project "C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln" (Restore target(s)) -- FAILED.
Deferred Messages
(TaskId:0)
-------------- (TaskId:0) 0 : 0.275s 0.306s C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln (Restore ) (TaskId:0) . 1 : 0.030s 0.030s C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj (Rest ore) (TaskId:0)
Utilization: 100.0 Average Utilization: 100.0 (TaskId:0)
Project Evaluation Performance Summary: 0 ms C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj 1 calls
Project Performance Summary: 6 ms C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj 1 calls 6 ms Restore 1 calls 274 ms C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln 1 calls 274 ms Restore 1 calls
Target Performance Summary: 0 ms ValidateProjects 1 calls 12 ms ValidateToolsVersions 1 calls 68 ms ValidateSolutionConfiguration 1 calls 112 ms Restore 1 calls
Task Performance Summary: 20 ms Message 1 calls 102 ms MSBuild 1 calls
Build FAILED.
"C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.sln" (Restore target) (1) -> "C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj" (Restore target) (2) -> C:\Users\p\Downloads\beckettRC6\proj\testRC6\testRC6.csproj : error MSB4237: The SDK resolver type "DotNetMSBuildSdkR esolver" failed to load. The type initializer for 'Microsoft.DotNet.MSBuildSdkResolver.VSSettings' threw an exception.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.59
That seems to be the output from Mono's MSBuild, which we kinda accept is going to give problem and we're considering disabling it.
I'm more interested in the output when building with dotnet CLI
(.NET Core SDK) as in this comment where it gives the error Unable to resolve 'Godot.NET.Sdk (= 3.2.3)' for '.NETStandard,Version=v0.0'
.
Here is the output from 3.23 RC6 mono, dotnetCli, new project with just one .cs script added to node, build failed. msbuild_log & verbose diagnostic result (in next post)
msbuild_log
Project "newRC6.sln" (Restore target(s)): Message: Building solution configuration "Debug|Any CPU". Restoring packages for C:\Users\p\AppData\Local\Temp\NuGetScratch\dae5d2f6fdb34bf7b29b3e9dc892732b\f00e0043647b4caca7a1594b36c05b97.proj... C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): warning : Unable to load the service index for source https://api.nuget.org/v3/index.json. C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): error : Unable to find package Godot.NET.Sdk. No packages exist with this id in source(s): nuget.org Project "newRC6.csproj" (_IsProjectRestoreSupported target(s)): Done building project "newRC6.csproj". C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): warning NU1503: Skipping restore for project 'C:\Users\p\Downloads\beckett\projects\newRC6.csproj'. The project file may be invalid or missing targets required for restore. [C:\Users\p\Downloads\beckett\projects\newRC6.sln] NuGetMessageTask: Determining projects to restore... C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets(128,5): warning : Unable to find a project to restore! [C:\Users\p\Downloads\beckett\projects\newRC6.sln] Done building project "newRC6.sln". Project "newRC6.sln" (Build target(s)): Message: Building solution configuration "Debug|Any CPU". Restoring packages for C:\Users\p\AppData\Local\Temp\NuGetScratch\9840535b1c96477eb5e0248a35f6e028\039049cf59e144399a25440cf518a9f1.proj... C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): warning : Unable to load the service index for source https://api.nuget.org/v3/index.json. C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): error : Unable to find package Godot.NET.Sdk. No packages exist with this id in source(s): nuget.org Project "newRC6.csproj" (default targets): C:\Users\p\Downloads\beckett\projects\newRC6.csproj(0,0): error MSB4236: The SDK 'Godot.NET.Sdk/3.2.3' specified could not be found. [C:\Users\p\Downloads\beckett\projects\newRC6.csproj] Done building project "newRC6.csproj" -- FAILED. Done building project "newRC6.sln" -- FAILED.
Following up from last post here is the --verbose /v:diagnostic build output:
Microsoft (R) Build Engine version 16.7.0-preview-20360-03+188921e2f for .NET Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\dotnet\sdk\3.1.401\MSBuild.dll -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\3.1.401\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\3.1.401\dotnet.dll -maxcpucount -verbosity:m /v:diagnostic /l:GodotTools.BuildLogger.GodotBuildLogger,C:\Users\p\Downloads\beckett\Godot_v3.2.3-rc6_mono_win64\GodotSharp\Tools\GodotTools.BuildLogger.dll;C:\Users\p\AppData\Roaming/Godot/mono/build_logs\a636445ff03e003b68a021e803a4812d_Debug /p:Configuration=Debug /p:GodotTargetPlatform=windows /restore /t:Build C:/Users/p/Downloads/beckett/projects/newRC6.sln Build started 11/09/2020 14:23:39. Environment at start of build: ALLUSERSPROFILE = C:\ProgramData APPDATA = C:\Users\p\AppData\Roaming CommonProgramFiles = C:\Program Files\Common Files CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files CommonProgramW6432 = C:\Program Files\Common Files COMPUTERNAME = q ComSpec = C:\Windows\system32\cmd.exe DOTNET_CLI_TELEMETRY_SESSIONID = ba50903a-7eca-467a-b558-1e16da0fdeff DOTNET_HOST_PATH = C:\Program Files\dotnet\dotnet.exe DriverData = C:\Windows\System32\Drivers\DriverData FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer FPS_BROWSER_USER_PROFILE_STRING = Default GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\ HOMEDRIVE = C: HOMEPATH = \Users\p LOCALAPPDATA = C:\Users\p\AppData\Local LOGONSERVER = \q MSBuildExtensionsPath = C:\Program Files\dotnet\sdk\3.1.401\ MSBuildLoadMicrosoftTargetsReadOnly = true MSBuildSDKsPath = C:\Program Files\dotnet\sdk\3.1.401\Sdks NUMBER_OF_PROCESSORS = 8 OneDrive = C:\Users\p\OneDrive OS = Windows_NT Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\VSCodium\bin;C:\Program Files\dotnet\;C:\Users\p\AppData\Local\Microsoft\WindowsApps;C:\Users\p.dotnet\tools PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE = AMD64 PROCESSOR_IDENTIFIER = x PROCESSOR_LEVEL = 6 PROCESSOR_REVISION = 9e ProgramData = C:\ProgramData ProgramFiles = C:\Program Files ProgramFiles(x86) = C:\Program Files (x86) ProgramW6432 = C:\Program Files PROMPT = $P$G PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC = C:\Users\Public SESSIONNAME = Console SystemDrive = C: SystemRoot = C:\Windows TEMP = C:\Users\p\AppData\Local\Temp TMP = C:\Users\p\AppData\Local\Temp USERDOMAIN = q USERDOMAIN_ROAMINGPROFILE = q USERNAME = p USERPROFILE = C:\Users\p VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ windir = C:\Windows
14:23:39.261 0>Process = "C:\Program Files\dotnet\dotnet.exe" MSBuild executable path = "C:\Program Files\dotnet\sdk\3.1.401\MSBuild.dll" Command line arguments = ""C:\Program Files\dotnet\sdk\3.1.401\MSBuild.dll" -maxcpucount -verbosity:m C:/Users/p/Downloads/beckett/projects/newRC6.sln /restore /t:Build /p:Configuration=Debug /v:diagnostic /l:GodotTools.BuildLogger.GodotBuildLogger,C:\Users\p\Downloads\beckett\Godot_v3.2.3-rc6_mono_win64\GodotSharp\Tools\GodotTools.BuildLogger.dll;C:\Users\p\AppData\Roaming/Godot/mono/build_logs\a636445ff03e003b68a021e803a4812d_Debug /p:GodotTargetPlatform=windows "-distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\3.1.401\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\3.1.401\dotnet.dll"" Current directory = "C:\Users\p" MSBuild version = "16.7.0-preview-20360-03+188921e2f" 14:23:39.366 1>Project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" on node 1 (Restore target(s)). 14:23:39.366 1>Initial Properties: _DirectorySolutionPropsBasePath = _DirectorySolutionPropsFile = Directory.Solution.props _DirectorySolutionTargetsBasePath = _DirectorySolutionTargetsFile = Directory.Solution.targets _GenerateRestoreGraphProjectEntryInputProperties = ExcludeRestorePackageImports=true; _RestoreSolutionFileUsed=true; SolutionDir=C:\Users\p\Downloads\beckett\projects\; SolutionName=newRC6; SolutionFileName=newRC6.sln; SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln; SolutionExt=.sln;
_RestoreSolutionFileUsed = true
ALLUSERSPROFILE = C:\ProgramData
APPDATA = C:\Users\p\AppData\Roaming
AspNetConfiguration = Debug
CommonProgramFiles = C:\Program Files\Common Files
CommonProgramW6432 = C:\Program Files\Common Files
COMPUTERNAME = q
ComSpec = C:\Windows\system32\cmd.exe
Configuration = Debug
CurrentSolutionConfigurationContents = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
DOTNET_CLI_TELEMETRY_SESSIONID = ba50903a-7eca-467a-b558-1e16da0fdeff
DOTNET_HOST_PATH = C:\Program Files\dotnet\dotnet.exe
DriverData = C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING = Default
GodotTargetPlatform = windows
GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\
HideWarningsAndErrors = false
HOMEDRIVE = C:
HOMEPATH = \Users\p
IsRestoreTargetsFileLoaded = true
LOCALAPPDATA = C:\Users\p\AppData\Local
LOGONSERVER = \\q
MSBuildAllProjects = C:\Program Files\dotnet\sdk\3.1.401\Current\SolutionFile\ImportAfter\Microsoft.NuGet.ImportAfter.targets;;C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets
MSBuildAssemblyVersion = 16.0
MSBuildBinPath = C:\Program Files\dotnet\sdk\3.1.401
MSBuildExtensionsPath = C:\Program Files\dotnet\sdk\3.1.401\
MSBuildExtensionsPath32 = C:\Program Files\dotnet\sdk\3.1.401
MSBuildExtensionsPath64 = C:\Program Files\dotnet\sdk\3.1.401
MSBuildLoadMicrosoftTargetsReadOnly = true
MSBuildNodeCount = 1
MSBuildProgramFiles32 = C:\Program Files (x86)
MSBuildProjectDefaultTargets = Build
MSBuildProjectDirectory = C:\Users\p\Downloads\beckett\projects
MSBuildProjectDirectoryNoRoot = Users\p\Downloads\beckett\projects
MSBuildProjectExtension = .metaproj
MSBuildProjectFile = newRC6.sln.metaproj
MSBuildProjectFullPath = C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj
MSBuildProjectName = newRC6.sln
MSBuildRestoreSessionId = 0f0e2f37-73e5-4d20-8662-817b2bdcd706
MSBuildRuntimeType = Core
MSBuildSDKsPath = C:\Program Files\dotnet\sdk\3.1.401\Sdks
MSBuildStartupDirectory = C:\Users\p
MSBuildToolsPath = C:\Program Files\dotnet\sdk\3.1.401
MSBuildToolsVersion = Current
MSBuildUserExtensionsPath = C:\Users\p\AppData\Local\Microsoft\MSBuild
MSBuildVersion = 16.7.0
NuGetInteractive =
NuGetRestoreTargets = C:\Program Files\dotnet\sdk\3.1.401\\NuGet.targets
NUMBER_OF_PROCESSORS = 8
OneDrive = C:\Users\p\OneDrive
OS = Windows_NT
PackageDownloadSupported = true
Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\VSCodium\bin;C:\Program Files\dotnet\;C:\Users\p\AppData\Local\Microsoft\WindowsApps;C:\Users\p\.dotnet\tools
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Platform = Any CPU
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 9e0a
ProgramData = C:\ProgramData
ProgramFiles = C:\Program Files
ProgramW6432 = C:\Program Files
PROMPT = $P$G
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC = C:\Users\Public
RestoreBuildInParallel = true
RestoreContinueOnError = WarnAndContinue
RestoreRecursive = true
RestoreTaskAssemblyFile = NuGet.Build.Tasks.dll
RestoreUseSkipNonexistentTargets = true
RoslynTargetsPath = C:\Program Files\dotnet\sdk\3.1.401\Roslyn
SESSIONNAME = Console
SolutionDir = C:\Users\p\Downloads\beckett\projects\
SolutionExt = .sln
SolutionFileName = newRC6.sln
SolutionName = newRC6
SolutionPath = C:\Users\p\Downloads\beckett\projects\newRC6.sln
SystemDrive = C:
SystemRoot = C:\Windows
TargetFrameworkVersion = v4.0
TEMP = C:\Users\p\AppData\Local\Temp
TMP = C:\Users\p\AppData\Local\Temp
USERDOMAIN = q
USERDOMAIN_ROAMINGPROFILE = q
USERNAME = p
USERPROFILE = C:\Users\p
ValidateRuntimeIdentifierCompatibility = false
VisualStudioVersion = 16.0
VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
windir = C:\Windows
14:23:39.366 1>Initial Items:
ProjectReference
C:\Users\p\Downloads\beckett\projects\newRC6.csproj
ToolsVersion =
SkipNonexistentProjects = False
AdditionalProperties = Configuration=Debug; Platform=AnyCPU
Configuration = Debug
Platform = AnyCPU
RestoreGraphProjectInputItems
C:\Users\p\Downloads\beckett\projects\newRC6.csproj
ToolsVersion =
SkipNonexistentProjects = False
AdditionalProperties = Configuration=Debug; Platform=AnyCPU
Configuration = Debug
Platform = AnyCPU
SolutionConfiguration
Debug|Any CPU
Configuration = Debug
Platform = Any CPU
Content =
</SolutionConfiguration>
ExportDebug|Any CPU
Configuration = ExportDebug
Platform = Any CPU
Content = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">ExportDebug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
ExportRelease|Any CPU
Configuration = ExportRelease
Platform = Any CPU
Content = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">ExportRelease|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
14:23:39.366 1>Building with tools version "Current".
14:23:39.370 1>Target "ValidateSolutionConfiguration: (TargetId:2)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point):
Task "Error" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' != 'true')) was evaluated as (('
</SolutionConfiguration>' == '') and ('' != 'true')).
Task "Warning" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' == 'true')) was evaluated as (('<SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>' == '') and ('' == 'true')).
Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Message" (TaskId:2)
Task Parameter:Text=Building solution configuration "Debug|Any CPU". (TaskId:2)
Building solution configuration "Debug|Any CPU". (TaskId:2)
Done executing task "Message". (TaskId:2)
14:23:39.379 1>Done building target "ValidateSolutionConfiguration" in project "newRC6.sln".: (TargetId:2) 14:23:39.379 1>Target "ValidateToolsVersions: (TargetId:3)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point): Task "Error" skipped, due to false condition; ('$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0' and '$(ProjectToolsVersion)' != '')) was evaluated as ('Current' == '2.0' and ('' != '2.0' and '' != '')). 14:23:39.379 1>Done building target "ValidateToolsVersions" in project "newRC6.sln".: (TargetId:3) 14:23:39.379 1>Target "ValidateProjects: (TargetId:4)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point): 14:23:39.379 1>Done building target "ValidateProjects" in project "newRC6.sln".: (TargetId:4) 14:23:39.379 1>Target "_LoadRestoreGraphEntryPoints: (TargetId:5)" in file "C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (target "_FilterRestoreGraphProjectInputItems" depends on it): Using "GetRestoreSolutionProjectsTask" task from assembly "C:\Program Files\dotnet\sdk\3.1.401\NuGet.Build.Tasks.dll". Task "GetRestoreSolutionProjectsTask" (TaskId:3) Task Parameter: ProjectReferences= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:3) Task Parameter:SolutionFilePath=C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj (TaskId:3) (in) ProjectReferences 'C:\Users\p\Downloads\beckett\projects\newRC6.csproj' (TaskId:3) (in) SolutionFilePath 'C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj' (TaskId:3) Output Item(s): RestoreGraphProjectInputItems= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:3) Done executing task "GetRestoreSolutionProjectsTask". (TaskId:3) 14:23:39.389 1>Done building target "_LoadRestoreGraphEntryPoints" in project "newRC6.sln".: (TargetId:5) 14:23:39.389 1>Target "_FilterRestoreGraphProjectInputItems: (TargetId:6)" in file "C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (target "_GenerateRestoreGraph" depends on it): Set Property: RestoreProjectFilterMode=exclusionlist Added Item(s): _FilteredRestoreGraphProjectInputItemsTmp= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= Using "RemoveDuplicates" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "RemoveDuplicates" (TaskId:4) Task Parameter: Inputs= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:4) Output Item(s): FilteredRestoreGraphProjectInputItemsWithoutDuplicates= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:4) Done executing task "RemoveDuplicates". (TaskId:4) Using "MsBuild" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "MsBuild" (TaskId:5) Task Parameter:BuildInParallel=True (TaskId:5) Task Parameter: Projects= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:5) Task Parameter:Targets=_IsProjectRestoreSupported (TaskId:5) Task Parameter:SkipNonexistentTargets=True (TaskId:5) Task Parameter: Properties= ExcludeRestorePackageImports=true _RestoreSolutionFileUsed=true SolutionDir=C:\Users\p\Downloads\beckett\projects\ SolutionName=newRC6 SolutionFileName=newRC6.sln SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln SolutionExt=.sln (TaskId:5) Global Properties: (TaskId:5) ExcludeRestorePackageImports=true (TaskId:5) _RestoreSolutionFileUsed=true (TaskId:5) SolutionDir=C:\Users\p\Downloads\beckett\projects\ (TaskId:5) SolutionName=newRC6 (TaskId:5) SolutionFileName=newRC6.sln (TaskId:5) SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln (TaskId:5) SolutionExt=.sln (TaskId:5) Additional Properties for project "C:\Users\p\Downloads\beckett\projects\newRC6.csproj": (TaskId:5) Configuration=Debug (TaskId:5) Platform=AnyCPU (TaskId:5) 14:23:39.415 0>Resolving SDK 'Godot.NET.Sdk/3.2.3'... Running restore with 8 concurrent jobs. Reading project file C:\Users\p\AppData\Local\Temp\NuGetScratch\8e1be1ec4511484bb3ef2aa69e277b08\cf9fd2d714f84192a4a7b93ea323141c.proj. Restoring packages for C:\Users\p\AppData\Local\Temp\NuGetScratch\8e1be1ec4511484bb3ef2aa69e277b08\cf9fd2d714f84192a4a7b93ea323141c.proj... Restoring packages for .NETStandard,Version=v0.0... Resolving conflicts for .NETStandard,Version=v0.0... 14:23:39.800 0>C:\Users\p\Downloads\beckett\projects\newRC6.csproj : warning : Unable to load the service index for source https://api.nuget.org/v3/index.json. 14:23:39.800 0>C:\Users\p\Downloads\beckett\projects\newRC6.csproj : error : Unable to find package Godot.NET.Sdk. No packages exist with this id in source(s): nuget.org MSB4236: The SDK 'Godot.NET.Sdk/3.2.3' specified could not be found. MSB4236: The SDK 'Godot.NET.Sdk/3.2.3' specified could not be found. 14:23:39.366 1>Project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (1) is building "C:\Users\p\Downloads\beckett\projects\newRC6.csproj" (2) on node 1 (_IsProjectRestoreSupported target(s)). 14:23:39.800 2>Initial Properties: _RestoreSolutionFileUsed = true ALLUSERSPROFILE = C:\ProgramData APPDATA = C:\Users\p\AppData\Roaming CommonProgramFiles = C:\Program Files\Common Files CommonProgramW6432 = C:\Program Files\Common Files COMPUTERNAME = q ComSpec = C:\Windows\system32\cmd.exe Configuration = Debug DOTNET_CLI_TELEMETRY_SESSIONID = ba50903a-7eca-467a-b558-1e16da0fdeff DOTNET_HOST_PATH = C:\Program Files\dotnet\dotnet.exe DriverData = C:\Windows\System32\Drivers\DriverData ExcludeRestorePackageImports = true FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer FPS_BROWSER_USER_PROFILE_STRING = Default GodotTargetPlatform = windows GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\ HOMEDRIVE = C: HOMEPATH = \Users\p LOCALAPPDATA = C:\Users\p\AppData\Local LOGONSERVER = \q MSBuildAllProjects = C:\Users\p\Downloads\beckett\projects\newRC6.csproj MSBuildAssemblyVersion = 16.0 MSBuildBinPath = C:\Program Files\dotnet\sdk\3.1.401 MSBuildExtensionsPath = C:\Program Files\dotnet\sdk\3.1.401\ MSBuildExtensionsPath32 = C:\Program Files\dotnet\sdk\3.1.401 MSBuildExtensionsPath64 = C:\Program Files\dotnet\sdk\3.1.401 MSBuildLoadMicrosoftTargetsReadOnly = true MSBuildNodeCount = 8 MSBuildProgramFiles32 = C:\Program Files (x86) MSBuildProjectDirectory = C:\Users\p\Downloads\beckett\projects MSBuildProjectDirectoryNoRoot = Users\p\Downloads\beckett\projects MSBuildProjectExtension = .csproj MSBuildProjectFile = newRC6.csproj MSBuildProjectFullPath = C:\Users\p\Downloads\beckett\projects\newRC6.csproj MSBuildProjectName = newRC6 MSBuildRestoreSessionId = 0f0e2f37-73e5-4d20-8662-817b2bdcd706 MSBuildRuntimeType = Core MSBuildSDKsPath = C:\Program Files\dotnet\sdk\3.1.401\Sdks MSBuildStartupDirectory = C:\Users\p MSBuildToolsPath = C:\Program Files\dotnet\sdk\3.1.401 MSBuildToolsVersion = Current MSBuildUserExtensionsPath = C:\Users\p\AppData\Local\Microsoft\MSBuild MSBuildVersion = 16.7.0 NUMBER_OF_PROCESSORS = 8 OneDrive = C:\Users\p\OneDrive OS = Windows_NT Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\VSCodium\bin;C:\Program Files\dotnet\;C:\Users\p\AppData\Local\Microsoft\WindowsApps;C:\Users\p.dotnet\tools PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC Platform = AnyCPU PROCESSOR_ARCHITECTURE = AMD64 PROCESSOR_IDENTIFIER = x, GenuineIntel PROCESSOR_LEVEL = 6 PROCESSOR_REVISION = 9 ProgramData = C:\ProgramData ProgramFiles = C:\Program Files ProgramW6432 = C:\Program Files PROMPT = $P$G PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC = C:\Users\Public RoslynTargetsPath = C:\Program Files\dotnet\sdk\3.1.401\Roslyn SESSIONNAME = Console SolutionDir = C:\Users\p\Downloads\beckett\projects\ SolutionExt = .sln SolutionFileName = newRC6.sln SolutionName = newRC6 SolutionPath = C:\Users\p\Downloads\beckett\projects\newRC6.sln SystemDrive = C: SystemRoot = C:\Windows TargetFramework = net472 TEMP = C:\Users\p\AppData\Local\Temp TMP = C:\Users\p\AppData\Local\Temp USERDOMAIN = q USERDOMAIN_ROAMINGPROFILE = q USERNAME = p USERPROFILE = C:\Users\p VisualStudioVersion = 16.0 VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ windir = C:\Windows
14:23:39.800 2>Building with tools version "Current". Target "_IsProjectRestoreSupported" skipped. The target does not exist in the project and SkipNonexistentTargets is set to true. 14:23:39.800 2>Done Building Project "C:\Users\p\Downloads\beckett\projects\newRC6.csproj" (_IsProjectRestoreSupported target(s)). 14:23:39.805 1>Done executing task "MsBuild". (TaskId:5) Task "MsBuild" skipped, due to false condition; ( '$(RestoreUseSkipNonexistentTargets)' != 'true' ) was evaluated as ( 'true' != 'true' ). Using "WarnForInvalidProjectsTask" task from assembly "C:\Program Files\dotnet\sdk\3.1.401\NuGet.Build.Tasks.dll". Task "WarnForInvalidProjectsTask" (TaskId:6) Task Parameter: AllProjects= C:\Users\p\Downloads\beckett\projects\newRC6.csproj AdditionalProperties=Configuration=Debug; Platform=AnyCPU Configuration=Debug Platform=AnyCPU SkipNonexistentProjects=False ToolsVersion= (TaskId:6) (in) AllProjects 'C:\Users\p\Downloads\beckett\projects\newRC6.csproj' (TaskId:6) (in) ValidProjects '' (TaskId:6) 14:23:39.807 1>C:\Users\p\Downloads\beckett\projects\newRC6.csproj : warning NU1503: Skipping restore for project 'C:\Users\p\Downloads\beckett\projects\newRC6.csproj'. The project file may be invalid or missing targets required for restore. [C:\Users\p\Downloads\beckett\projects\newRC6.sln] Done executing task "WarnForInvalidProjectsTask". (TaskId:6) 14:23:39.807 1>Done building target "_FilterRestoreGraphProjectInputItems" in project "newRC6.sln".: (TargetId:6) Target "_FilterRestoreGraphProjectInputItems" skipped. Previously built successfully. 14:23:39.808 1>Target "_GetAllRestoreProjectPathItems: (TargetId:7)" in file "C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (target "_GenerateRestoreGraph" depends on it): Using "NuGetMessageTask" task from assembly "C:\Program Files\dotnet\sdk\3.1.401\NuGet.Build.Tasks.dll". Task "NuGetMessageTask" (TaskId:7) Task Parameter:Name=DeterminingProjectsToRestore (TaskId:7) Task Parameter:Importance=High (TaskId:7) Determining projects to restore... (TaskId:7) Done executing task "NuGetMessageTask". (TaskId:7) Task "MsBuild" (TaskId:8) Task Parameter:BuildInParallel=True (TaskId:8) Task Parameter:Targets=_GenerateRestoreProjectPathWalk (TaskId:8) Task Parameter:SkipNonexistentTargets=True (TaskId:8) Task Parameter:SkipNonexistentProjects=true (TaskId:8) Task Parameter: Properties= ExcludeRestorePackageImports=true _RestoreSolutionFileUsed=true SolutionDir=C:\Users\p\Downloads\beckett\projects\ SolutionName=newRC6 SolutionFileName=newRC6.sln SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln SolutionExt=.sln (TaskId:8) Done executing task "MsBuild". (TaskId:8) Task "MsBuild" skipped, due to false condition; ( '$(RestoreUseSkipNonexistentTargets)' != 'true' ) was evaluated as ( 'true' != 'true' ). Task "RemoveDuplicates" (TaskId:9) Done executing task "RemoveDuplicates". (TaskId:9) Task "MsBuild" (TaskId:10) Task Parameter:BuildInParallel=True (TaskId:10) Task Parameter:Targets=_IsProjectRestoreSupported (TaskId:10) Task Parameter:SkipNonexistentTargets=True (TaskId:10) Task Parameter:SkipNonexistentProjects=true (TaskId:10) Task Parameter: Properties= ExcludeRestorePackageImports=true _RestoreSolutionFileUsed=true SolutionDir=C:\Users\p\Downloads\beckett\projects\ SolutionName=newRC6 SolutionFileName=newRC6.sln SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln SolutionExt=.sln (TaskId:10) Done executing task "MsBuild". (TaskId:10) Task "MsBuild" skipped, due to false condition; ( '$(RestoreUseSkipNonexistentTargets)' != 'true' ) was evaluated as ( 'true' != 'true' ). 14:23:39.809 1>Done building target "_GetAllRestoreProjectPathItems" in project "newRC6.sln".: (TargetId:7) 14:23:39.809 1>Target "_GenerateRestoreGraph: (TargetId:8)" in file "C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (target "Restore" depends on it): Task "Message" (TaskId:11) Task Parameter:Text=Generating dg file (TaskId:11) Task Parameter:Importance=low (TaskId:11) Generating dg file (TaskId:11) Done executing task "Message". (TaskId:11) Task "Message" (TaskId:12) Task Parameter:Importance=low (TaskId:12) Done executing task "Message". (TaskId:12) Task "MsBuild" (TaskId:13) Task Parameter:BuildInParallel=True (TaskId:13) Task Parameter:Targets=_GenerateRestoreGraphProjectEntry (TaskId:13) Task Parameter: Properties= ExcludeRestorePackageImports=true _RestoreSolutionFileUsed=true SolutionDir=C:\Users\p\Downloads\beckett\projects\ SolutionName=newRC6 SolutionFileName=newRC6.sln SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln SolutionExt=.sln (TaskId:13) Done executing task "MsBuild". (TaskId:13) Task "MsBuild" (TaskId:14) Task Parameter:BuildInParallel=True (TaskId:14) Task Parameter:Targets=_GenerateProjectRestoreGraph (TaskId:14) Task Parameter: Properties= ExcludeRestorePackageImports=true _RestoreSolutionFileUsed=true SolutionDir=C:\Users\p\Downloads\beckett\projects\ SolutionName=newRC6 SolutionFileName=newRC6.sln SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln SolutionExt=.sln (TaskId:14) Done executing task "MsBuild". (TaskId:14) 14:23:39.809 1>Done building target "_GenerateRestoreGraph" in project "newRC6.sln".: (TargetId:8) 14:23:39.809 1>Target "Restore: (TargetId:9)" in file "C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point): Task "RemoveDuplicates" (TaskId:15) Done executing task "RemoveDuplicates". (TaskId:15) Using "RestoreTask" task from assembly "C:\Program Files\dotnet\sdk\3.1.401\NuGet.Build.Tasks.dll". Task "RestoreTask" (TaskId:16) Task Parameter:RestoreRecursive=True (TaskId:16) Task Parameter:HideWarningsAndErrors=False (TaskId:16) (in) RestoreGraphItems Count '0' (TaskId:16) (in) RestoreDisableParallel 'False' (TaskId:16) (in) RestoreNoCache 'False' (TaskId:16) (in) RestoreIgnoreFailedSources 'False' (TaskId:16) (in) RestoreRecursive 'True' (TaskId:16) (in) RestoreForce 'False' (TaskId:16) (in) HideWarningsAndErrors 'False' (TaskId:16) (in) RestoreForceEvaluate 'False' (TaskId:16) (in) RestorePackagesConfig 'False' (TaskId:16) 14:23:39.810 1>C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets(128,5): warning : Unable to find a project to restore! [C:\Users\p\Downloads\beckett\projects\newRC6.sln] Done executing task "RestoreTask". (TaskId:16) 14:23:39.810 1>Done building target "Restore" in project "newRC6.sln".: (TargetId:9) 14:23:39.811 1>Done Building Project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (Restore target(s)). 14:23:39.892 1:2>Project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" on node 1 (Build target(s)). 14:23:39.892 1:2>Initial Properties: _DirectorySolutionPropsBasePath = _DirectorySolutionPropsFile = Directory.Solution.props _DirectorySolutionTargetsBasePath = _DirectorySolutionTargetsFile = Directory.Solution.targets _GenerateRestoreGraphProjectEntryInputProperties = ExcludeRestorePackageImports=true; _RestoreSolutionFileUsed=true; SolutionDir=C:\Users\p\Downloads\beckett\projects\; SolutionName=newRC6; SolutionFileName=newRC6.sln; SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln; SolutionExt=.sln;
_RestoreSolutionFileUsed = true
ALLUSERSPROFILE = C:\ProgramData
APPDATA = C:\Users\p\AppData\Roaming
AspNetConfiguration = Debug
CommonProgramFiles = C:\Program Files\Common Files
CommonProgramW6432 = C:\Program Files\Common Files
COMPUTERNAME = q
ComSpec = C:\Windows\system32\cmd.exe
Configuration = Debug
CurrentSolutionConfigurationContents = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
DOTNET_CLI_TELEMETRY_SESSIONID = ba50903a-7eca-467a-b558-1e16da0fdeff
DOTNET_HOST_PATH = C:\Program Files\dotnet\dotnet.exe
DriverData = C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING = Default
GodotTargetPlatform = windows
GTK_BASEPATH = C:\Program Files (x86)\GtkSharp\2.12\
HideWarningsAndErrors = false
HOMEDRIVE = C:
HOMEPATH = \Users\p
IsRestoreTargetsFileLoaded = true
LOCALAPPDATA = C:\Users\p\AppData\Local
LOGONSERVER = \\q
MSBuildAllProjects = C:\Program Files\dotnet\sdk\3.1.401\Current\SolutionFile\ImportAfter\Microsoft.NuGet.ImportAfter.targets;;C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets
MSBuildAssemblyVersion = 16.0
MSBuildBinPath = C:\Program Files\dotnet\sdk\3.1.401
MSBuildExtensionsPath = C:\Program Files\dotnet\sdk\3.1.401\
MSBuildExtensionsPath32 = C:\Program Files\dotnet\sdk\3.1.401
MSBuildExtensionsPath64 = C:\Program Files\dotnet\sdk\3.1.401
MSBuildLoadMicrosoftTargetsReadOnly = true
MSBuildNodeCount = 1
MSBuildProgramFiles32 = C:\Program Files (x86)
MSBuildProjectDefaultTargets = Build
MSBuildProjectDirectory = C:\Users\p\Downloads\beckett\projects
MSBuildProjectDirectoryNoRoot = Users\p\Downloads\beckett\projects
MSBuildProjectExtension = .metaproj
MSBuildProjectFile = newRC6.sln.metaproj
MSBuildProjectFullPath = C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj
MSBuildProjectName = newRC6.sln
MSBuildRuntimeType = Core
MSBuildSDKsPath = C:\Program Files\dotnet\sdk\3.1.401\Sdks
MSBuildStartupDirectory = C:\Users\p
MSBuildToolsPath = C:\Program Files\dotnet\sdk\3.1.401
MSBuildToolsVersion = Current
MSBuildUserExtensionsPath = C:\Users\p\AppData\Local\Microsoft\MSBuild
MSBuildVersion = 16.7.0
NuGetInteractive =
NuGetRestoreTargets = C:\Program Files\dotnet\sdk\3.1.401\\NuGet.targets
NUMBER_OF_PROCESSORS = 8
OneDrive = C:\Users\p\OneDrive
OS = Windows_NT
PackageDownloadSupported = true
Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\VSCodium\bin;C:\Program Files\dotnet\;C:\Users\p\AppData\Local\Microsoft\WindowsApps;C:\Users\p\.dotnet\tools
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Platform = Any CPU
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER =x, GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 9
ProgramData = C:\ProgramData
ProgramFiles = C:\Program Files
ProgramW6432 = C:\Program Files
PROMPT = $P$G
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC = C:\Users\Public
RestoreBuildInParallel = true
RestoreContinueOnError = WarnAndContinue
RestoreRecursive = true
RestoreTaskAssemblyFile = NuGet.Build.Tasks.dll
RestoreUseSkipNonexistentTargets = true
RoslynTargetsPath = C:\Program Files\dotnet\sdk\3.1.401\Roslyn
SESSIONNAME = Console
SolutionDir = C:\Users\p\Downloads\beckett\projects\
SolutionExt = .sln
SolutionFileName = newRC6.sln
SolutionName = newRC6
SolutionPath = C:\Users\p\Downloads\beckett\projects\newRC6.sln
SystemDrive = C:
SystemRoot = C:\Windows
TargetFrameworkVersion = v4.0
TEMP = C:\Users\p\AppData\Local\Temp
TMP = C:\Users\p\AppData\Local\Temp
USERDOMAIN = q
USERDOMAIN_ROAMINGPROFILE = q
USERNAME = p
USERPROFILE = C:\Users\p
ValidateRuntimeIdentifierCompatibility = false
VisualStudioVersion = 16.0
VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
windir = C:\Windows
14:23:39.892 1:2>Initial Items:
ProjectReference
C:\Users\p\Downloads\beckett\projects\newRC6.csproj
ToolsVersion =
SkipNonexistentProjects = False
AdditionalProperties = Configuration=Debug; Platform=AnyCPU
Configuration = Debug
Platform = AnyCPU
SolutionConfiguration
Debug|Any CPU
Configuration = Debug
Platform = Any CPU
Content =
</SolutionConfiguration>
ExportDebug|Any CPU
Configuration = ExportDebug
Platform = Any CPU
Content = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">ExportDebug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
ExportRelease|Any CPU
Configuration = ExportRelease
Platform = Any CPU
Content = <SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">ExportRelease|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>
14:23:39.892 1:2>Building with tools version "Current".
14:23:39.892 1:2>Target "ValidateSolutionConfiguration: (TargetId:10)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point):
Task "Error" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' != 'true')) was evaluated as (('
</SolutionConfiguration>' == '') and ('' != 'true')).
Task "Warning" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' == 'true')) was evaluated as (('<SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>' == '') and ('' == 'true')).
Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Message" (TaskId:17)
Task Parameter:Text=Building solution configuration "Debug|Any CPU". (TaskId:17)
Building solution configuration "Debug|Any CPU". (TaskId:17)
Done executing task "Message". (TaskId:17)
14:23:39.895 1:2>Done building target "ValidateSolutionConfiguration" in project "newRC6.sln".: (TargetId:10)
14:23:39.895 1:2>Target "ValidateToolsVersions: (TargetId:11)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point):
Task "Error" skipped, due to false condition; ('$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0' and '$(ProjectToolsVersion)' != '')) was evaluated as ('Current' == '2.0' and ('' != '2.0' and '' != '')).
14:23:39.895 1:2>Done building target "ValidateToolsVersions" in project "newRC6.sln".: (TargetId:11)
14:23:39.895 1:2>Target "ValidateProjects: (TargetId:12)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point):
14:23:39.895 1:2>Done building target "ValidateProjects" in project "newRC6.sln".: (TargetId:12)
14:23:39.895 1:2>Target "Build: (TargetId:13)" in file "C:\Users\p\Downloads\beckett\projects\newRC6.sln.metaproj" from project "C:\Users\p\Downloads\beckett\projects\newRC6.sln" (entry point):
Using "MSBuild" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "MSBuild" (TaskId:18)
Task Parameter:
Projects=
C:\Users\p\Downloads\beckett\projects\newRC6.csproj
AdditionalProperties=Configuration=Debug; Platform=AnyCPU
Configuration=Debug
Platform=AnyCPU
SkipNonexistentProjects=False
ToolsVersion= (TaskId:18)
Task Parameter:BuildInParallel=True (TaskId:18)
Task Parameter:
Properties=
BuildingSolutionFile=true
CurrentSolutionConfigurationContents=
</SolutionConfiguration>
SolutionDir=C:\Users\p\Downloads\beckett\projects\
SolutionExt=.sln
SolutionFileName=newRC6.sln
SolutionName=newRC6
SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln (TaskId:18)
Task Parameter:SkipNonexistentProjects=False (TaskId:18)
Global Properties: (TaskId:18)
BuildingSolutionFile=true (TaskId:18)
CurrentSolutionConfigurationContents=<SolutionConfiguration>
<ProjectConfiguration Project="{C55927EE-48DC-43FE-A6A3-48532EBA32A1}" AbsolutePath="C:\Users\p\Downloads\beckett\projects\newRC6.csproj" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration> (TaskId:18)
SolutionDir=C:\Users\p\Downloads\beckett\projects\ (TaskId:18)
SolutionExt=.sln (TaskId:18)
SolutionFileName=newRC6.sln (TaskId:18)
SolutionName=newRC6 (TaskId:18)
SolutionPath=C:\Users\p\Downloads\beckett\projects\newRC6.sln (TaskId:18)
Additional Properties for project "C:\Users\p\Downloads\beckett\projects\newRC6.csproj": (TaskId:18)
Configuration=Debug (TaskId:18)
Platform=AnyCPU (TaskId:18)
(TaskId:0)
============================== Build Hierarchy (IDs represent configurations) =====================================================
Id : Exclusive Time Total Time Path (Targets)
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
0 : 0.056s 0.449s C:\Users\p\Downloads\beckett\projects\newRC6.sln (Restore) (TaskId:0)
. 1 : 0.392s 0.392s C:\Users\p\Downloads\beckett\projects\newRC6.csproj (_IsProjectRestoreSupported) (TaskId:0)
============================== Node Utilization (IDs represent configurations) ====================================================
Timestamp: 1 Duration Cumulative
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
637354274193618449: 0 0.047s 0.047s (TaskId:0)
637354274194090207: 1 0.392s 0.440s ....... (TaskId:0)
637354274198014496: 0 0.011s 0.451s (TaskId:0)
-----------------------------------------------------------------------------------------------------------------------------------
Utilization: 100.0 Average Utilization: 100.0 (TaskId:0)
Detailed Build Summary
======================
(TaskId:0)
============================== Build Hierarchy (IDs represent configurations) =====================================================
Id : Exclusive Time Total Time Path (Targets)
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
2 : 0.005s 0.016s C:\Users\p\Downloads\beckett\projects\newRC6.sln (Build) (TaskId:0)
. 3 : 0.011s 0.011s C:\Users\p\Downloads\beckett\projects\newRC6.csproj () (TaskId:0)
============================== Node Utilization (IDs represent configurations) ====================================================
Timestamp: 1 Duration Cumulative
----------------------------------------------------------------------------------------------------------------------------------- (TaskId:0)
637354274193618449: 0 0.047s 0.047s (TaskId:0)
637354274194090207: 1 0.392s 0.440s ....... (TaskId:0)
637354274198014496: 0 0.011s 0.451s (TaskId:0)
637354274198925865: 2 0.004s 0.535s (TaskId:0)
637354274198968377: 3 0.012s 0.547s (TaskId:0)
637354274199084004: 2 0.001s 0.547s (TaskId:0)
-----------------------------------------------------------------------------------------------------------------------------------
Utilization: 85.4 Average Utilization: 85.4 (TaskId:0)
Project Evaluation Performance Summary: 389 ms C:\Users\p\Downloads\beckett\projects\newRC6.csproj 2 calls
Project Performance Summary: 0 ms C:\Users\p\Downloads\beckett\projects\newRC6.csproj 2 calls 0 ms _IsProjectRestoreSupported 1 calls 461 ms C:\Users\p\Downloads\beckett\projects\newRC6.sln 2 calls 445 ms Restore 1 calls 16 ms Build 1 calls
Target Performance Summary: 0 ms ValidateProjects 2 calls 0 ms ValidateToolsVersions 2 calls 0 ms _GenerateRestoreGraph 1 calls 1 ms Restore 1 calls 1 ms _GetAllRestoreProjectPathItems 1 calls 9 ms _LoadRestoreGraphEntryPoints 1 calls 12 ms ValidateSolutionConfiguration 2 calls 13 ms Build 1 calls 419 ms _FilterRestoreGraphProjectInputItems 1 calls
Task Performance Summary: 0 ms RemoveDuplicates 3 calls 1 ms RestoreTask 1 calls 1 ms NuGetMessageTask 1 calls 1 ms WarnForInvalidProjectsTask 1 calls 2 ms Message 4 calls 4 ms GetRestoreSolutionProjectsTask 1 calls 417 ms MsBuild 6 calls
Build FAILED.
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : warning : Unable to load the service index for source https://api.nuget.org/v3/index.json.
"C:\Users\p\Downloads\beckett\projects\newRC6.sln" (Restore target) (1) ->
(_FilterRestoreGraphProjectInputItems target) ->
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : warning NU1503: Skipping restore for project 'C:\Users\p\Downloads\beckett\projects\newRC6.csproj'. The project file may be invalid or missing targets required for restore. [C:\Users\p\Downloads\beckett\projects\newRC6.sln]
"C:\Users\p\Downloads\beckett\projects\newRC6.sln" (Restore target) (1) ->
(Restore target) ->
C:\Program Files\dotnet\sdk\3.1.401\NuGet.targets(128,5): warning : Unable to find a project to restore! [C:\Users\p\Downloads\beckett\projects\newRC6.sln]
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : warning : Unable to load the service index for source https://api.nuget.org/v3/index.json.
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : error : Unable to find package Godot.NET.Sdk. No packages exist with this id in source(s): nuget.org
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : error : Unable to find package Godot.NET.Sdk. No packages exist with this id in source(s): nuget.org
"C:\Users\p\Downloads\beckett\projects\newRC6.sln" (Build target) (1:2) ->
"C:\Users\p\Downloads\beckett\projects\newRC6.csproj" (default target) (2:2) ->
C:\Users\p\Downloads\beckett\projects\newRC6.csproj : error MSB4236: The SDK 'Godot.NET.Sdk/3.2.3' specified could not be found.
4 Warning(s)
3 Error(s)
Time Elapsed 00:00:00.73
warning : Unable to load the service index for source https://api.nuget.org/v3/index.json.
There seems to be some configuration or network issue on your system. Can you access https://api.nuget.org/v3/index.json from your browser?
You could check your %appdata%\NuGet\NuGet.config
.
Or try to create a nuget.config
file in your project directory (next to the csproj and sln) with the following contents and see if that changes anything
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
Otherwise tou may find more possible solutions googling for Unable to load the service index for source
.
Okay RC6 DotNetCli worked when I went online and nuget could connect. (I was offline before). Is there a way to get these components for offline use and not have to online when making a new project?
Alas, I found two errors in testing next: (2nd one after long error message)
1)Adding a new scene and a new .cs script leads to error after pressing build
Project "testRC6pt2.sln" (Restore target(s)): Message: Building solution configuration "Debug|Any CPU". Project "testRC6pt2.csproj" (_IsProjectRestoreSupported target(s)): Done building project "testRC6pt2.csproj". NuGetMessageTask: Determining projects to restore... Project "testRC6pt2.csproj" (_GenerateRestoreProjectPathWalk target(s)): Done building project "testRC6pt2.csproj". Project "testRC6pt2.csproj" (_IsProjectRestoreSupported target(s)): Done building project "testRC6pt2.csproj". Project "testRC6pt2.csproj" (_GenerateRestoreGraphProjectEntry target(s)): Done building project "testRC6pt2.csproj". Project "testRC6pt2.csproj" (_GenerateProjectRestoreGraph target(s)): Done building project "testRC6pt2.csproj". RestoreTask: Committing restore... RestoreTask: Assets file has not changed. Skipping assets file writing. Path: C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\temp\obj\project.assets.json RestoreTask: Restored C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj (in 35 ms). RestoreTask: RestoreTask: NuGet Config files used: RestoreTask: C:\Users\p\AppData\Roaming\NuGet\NuGet.Config RestoreTask: RestoreTask: Feeds used: RestoreTask: https://api.nuget.org/v3/index.json RestoreTask: All projects are up-to-date for restore. Done building project "testRC6pt2.sln". Project "testRC6pt2.sln" (Build target(s)): Message: Building solution configuration "Debug|Any CPU". Project "testRC6pt2.csproj" (default targets): Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. Skipping target "CoreGenerateAssemblyInfo" because all output files are up-to-date with respect to the input files. Csc: C:\Program Files\dotnet\dotnet.EXE exec "C:\Program Files\dotnet\sdk\3.1.401\Roslyn\bincore\csc.dll" /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:GODOT;GODOT_WINDOWS;GODOT_PC;TRACE;TOOLS;DEBUG;NETFRAMEWORK;NET472 /highentropyva+ /reference:C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\assemblies\Debug\GodotSharp.dll /reference:C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\assemblies\Debug\GodotSharpEditor.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\mscorlib.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Core.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Data.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Drawing.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.IO.Compression.FileSystem.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Numerics.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Runtime.Serialization.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Xml.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\System.Xml.Linq.dll /reference:C:\Users\p\.nuget\packages\microsoft.netframework.referenceassemblies.net472\1.0.0\build\.NETFramework\v4.7.2\Facades\netstandard.dll /debug+ /debug:portable /filealign:512 /optimize- /out:C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\temp\obj\Debug\testRC6pt2.dll /subsystemversion:6.00 /target:library /warnaserror- /utf8output /deterministic+ /langversion:7.3 "new scene3.cs" Spatial.cs "C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\temp\obj\Debug\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" C:\Users\p\Downloads\Beckett\projects\testRC6pt2\.mono\temp\obj\Debug\testRC6pt2.AssemblyInfo.cs /warnaserror+:NU1605 Csc: Using shared compilation with compiler from directory: C:\Program Files\dotnet\sdk\3.1.401\Roslyn\bincore new scene3.cs(4,14): error CS1001: Identifier expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS1514: { expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS1513: } expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS8803: Top-level statements must precede namespace and type declarations. [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1526: A new expression requires an argument list or (), [], or {} after type [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1002: ; expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1022: Type or namespace definition, or end-of-file expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,27): error CS0116: A namespace cannot directly contain members such as fields or methods [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(5,2): error CS1513: } expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(21,1): error CS1022: Type or namespace definition, or end-of-file expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] Done building project "testRC6pt2.csproj" -- FAILED. Done building project "testRC6pt2.sln" -- FAILED.
2) Error with VSCode with new .cs script I have the following plugins in VSCode :
Godot tools by geequilm 1.1.0
Mono Debug v0.15.8
C#ms-dotnettools.csharpms-dotnettoolsv1.22.1
The error message in VScode: `Starting OmniSharp server at 11/9/2020, 20:27:38 Target: c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.sln
OmniSharp server started. Path: c:\Users\p.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1.omnisharp\1.35.3\OmniSharp.exe PID: 4484
Starting OmniSharp on Windows 6.2.9200.0 (x64)
DotNetPath set to dotnet
Located 1 MSBuild instance(s)
1: StandAlone 16.4 - "c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild\Current\Bin"
MSBUILD_EXE_PATH environment variable set to 'c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild\Current\Bin\MSBuild.exe'
Registered MSBuild instance: StandAlone 16.4 - "c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild\Current\Bin"
CscToolExe = csc.exe
CscToolPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild\Current\Bin\Roslyn
MSBuildExtensionsPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild
MSBuildToolsPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.22.1\.omnisharp\1.35.3\.msbuild\Current\Bin
Detecting Cake files in 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3'.
Could not find any Cake files
Detecting projects in 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.sln'.
Queue project update for 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.csproj'
Detecting CSX files in 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3'.
Could not find any CSX files
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
Loading project: c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.csproj
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
Configuration finished.
Omnisharp server running using Stdio at location 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3' on host 8140.
Failed to load project file 'c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.csproj'.
c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\Users\p.nuget\packages\godot.net.sdk\3.2.3\Sdk\Sdk.props
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List
1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult) at Microsoft.Build.Evaluation.Evaluator
4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) at Microsoft.Build.Evaluation.Evaluator
4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) at Microsoft.Build.Evaluation.Evaluator
4.Evaluate(ILoggingService loggingService, BuildEventContext buildEventContext)
at Microsoft.Build.Evaluation.Evaluator4.Evaluate(IEvaluatorData
4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary1 environmentProperties, ILoggingService loggingService, IItemFactory
2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary
2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary2 globalProperties, String toolsVersion) at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore(String filePath) in D:\a\1\s\src\OmniSharp.MSBuild\ProjectLoader.cs:line 129 at OmniSharp.MSBuild.ProjectLoader.BuildProject(String filePath) in D:\a\1\s\src\OmniSharp.MSBuild\ProjectLoader.cs:line 72 at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load(String filePath, ProjectIdInfo projectIdInfo, ProjectLoader loader, Guid sessionId, IDotNetCliService dotNetCli) in D:\a\1\s\src\OmniSharp.MSBuild\ProjectFile\ProjectFileInfo.cs:line 113 at OmniSharp.MSBuild.ProjectManager.<>c__DisplayClass31_0.<LoadProject>b__0() in D:\a\1\s\src\OmniSharp.MSBuild\ProjectManager.cs:line 302 at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject(String projectFilePath, Func
1 loader) in D:\a\1\s\src\OmniSharp.MSBuild\ProjectManager.cs:line 313
Attempted to update project that is not loaded: c:\Users\p\Downloads\Beckett\projects\testRC6pt3\testRC6pt3.csproj
Miscellaneous file: c:\Users\p\Downloads\Beckett\projects\testRC6pt3\Spatial.cs added to workspace`
The OmniSharp error is an upstream issue, see https://github.com/OmniSharp/omnisharp-vscode/issues/3063#issuecomment-678223360 for a workaround.
You should also install https://marketplace.visualstudio.com/items?itemName=neikeq.godot-csharp-vscode for C# in VSCode.
new scene3.cs(4,14): error CS1001: Identifier expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS1514: { expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS1513: } expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,14): error CS8803: Top-level statements must precede namespace and type declarations. [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1526: A new expression requires an argument list or (), [], or {} after type [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1002: ; expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,25): error CS1022: Type or namespace definition, or end-of-file expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(4,27): error CS0116: A namespace cannot directly contain members such as fields or methods [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(5,2): error CS1513: } expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj] new scene3.cs(21,1): error CS1022: Type or namespace definition, or end-of-file expected [C:\Users\p\Downloads\Beckett\projects\testRC6pt2\testRC6pt2.csproj]
This file is missing in the example project. Can you show us the content or attach an updated project?
Okay RC6 DotNetCli worked when I went online and nuget could connect. (I was offline before). Is there a way to get these components for offline use and not have to online when making a new project?
If the project is succesfully restored once when online, it should work fine offline the next time. I've also thought Godot could ship with the Sdk and create a local nuget source so that it works offline after you've downloaded Godot.
After updating Omnisharp in VSCode, it works. Projects created in 3.2.2 stable also run fine. Good work fellows.
Except... (This may be a vscode issue), when I create a new script in a new project created in RC6, VSCode will give an omnisharp error about .NET 4.7.2 missing (It's installed). This problem goes way after a few minutes though, strangely.
VSCode error panel log
Starting OmniSharp server at 13/9/2020, 12:25:16
Target: c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.sln
OmniSharp server started.
Path: c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\OmniSharp.exe
PID: 6348
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 16.8.0 - "c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to 'c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 16.8.0 - "c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin"
CscToolExe = csc.exe
CscToolPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin\Roslyn
MSBuildExtensionsPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild
MSBuildToolsPath = c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'c:\Users\p\Downloads\Beckett\projects\RC6-testA'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in 'c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'c:\Users\p\Downloads\Beckett\projects\RC6-testA'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.csproj
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'c:\Users\p\Downloads\Beckett\projects\RC6-testA' on host 3300.
[fail]: OmniSharp.MSBuild.ProjectLoader
The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.csproj'.
c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.csproj
c:\Users\p\.vscode-oss\extensions\ms-dotnettools.csharp-1.23.2\.omnisharp\1.37.1\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1178,5): Error: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: c:\Users\p\Downloads\Beckett\projects\RC6-testA\RC6-testing1.csproj
@rick551a Use triple backticks followed by a line break for multiline code blocks (```), not a single backtick.
VScode issue was solved by reinstalling .NET devpack 4.7. RC6 mono with DotNetCli works for me now.
As a side issue I was wondering if a step by step guide getting godot mono with VSCode is required. Seems like the steps to get it working are scattered around and should be codified for less-techy game designers. This could also reduce support requests overall, as Godot grows.
I would like that
warning : Unable to load the service index for source https://api.nuget.org/v3/index.json.
There seems to be some configuration or network issue on your system. Can you access https://api.nuget.org/v3/index.json from your browser?
You could check your
%appdata%\NuGet\NuGet.config
.Or try to create a
nuget.config
file in your project directory (next to the csproj and sln) with the following contents and see if that changes anything<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> </packageSources> </configuration>
Otherwise tou may find more possible solutions googling for
Unable to load the service index for source
.
This fixed my issue. I don't what happened, but my NuGet.Config file only had the closing tag for configuration and nothing else. Replaced it with what you had and it fixed my error.
My error was:
unable to resolve 'godot.net.sdk (= 3.3.0)' for '.netstandard,version=v0.0'.
I'll close this issue as it's fairly old and it seems to be mostly quirks of the .NET ecosystem with either Mono's MSBuild misbehaving or VSCode/OmniSharp issues. Still useful as documentation if anyone is running into the same issue, but I don't see actionables for us to solve (I might be wrong though).
I ran into this problem on a fresh windows 10 install, trying to use MSBuild tools 2019 and 2022. My fix was uninstalling MSBuild tools, uninstalling dot.net SDK 5.0, then installing dot.net SDK 3.1
nuget.config
this solves my problem.
I opened %appdata%\NuGet\NuGet.config
it was -
<?xml version="1.0" encoding="utf-8"?>
<configuration />
no after modifying it to -
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
It's start working.
Same issues with Mono's MSBuild misbehaving or VSCode/OmniSharp.
And all just to use mono to be able to use SSL with Godot.
Has there be any official update regarding this issue?
Godot 3.23 rc5
OS/device including version: Windows 10, x64 Nvidia 1650
Issue description: Using Mono build 6.60.1.66. Using VSCode. No Visual Studio installed. Everything worked in 3.2.2. Created new blank project using rc5. Using settings from working 3.2.2. mono. Clicked build. Got this error:
Steps to reproduce: Just create a new project with RC5. I am using the settings from the previous working build. Other projects I tested also don't build.
Minimal reproduction project:
test1.zip