Fody / Costura

Embed references as resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autodesk Revit Plugin project don't load commands by AddinManager

opened this issue · comments

  • .NET Framework
  • WPF
  • UWP
  • iOS
  • Android
  • .NET Standard
  • .NET Core

Component

What component is this issue occurring in?
Don't load any command
image

Version of Library

5.7

Version of OS(s) listed above with issue

Windows 11

Steps to Reproduce

  1. using the package.
  2. to build the project.
  3. open Autodesk Revit(BIM Software) to test target commands.

Expected Behavior

Can load some commands.

Actual Behavior

Cannot load any command.

If you don't know how to build the demo, please tell me. I will send the demo.zip.

What makes you think this is an issue with Costura and not Autodesk?

Yeah. I think plugin project should not use it.

I think this is an interesting question. So, I want to update here. I need to do more test and thinking.

It sound like complaining about "if I hide my assemblies, no one can see them"

But that test project does not need to have some necessary dlls. I will test it today. Something happened yesterday, I forgot to test.

Are you sure the app domain has a reason to load the embedded assemblies? Check if they are being loaded into your appdomain. If not, consider using Fody.LoadAssembliesOnStartup.

Thank you! I will test it.

Are you sure the app domain has a reason to load the embedded assemblies? Check if they are being loaded into your appdomain. If not, consider using Fody.LoadAssembliesOnStartup.

I don’t know the operating mechanism of this plugin manager to load plugins. For safety, don’t merge dlls in projects involving plugins. Because the plugin manager may not give me any information prompts, so I don't know how to deal with it.

I think this is a RevitAPI problem, I will feedback the bug to Autodesk forum.
https://forums.autodesk.com/t5/revit-api-forum/using-fody-package-autodesk-revit-plugin-project-don-t-load/m-p/10795453