You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Alexander Dove (JIRA)" <ji...@apache.org> on 2016/10/27 01:26:59 UTC
[jira] [Updated] (AMQ-6487) Apache.NMS.ActiveMQ doesn't reference
Ionic.Zlib as a nuget dependency
[ https://issues.apache.org/jira/browse/AMQ-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Dove updated AMQ-6487:
--------------------------------
Description:
As a consumer of Apache.NMS.ActiveMQ, I receive a warning when running tests through MSTest or dotCover that says 'Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container'
This is caused by the fact that this library doesn't include Ionic.Zlib as a nuget dependency (only as a solution dependency).
h4.Repro
# Create a C# solution with visual studio that contains a UnitTest project that references Apache.NMS.ActiveMQ (the nuget package)
# Note that the solution builds as expected with the package
# Attempt to build the solution and run the tests via mstest (something like this as an MSBuild step '<Exec IgnoreExitCode="true" ContinueOnError="true" Command=""$(MSTestPath)" /detail:errormessage /detail:errorstacktrace /testcontainer:".\FooUnitTests\bin\Debug\FooUnitTests.dll" /resultsfile:.\TestResults.trx"/>'
h4. Expected
Build completes and unit tests are run without warning
h4. Actual
Build completes and unit tests are run with the following warning:
Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container 'C:\dev\scaffolds\pf-scaffold\
generators\endpoint\templates\test\FooUnitTests\bin\Debug\FooUnitTests.dll' was not found
was:
As a consumer of Apache.NMS.ActiveMQ, I receive a warning when running tests through MSTest or dotCover that says 'Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container'
This is caused by the fact that this library doesn't include Ionic.Zlib as a dependency.
h4.Repro
# Create a C# solution with visual studio that contains a UnitTest project that references Apache.NMS.ActiveMQ (the nuget package)
# Note that the solution builds as expected with the package
# Attempt to build the solution and run the tests via mstest (something like this as an MSBuild step '<Exec IgnoreExitCode="true" ContinueOnError="true" Command=""$(MSTestPath)" /detail:errormessage /detail:errorstacktrace /testcontainer:".\FooUnitTests\bin\Debug\FooUnitTests.dll" /resultsfile:.\TestResults.trx"/>'
h4. Expected
Build completes and unit tests are run without warning
h4. Actual
Build completes and unit tests are run with the following warning:
Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container 'C:\dev\scaffolds\pf-scaffold\
generators\endpoint\templates\test\FooUnitTests\bin\Debug\FooUnitTests.dll' was not found
> Apache.NMS.ActiveMQ doesn't reference Ionic.Zlib as a nuget dependency
> ----------------------------------------------------------------------
>
> Key: AMQ-6487
> URL: https://issues.apache.org/jira/browse/AMQ-6487
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Alexander Dove
>
> As a consumer of Apache.NMS.ActiveMQ, I receive a warning when running tests through MSTest or dotCover that says 'Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container'
> This is caused by the fact that this library doesn't include Ionic.Zlib as a nuget dependency (only as a solution dependency).
> h4.Repro
> # Create a C# solution with visual studio that contains a UnitTest project that references Apache.NMS.ActiveMQ (the nuget package)
> # Note that the solution builds as expected with the package
> # Attempt to build the solution and run the tests via mstest (something like this as an MSBuild step '<Exec IgnoreExitCode="true" ContinueOnError="true" Command=""$(MSTestPath)" /detail:errormessage /detail:errorstacktrace /testcontainer:".\FooUnitTests\bin\Debug\FooUnitTests.dll" /resultsfile:.\TestResults.trx"/>'
> h4. Expected
> Build completes and unit tests are run without warning
> h4. Actual
> Build completes and unit tests are run with the following warning:
> Test Run deployment issue: The assembly or module 'Ionic.Zlib' directly or indirectly referenced by the test container 'C:\dev\scaffolds\pf-scaffold\
> generators\endpoint\templates\test\FooUnitTests\bin\Debug\FooUnitTests.dll' was not found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)