DefenseShields and other mods fail to compile on DedicatedServer

Shane Stixrud shared this bug 30 days ago
Considered

With the recent update DefenseShields and multiple other mods are failing to compile on dedicated server with the following error:

2019-08-22 19:28:50.012 - Thread: 7 -> MOD_ERROR: Defense Shields - v1.9(63)2019-08-22 19:28:50.012 - Thread: 7 -> in file: 2019-08-22 19:28:50.012 - Thread: 7 -> Compilation of C:\ProgramData\SpaceEngineersDedicated\test\Mods\1365616918.sbm_DefenseShields failed:2019-08-22 19:28:50.012 - Thread: 7 -> MOD_ERROR: Defense Shields - v1.9(63)2019-08-22 19:28:50.012 - Thread: 7 -> in file: 2019-08-22 19:28:50.012 - Thread: 7 -> (1,0): Error: Error writing to XML documentation file: Value must be positive.Parameter name: count

Comments (9)

photo
2

Looks like they downgraded the compiler to C# 6 or something with this update. C# 7 features that have been supported for ages, like support for expression-bodied properties and pattern matching (like if (shape is Square s)), suddenly no longer compile.

photo
2

Zach that isn't related to this issue.

photo
1

It might not be directly related to the stack trace posted, but you're talking about mods failing to compile, and that's a big contributing factor in this update.

photo
1

Edit: nvm

photo
1

I must not have gotten the fix yet; I'm still getting it.


Edit: I stripped out all the C# 7 stuff from Build Vision and everything started working again clientside, but it's still producing the error above in the DS logs. I guess they are separate problems.

photo
photo
1

Hello, Engineer!


Thank you for your feedback! Yourtopic has been added between considered issues.

Please keep voting for the issue asit will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

Excsue me, i know this is off- topice but can we get some information about locked armor skins even thought dlcs are bought?

photo
1

I hope this issue gets resolved quickly. Lots of mods got broken in the last update. :(

photo
1

Numerous "Error: The type or member 'blah-blah' is prohibited" for every scripted mod

photo