System.IO.Compression - cannot resolve reference

Hello,

I am new to Fire. I am trying to reference System.IO.Compression via a use statement and an added reference to System.IO.Compression.dll.

The reference can be added to the project and the compile errors associated with the missing reference seem to disappear / correct themselves when the reference is added however the referenced appear with a red line and warning sign when made and the reference appears unresolved.

How can this be corrected?

To be clear i understand — the references show in Add References ok, and when you add them the project builds fine; the only problem is that inside the IDE, the reference shows as “not found” and struck out? I’ll look into that and aee what’s going on there…

Reproduced. The problem seems to be that the dll in the GAC, but it’s not in the core Mono/.NET 4.0 framework folder. The build seems to be more aggressive in also finding dlls in the GAC, while the IDE code apparently is not. We’ll investigate.

Thanks, logged as bugs://74459

Ok, turns out System.IO.Compression should never have been offered as Reference for a 4.0 app, only for 4.5. If you change the project to .NET 4.5, then System.IO.Compression will resolve ok. Fixing the Add Reference dialog to no longer show stuff from mismatched SDKs.

bugs://74459 got closed with status fixed.