vovgou / loxodon-framework

An MVVM & Databinding framework that can use C# and Lua to develop games
MIT License
1.89k stars 363 forks source link

Fody.MethodDecorator #47 #48

Closed Alex1234x closed 1 week ago

Alex1234x commented 1 month ago

Good afternoon.

I’m very sorry for my stupidity, but I can’t figure out this probably not complicated, but incomprehensible process for me.

I copied the files from your project and added the description from your project's manifest.json file to an empty new project. Now the folder structure of the project is completely empty and files have been added.

\Packages                                                                                                                                                                                                                                     
<DIR>   com.vovgou.loxodon-framework-fody
<DIR>   com.vovgou.loxodon-framework-fody-bindingproxy
<DIR>   com.vovgou.loxodon-framework-fody-propertychanged
<DIR>   com.vovgou.loxodon-framework-fody-tostring
    manifest.json
\Assets\LoxodonFramework\Editor\AppData
<DIR>   Fody
    Fody.meta

I want the MethodDecorator to work, for this I need to copy it somewhere and connect it somehow, like how I need to create and fill in FodyWeavers.xml I don't understand what exactly and where to copy from https://github.com/Fody/MethodDecorator/tree/master Please be so kind as to tell us in detail.

Loxodon Framework Fody1 Loxodon Framework Fody2 Loxodon Framework Fody3

Originally posted by @Alex1234x in https://github.com/vovgou/loxodon-framework/issues/47#issuecomment-2255887272

vovgou commented 1 month ago

The libraries you need are on https://www.nuget.org/. You should download them from nuget, and then refer to my project structure and put them into Unity's Packages directory.

Alex1234x commented 1 month ago

Hello. I'm install NuGet for Unity https://github.com/GlitchEnzo/NuGetForUnity NugetForUnity

Via this NuGet package manager i'm installed MethodDecorator.Fody MethodDecoratorFromNuGet

As a result, two folders appear in the project. Assets/Packages/Fody.6.2.0 Assets/Packages/MethodDecorator.Fody.1.1.1

MethodDecoratorInstalled

Did I do everything right? Is it okay that it turns out that Fody is installed twice - the one in your library and the one that was installed when you installed MethodDecorator? After all, your library already has Loxodon Framework Fody

And when running the test, it swears that The assembly has already been processed by Fody. Weaving aborted. Path: Library/ScriptAssemblies/Assembly-CSharp.dll Test LogMethodAttribute.cs.txt TestMonoBehaviour.cs.txt

Alex1234x commented 1 week ago

Unfortunately, I was never able to get this plugin to work together with your library. It's a pity that you don't want to help me in any way.

пн, 2 сент. 2024 г. в 09:07, Clark Yang @.***>:

Closed #48 https://github.com/vovgou/loxodon-framework/issues/48 as completed.

— Reply to this email directly, view it on GitHub https://github.com/vovgou/loxodon-framework/issues/48#event-14097968373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUFJGLELAKXDW4Z2BVATLTZUP6DLAVCNFSM6AAAAABLYNXXG6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGA4TOOJWHAZTOMY . You are receiving this because you authored the thread.Message ID: @.***>