We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有人遇到这个问题吗?一点生成代码就这样:System.lO.FileNotFoundException: 未能加载文件或程序集'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken= b03f5f7f11d50a3a "或它的某一 个依赖项。系统找不到指定的文件。
The text was updated successfully, but these errors were encountered:
What version of Revit are you using? And when does this exception occur?
Sorry, something went wrong.
revit 2021,
So it looks like there is some incompatibility between some of System.Text.Json dependencies and some of the dependencies of Revit.
I am pretty sure that I have made it work in the past, it is interesting that this problem has come back.
As a quick workaround, you can edit Revit.exe.config file which is placed right next to Revit.exe and add to it:
Revit.exe.config
Revit.exe
<dependentAssembly> <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> </dependentAssembly>
fix for #24 - System.lO.FileNotFoundException:
a12f6db
No branches or pull requests
有人遇到这个问题吗?一点生成代码就这样:System.lO.FileNotFoundException:
未能加载文件或程序集'System.Runtime.CompilerServices.Unsafe,
Version=4.0.4.1, Culture=neutral, PublicKeyToken= b03f5f7f11d50a3a
"或它的某一 个依赖项。系统找不到指定的文件。
The text was updated successfully, but these errors were encountered: