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?
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.
XSharp Development Team