Update Development

zervo 2024-11-15 14:59:35 +01:00
parent e0c1ca9b1a
commit b0a5746b6e

@ -16,4 +16,13 @@ Here are instructions for setting up your development environment.
**4.** Open the `Directory.Build.props` file located in your `DevDir` and change the path to your `ReferenceDir`. Can be relative or absolute.
**5.** Open your `DevDir` in your IDE and you're done! You have now set up your development environment.
**5.** Open your `DevDir` in your IDE and you're done! You have now set up your development environment.
## **Patching**
The patching process is explained in multiple of the websites linked in [Resources](https://git.zervo.org/zervo/SEB-Patcher/wiki/Resources).
If you are targeting a namespace with internal/protected classes, you need to publicize it first. This is done using a tool like [NStrip](https://github.com/bbepis/NStrip).
It essentially just creates a copy of the provided input file, with all classes/methods made public so that you can reference them in your solution.
An example of this in SEB is the SafeExamBrowser.Client namespace, however at the time of writing I am yet to actually create a patch for that class. Why? Because as soon as I modify it, the chromium browser (or maybe something else) within SEB seems to malfunction and just displays a white page without loading the exam. Being able to modify classes in this namespace could be very useful though, so any solution to this problem is greatly appreciated.