handzlikchris / handzlikchris/FastScriptReload
Internal classes cannot be reloaded.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
If I am reading the history correctly, it seems like back in 2023 there was a fix to allow reloading internal classes. However, I am receiving "inaccessible due to its protection level" errors whenever I make a change to an internal class:
```
FSR: Error when updating files: 'HUDShipUpgradeButton.cs', System.Exception: Compiler failed to produce the assembly. Output: 'C:\Users\USER\AppData\Local\Temp\c9921ed0d75d4fee849e038c879c696c.SourceCodeCombined.cs(27,206): error CS0122: 'HUDUpgradeButton' is inaccessible due to its protection level
C:\Users\USER\AppData\Local\Temp\c9921ed0d75d4fee849e038c879c696c.SourceCodeCombined.cs(29,17): error CS0122: 'ShipUnitBehaviour' is inaccessible due to its protection level
C:\Users\USER\AppData\Local\Temp\c9921ed0d75d4fee849e038c879c696c.SourceCodeCombined.cs(31,18): error CS0122: 'ShipUnitBehaviour' is inaccessible due to its protection level'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.