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
Currently the internals of a game/library project cannot be consumed by the editor or unit test projects without the following attributes:
usingSystem.Runtime.CompilerServices;// Allows IDEs to compile.[assembly:InternalsVisibleTo("example.editor")][assembly:InternalsVisibleTo("example.unittest")]// Allows S&box to compile.[assembly:InternalsVisibleTo("package.local.example.editor")][assembly:InternalsVisibleTo("package.local.example.unittest")]
What should it be?
The source generation should just generate these for you if they do not exist already. The editor and unit test projects are supplementary to the main project so it makes sense that they should have access to internal functionality.
The text was updated successfully, but these errors were encountered:
What it is?
Currently the internals of a game/library project cannot be consumed by the editor or unit test projects without the following attributes:
What should it be?
The source generation should just generate these for you if they do not exist already. The editor and unit test projects are supplementary to the main project so it makes sense that they should have access to internal functionality.
The text was updated successfully, but these errors were encountered: