Packaging problems

Bug #1061957 reported by Charlie Poole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
Critical
Charlie Poole

Bug Description

I'm retitling and expanding this bug to cover a number of issues in the package script.

1. Handling of .NET 4.5 tests (see original description below)

2. Missing scripts: None of the scripts needed to build or package NUnit under NAnt are included in the source package. This is due to the change in NUnit 2.6, whereby the nant scripts were moved to a sub-directory and shell scripts were added in the root.

3. Missing nuspec files - used for building the NuGet packages

4. Missing VS2012 solution

5. Changes made to the samples are not reflected in the scripts, so samples do not build or package correctly.

ORIGINAL BUG DESCRIPTION:

When packaging for release, the .NET 4.5 tests should be included. However, if the user doesn't have .NET 4.5 installed, or isn't running the tests under 4.5, they should not be run. This can't be done with an attribute, since that would require loading the assembly, which will fail if the user doesn't have .NET 4.0 or 4.5 installed.

There seem to be two choices:
1) Keep these tests separatefrom the NUnitTests.nunit project file
2) Use a separate config when .NEt 4.5 is installed.

Related branches

Changed in nunitv2:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.6.2
Changed in nunitv2:
assignee: nobody → Charlie Poole (charlie.poole)
description: updated
summary: - Include .NET 4.5 tests in package correctly
+ Packaging problems
Changed in nunitv2:
importance: High → Critical
description: updated
Changed in nunitv2:
status: Triaged → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.