Skip to content

Commit

Permalink
Merge pull request #64 from nunit/release-3.9.0
Browse files Browse the repository at this point in the history
Release 3.9.0
  • Loading branch information
CharliePoole authored Sep 27, 2021
2 parents e0ab8a7 + b5e4179 commit e61752a
Show file tree
Hide file tree
Showing 26 changed files with 146 additions and 255 deletions.
44 changes: 40 additions & 4 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
VS Project Loader Extension 3.8 - August 11, 2018
VS Project Loader Extension 3.9.0 - September 26, 2021

The major changes in this release are the addition of support for
SDK-style projects written in VB and F# and automatic use of the
SkipNonTestAssemblies option when loading a solution. In addition,
the build and release process has been entirely restructured and a
number of outstanding bugs have been fixed.

Feature

* 57 Add support for SDK-style VB and F# projects

Enhancement

* 62 Automatically skip non-test assemblies when a solution file is loaded

Bugs

* 23 Error when running with an x86 csproj
* 26 Support multi-targeting files
* 34 Unable to choose platform when passing solution file
* 37 Missing 'TargetFramework' property should not cause an Exception
* 38 NUnit3-console.exe unable to find dll when AppendTargetFrameworkToOutputPath is added to project
* 56 Project loader should return multiple platforms for each config

Build

* 35 Add functional tests to build
* 36 Automate the GitHub release process
* 39 Convert project to SDK format
* 40 Upgrade Cake to 1.2.0
* 43 Change default branch from master to main
* 44 Standardize build scripts for extensions
* 48 Reorganize / rename embedded resources for test cases
* 53 Run unit tests with NUnitLite

VS Project Loader Extension 3.8.0 - August 11, 2018

Miscellaneous bug fixes.

Expand All @@ -8,7 +44,7 @@ VS Project Loader Extension 3.8 - August 11, 2018
* 24 Fixes problem with projects containing duplicated sections
* 27 NUnit console run fails on asp.net core project file

VS Project Loader Extension 3.7 - November 18, 2017
VS Project Loader Extension 3.7.0 - November 18, 2017

Added support for new .csproj file format, and resolved issue with missing
optional project elements.
Expand All @@ -19,7 +55,7 @@ VS Project Loader Extension 3.7 - November 18, 2017
* 14 NullReferenceException when loading project file with missing AssemblyName/OutputType
* 16 vs-project-load does not find tests in csproj that use PackageReference instead of package.config

VS Project Loader Extension 3.6 - August 1, 2017
VS Project Loader Extension 3.6.0 - August 1, 2017

Fixes several packaging errors and adds a new chocolatey package. Runners and engines
installed under chocolatey will see and make use of this package.
Expand All @@ -30,7 +66,7 @@ VS Project Loader Extension 3.6 - August 1, 2017
* 7 No license file in NuGet package
* 8 Integrate chocolatey package in build script

VS Project Loader Extension 3.5 - October 6, 2016
VS Project Loader Extension 3.5.0 - October 6, 2016

The first independent release of the vs-project-loader extension.

Expand Down
37 changes: 37 additions & 0 deletions DraftRelease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## 3.9.0 (September 27, 2021)


