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
NS2003 Can not substitute for internal type. To substitute for internal type expose your type to DynamicProxyGenAssembly2 via [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
What should happen
No error. After all I can import and use it, this kind-of proves that this works.. Also the tests still execute.
The correction it suggests is also adding InternalsVisibleTo, but I already did that - it just suggests the C# code version.
STR
Have this in your
.csproj
What happens
The issue is you anyway get the error:
What should happen
No error. After all I can import and use it, this kind-of proves that this works.. Also the tests still execute.
The correction it suggests is also adding
InternalsVisibleTo
, but I already did that - it just suggests the C# code version.System
.NET 6
The text was updated successfully, but these errors were encountered: