Skip to content

fix: load System.Security for DPAPI on .NET Framework Revit - #86

Open
Darjesley wants to merge 1 commit into
mcp-servers-for-revit:masterfrom
Darjesley:fix/dpapi-protecteddata-import
Open

Darjesley wants to merge 1 commit into
mcp-servers-for-revit:masterfrom
Darjesley:fix/dpapi-protecteddata-import

Conversation

@Darjesley

Copy link
Copy Markdown

On Revit 2024 (.NET Framework 4.8) a facade assembly named System.Security.Cryptography.ProtectedData can load without exposing ProtectedData, so the System.Security fallback never ran and every bridge request failed pairing with "Cannot import name ProtectedData". Reference both assemblies instead of either/or.

On Revit 2024 (.NET Framework 4.8) a facade assembly named
System.Security.Cryptography.ProtectedData can load without exposing
ProtectedData, so the System.Security fallback never ran and every
bridge request failed pairing with "Cannot import name ProtectedData".
Reference both assemblies instead of either/or.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant