Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

Chage StatLight reference to Ionic Zip Reduce to specific verision #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

archnaut
Copy link

We started seeing an unhandled StatLight exception when attempting to run unit tests after an update to one of our project's binary references.

It appears that version 1.9.1.8 of Ionic Zip Reduce which is included with ReShaper 8.2.2 was being loaded by the test runner. This version no longer contains an overload of the Read method on the ZipFile that takes a byte array.

I changed the StatLight Core reference to specifically verison 1.9.1.5 of the Ionic Zip Reduce and set it to copy to output. Copying the contents of the output folder to the AgUnit folder in ReSharper Plugins directory seems to resolve the issue. The unhandled exception is no longer being thrown and and Process Explorer show that the 1.9.1.5 version of the Ionic Zip Reduce is being loaded.

I cannot explain why the update to one of our binary dependencies caused the unhandled exception when previously everything had been working fine.

I look forward to your comments and or questions.

@sdekock
Copy link
Owner

sdekock commented Jul 22, 2015

This doesn't look right. Are you sure the hint paths in the AgUnit .csproj's are needed? Even then, these relative paths are depandant on where you checked it out.

The references should be already be picked up based on the reference path setting. This is always correct even if you install resharper on another drive:
$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\JetBrains\ReSharper\v8.2\vs11.0@InstallDir)

I'm probably not going to find the time to investigate this further. AgUnit is virtually dead (I'm not doing any Silverlight anymore). And the founder of StatLight (Jason Jarrett) already confirmed his project is dead too.

@archnaut
Copy link
Author

Ok, thanks for the reply.

On Wed, Jul 22, 2015, 12:54 PM Steven De Kock [email protected]
wrote:

This doesn't look right. Are you sure the hint paths in the AgUnit
.csproj's are needed? Even then, these relative paths are depandant on
where you checked it out.

The references should be already be picked up based on the reference path
setting. This is always correct even if you install resharper on another
drive:

$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\JetBrains\ReSharper\v8.2\vs11.0@InstallDir
)

I'm probably not going to find the time to investigate this further.
AgUnit is virtually dead (I'm not doing any Silverlight anymore). And the
founder of StatLight (Jason Jarrett) already confirmed his project is dead
too.


Reply to this email directly or view it on GitHub
#10 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants