You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interactive window (or, rather, Roslyn's Scripting API) generates a new assembly with a different name for every submission. For example, note the different suffixes 1-1 and 1-2 with these two consecutive submissions:
We do have a work item on a backlog to introduce #r! "myassembly.dll" that allows you to add a reference to an assembly in REPL and skip visibility checks at all use sites accessing internal members of that assembly.
How could you have access to our internal class of my assembly in C# Interactive Window ?
I tried with the following assembly attribute, but I don't know which assembly to reference:
[assembly: InternalsVisibleTo("...")]
Thanks
The text was updated successfully, but these errors were encountered: