Skip to content

Added csproj and sln to final example#5

Open
VPeruS wants to merge 1 commit into
microsoft:mainfrom
VPeruS:add-sln
Open

Added csproj and sln to final example#5
VPeruS wants to merge 1 commit into
microsoft:mainfrom
VPeruS:add-sln

Conversation

@VPeruS
Copy link
Copy Markdown

@VPeruS VPeruS commented May 12, 2026

Unable to run final project without those files.

@VPeruS
Copy link
Copy Markdown
Author

VPeruS commented May 12, 2026

@microsoft-github-policy-service agree

@DrCoolzic
Copy link
Copy Markdown

DrCoolzic commented May 15, 2026

Thanks. Actually this apply not only to final project but to all the code provided for the different episodes.

None of them works directly without sln/csproj. You always have this type of error

E 0:00:01:210   can_instantiate: Cannot instantiate C# script because the associated class could not be found. Script: 'res://Scripting/Player/Player.cs'. Make sure the script exists and contains a class definition with a name that matches the filename of the script exactly (it's case-sensitive).
  <C++ Error>   Method/function failed. Returning: false
  <C++ Source>  modules/mono/csharp_script.cpp:2360 @ can_instantiate()

I am glad you provided this information as I was stuck

Edit: Actually I found a workaround to generate the sln & csproj files: Just create a dummy new c# script :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants