fbpx

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

More
9 months 2 weeks ago #1 by Steve Ferrandino
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

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #2 by Robert van der Hulst
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)\XSharp\Extension\Project (admin rights needed)
- run the deployvs2015.cmd and deployvs2017.cmd files in the c:\program files (x86)\Xsharp\Uninst folder (as admin)

That should fix the problem.

Robert

XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

More
9 months 1 week ago #3 by Steve Ferrandino
Hi Robert,

Yup. That fixed it. Thanks!

SteveF

Please Log in or Create an account to join the conversation.