xsharp.eu • Adding a reference to system.io.compression makes project unloadable?
Page 1 of 1

Adding a reference to system.io.compression makes project unloadable?

Posted: Tue Apr 03, 2018 8:48 pm
by steveferrandino
Hi,

Just getting started with X# and I have a project with a reference to system.io.compression and system.io.compression.FileSystem. Starting with X# 1.2 on VS 2017 v15.6.4 the x# project goes to "unloaded" status and throws a "object reference not set an instance of an object" error when I try to "reload project". I've worked around it by moving the class that uses system.io.compression to c#. Anyone else see this or am I just lucky?

SteveF

Adding a reference to system.io.compression makes project unloadable?

Posted: Tue Apr 03, 2018 9:01 pm
by robert
Steve,

This is a known issue and there is a fix.
- Goto the downloads on the website.
- Download XSharpmodel.zip
- unzip its contents to c:Program files (x86)XSharpExtensionProject (admin rights needed)
- run the deployvs2015.cmd and deployvs2017.cmd files in the c:program files (x86)XsharpUninst folder (as admin)

That should fix the problem.

Robert

Adding a reference to system.io.compression makes project unloadable?

Posted: Wed Apr 04, 2018 4:26 pm
by steveferrandino
Hi Robert,

Yup. That fixed it. Thanks!

SteveF