chuongmep / RevitAddInManager

Revit AddinManager update .NET assemblies without restart Revit for developer.
MIT License
314 stars 53 forks source link

File load is invalid #29

Closed a-littlecat closed 2 years ago

a-littlecat commented 2 years ago

Describe the bug Load DLL file display “File load is invalid”

To Reproduce

Expected behavior Click to load the selected file, and this prompt box will appear. DLL file address is"D:\03 其他\C#\revit\re_s_02\re_s_02\bin\Debug\net6.0\re_s_02.dll"

Screenshots image

Desktop (please complete the following information): win10 21H2 VS2022 .net 6.0 revit2020

chuongmep commented 2 years ago

Dear @a-littlecat, Revit not support dll build use NET6 origin now, only use .NET6 for apply Style SDK and select target framework is NET 4.8. https://github.com/chuongmep/RevitAddInManager/blob/9c3cc0fbd80acffcd2c7ad65f3045fc4d2404744/AddInManager/RevitAddinManager.csproj#L8

a-littlecat commented 2 years ago

Thank you for replying to this silly question. It has been solved. Because I just started, I don't understand a lot. ̄▽ ̄@chuongmep

chuongmep commented 2 years ago

Nice, i will close this issue.