As part of this release we had [16 issues](https://github.com/nunit/vs-project-loader/milestone/5?closed=1) closed.


__Feature__

- [__#57__](https://github.com/nunit/vs-project-loader/issues/57) Add support for SDK-style VB and F# projects

__Enhancement__

- [__#62__](https://github.com/nunit/vs-project-loader/issues/62) Automatically skip non-test assemblies when a solution file is loaded

__Bugs__

- [__#56__](https://github.com/nunit/vs-project-loader/issues/56) Project loader should return multiple platforms for each config
- [__#38__](https://github.com/nunit/vs-project-loader/issues/38) nunit3-console.exe unable to find dll when AppendTargetFrameworkToOutputPath is added to project
- [__#37__](https://github.com/nunit/vs-project-loader/issues/37) Missing 'TargetFramework' property should not cause an Exception
- [__#34__](https://github.com/nunit/vs-project-loader/issues/34) Unable to choose platform when passing solution file
- [__#26__](https://github.com/nunit/vs-project-loader/issues/26) Support multi-targeting files
- [__#23__](https://github.com/nunit/vs-project-loader/issues/23) Error when running with an x86 csproj

__Build__

- [__#53__](https://github.com/nunit/vs-project-loader/issues/53) Run unit tests with NUnitLite
- [__#48__](https://github.com/nunit/vs-project-loader/issues/48) Reorganize / rename embedded resources for test cases
- [__#44__](https://github.com/nunit/vs-project-loader/issues/44) Standardize build scripts for extensions
- [__#43__](https://github.com/nunit/vs-project-loader/issues/43) Change default branch from master to main
- [__#40__](https://github.com/nunit/vs-project-loader/issues/40) Upgrade Cake to 1.2.0
- [__#39__](https://github.com/nunit/vs-project-loader/issues/39) Convert project to SDK format
- [__#36__](https://github.com/nunit/vs-project-loader/issues/36) Automate the GitHub release process
- [__#35__](https://github.com/nunit/vs-project-loader/issues/35) Add functional tests to build

### Packages
There are two different packages available for the extension. <ul> <li>For a chocolatey install: `nunit-extension-nunit-v2-result-writer.3.9.0.nupkg` <li>For a nuget install: `NUnit.Extension.NUnitV2ResultWriter.3.9.0.nupkg` </ul> You may also download the extension from [chocolatey.org](https://chocolatey.org/packages/nunit-extension-nunit-v2-result-writer/) or [nuget.org](https://nuget.org/packages/NUnit.Extension.NUnitV2ResultWriter/).

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018 Charlie Poole
Copyright (c) 2008-2021 Charlie Poole

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Task("CreateDraftRelease")
// for both the name of the draft release and the milestone,
// i.e. release-2.0.0, release-2.0.0-beta2, etc.
string milestone = parameters.BranchName.Substring(8);
string releaseName = $"NUnit Project Loader Extension {milestone}";
string releaseName = $"Visual Studio Project Loader Extension {milestone}";
Information($"Creating draft release...");
Expand Down
2 changes: 1 addition & 1 deletion cake/packaging.cake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ static readonly string[] AUTHORS = new [] { "Charlie Poole" };
static readonly string[] OWNERS = new [] { "Charlie Poole" };
const string DESCRIPTION = "This extension allows NUnit to recognize and load solutions and projects in Visual Studio format. It supports files of type .sln, .csproj, .vbproj, .vjsproj, .vcproj and .fsproj.";
const string SUMMARY = "NUnit Engine extension for loading Visual Studio formatted projects.";
const string COPYRIGHT = "Copyright (c) 2018 Charlie Poole";
const string COPYRIGHT = "Copyright (c) 2008-2021 Charlie Poole";
static readonly string[] RELEASE_NOTES = new [] { "See https://raw.githubusercontent.com/nunit/vs-project-loader/main/CHANGES.txt" };
static readonly string[] TAGS = new [] { "nunit", "test", "testing", "tdd", "runner" };
static readonly Uri PROJECT_URL = new Uri("http://nunit.org");
Expand Down
7 changes: 6 additions & 1 deletion src/extension/LegacyCppHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.IO;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.IO;
using System.Xml;

namespace NUnit.Engine.Services.ProjectLoaders
Expand Down
7 changes: 6 additions & 1 deletion src/extension/LegacyProjectHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
using System.IO;
using System.Xml;

Expand Down
7 changes: 6 additions & 1 deletion src/extension/NonSdkProjectHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
Expand Down
2 changes: 1 addition & 1 deletion src/extension/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("vs-project-loader")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © Charlie Poole 2008-2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
7 changes: 6 additions & 1 deletion src/extension/SdkProjectHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
Expand Down
22 changes: 2 additions & 20 deletions src/extension/VSProject.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2002-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.Collections.Generic;
Expand Down
22 changes: 2 additions & 20 deletions src/extension/VSSolution.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.Collections.Generic;
Expand Down
22 changes: 2 additions & 20 deletions src/extension/VisualStudioProjectLoader.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2008-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
Expand Down
7 changes: 6 additions & 1 deletion src/extension/XmlExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
using System.Xml;

namespace System.Runtime.CompilerServices
Expand Down
22 changes: 2 additions & 20 deletions src/tests/LegacyProjectLoadTests.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2008-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.IO;
Expand Down
22 changes: 2 additions & 20 deletions src/tests/NonSdkProjectLoadTests.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2008-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.IO;
Expand Down
7 changes: 6 additions & 1 deletion src/tests/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using NUnitLite;
// ***********************************************************************
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using NUnitLite;

namespace NUnit.Engine.Tests
{
Expand Down
22 changes: 2 additions & 20 deletions src/tests/ProjectLoadTests.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2008-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System.Collections.Generic;
Expand Down
22 changes: 2 additions & 20 deletions src/tests/ProjectLoaderTests.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
// ***********************************************************************
// Copyright (c) 2008-2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// Copyright (c) Charlie Poole and contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************

using System;
Expand Down
Loading

0 comments on commit e61752a

Please sign in to comment.