I'm getting these errors while just building a sample scene for HoloLens 2 emulator.
Also, if I build with .net scripting back-end it builds successful but the app crashes immediately.
We have identified an issue with the November update that causes the issue you're seeing. Please use the October update, which you can download from https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator. You do not need to uninstall the November update, but when targeting the emulator in Visual Studio, please set the target build to 10.0.18362.1034.