Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can't use InternalsVisibleTo to expose internal C# classes to Python code#2562

pbregener started this conversation inGeneral
Discussion options

My .NET class library has aninternal class that I want to use from Python.

I tried various variations ofInternalsVisibleTo on the C# end (had hoped that<InternalsVisibleTo Include="Python.Runtime" /> in the csproj would be enough), but cannot get it to work.

Once I change the class frominternal topublic it’s all working fine.
Is this expected/working as designed? Or is there a way to make internal objects accessible to Python code?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
1 participant
@pbregener
Converted from issue

This discussion was converted from issue #2560 on March 14, 2025 18:59.


[8]ページ先頭

©2009-2025 Movatter.jp