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

This forum is meant for questions and discussions about the X# language and tools
Post Reply
steveferrandino
Posts: 33
Joined: Tue Jan 05, 2016 8:00 pm

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

Post 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
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

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

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
steveferrandino
Posts: 33
Joined: Tue Jan 05, 2016 8:00 pm

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

Post by steveferrandino »

Hi Robert,

Yup. That fixed it. Thanks!

SteveF
Post Reply