-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi there, first of all thank you for creating this crucial project that enables everyone to actually use Godot for professional large scale applications.
To keep things short, I cannot activate the plugin nor can I find it in the AssetLib.
Here the Error Message from within Godot 4.1-AssetLib when clicking "Activate":
"Extension script at the following path could not be loaded: 'res://addons/GodotXUnit/Plugin.cs'. There appears to be an error in its source code.
The extension 'res://addons/GodotXUnit/plugin.cfg' will be disabled to prevent further errors."
Steps to Reproduce:
I am using Godot Engine 4.1 and Visual Studio 2022 Professional
-
Go to AssetLib tab and search for GodotXUnit and Install project. Don't enable yet.
-
But there is no GodotXUnit in the AssetLib for Godot 4.1 it seems (?) I cannot find it there

So I tried to download the Godot Zip from the Github Project Master branch instead and use "import[ieren]" to import the zip.

-
but it is not visible in the "installed addons" ("Installierte Erweiterungen" in german) Tab.

-
So instead I copied it manually into a "res://addons/GodotXUnit" folder (I created the addons folder and pasted the GodotXUnit folder).
-
I opened my Connect-A-Pic.csproj file and added GodotTestRunner.cs Plugins.cs and XUnitDock.cs

-
I ran the nuget restore command and it claimed to generate stuff and write an asset file project.asset.json and do other things

-
I added the ProjectReference of GodotXUnitApi.csproj to my main project as well

-
I started Visual Studio
-
I had to manually remove the folder "addons" from my VS-Project in Visual studio due to a lot of build errors.
-
but then the compilation worked fine having this project structure now

-
and now as I go back to the godot Engine, I get the Error
"Extension script at the following path could not be loaded: 'res://addons/GodotXUnit/Plugin.cs'. There appears to be an error in its source code.
The extension 'res://addons/GodotXUnit/plugin.cfg' will be disabled to prevent further errors."
What did I do wrong? or is it currently not compatible?


