Could not load file or assembly
chuongmep opened this issue · 2 comments
chuongmep commented
Describe the bug
System.IO.FileLoadException: Could not load file or assembly 'License, Version=1.1.8.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An argument was out of its legal range. (Exception from HRESULT: 0x80131502)
May be problem come from
To Reproduce
Steps to reproduce the behavior:
- Load Assembly
- Click Select Class Name in Assembly
- Click Run Button
- See error
Expected behavior
Assembly will be load to project
Desktop (please complete the following information):
- OS: Windows 10
- Version 20H2
chuongmep commented
Problem involve with .NET6, see example in here : https://github.com/chuongmep/NET6rRevitAPI