Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate hang due to TcpListener thread #1230

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1f9eb7e
Recognize .NET 7 when installed
CharliePoole Jun 29, 2022
9b1284d
Update global.json
CharliePoole Jun 30, 2022
a1bfef7
Merge pull request #1197 from nunit/issue-1193
CharliePoole Jun 30, 2022
7dc0f03
Create dev release when merging into version3 branch
CharliePoole Jun 30, 2022
f2564da
Merge pull request #1198 from nunit/issue-1196
CharliePoole Jun 30, 2022
e868668
Temporarily suppress publication step
CharliePoole Jun 30, 2022
1814fda
Ensure that agent path is quoted when launching it
CharliePoole Aug 10, 2022
a55acb3
Merge pull request #1207 from nunit/issue-1206
CharliePoole Aug 11, 2022
aa6e34e
(Re)Fix issue 1178
CharliePoole Sep 11, 2022
80f67d0
Merge pull request #1213 from nunit/issue-1178
CharliePoole Sep 11, 2022
780dc6a
Re-enable publish target commented out prviously
CharliePoole Sep 12, 2022
692a691
Add .NET 7.0 Agent
CharliePoole Sep 18, 2022
1ddaab4
Install .NET 7.0 RC in AppVeyor
CharliePoole Sep 18, 2022
4ef2373
Fix error in appveyor.yml
CharliePoole Sep 18, 2022
abb4994
Don't run .Net 7.0 package tests for now
CharliePoole Sep 19, 2022
b82f2a7
Merge pull request #1220 from nunit/issue-1216b
CharliePoole Sep 19, 2022
2bb2c7c
Use registry to find Windows install directory
CharliePoole Sep 22, 2022
0d452f7
Display dotnet info in AppVeyor build
CharliePoole Sep 22, 2022
ad1c826
Split net core framework location functionality into a separate class
CharliePoole Sep 22, 2022
aa4c43a
Recognize support for .NET core runtimes installed in path
CharliePoole Sep 23, 2022
f54da34
Re-enable package test under .NET 7.0
CharliePoole Sep 23, 2022
0409a61
Merge pull request #1222 from nunit/issue-941
CharliePoole Sep 23, 2022
b7f5ca4
Don't throw when an unknown / unsupported runtime is installed
CharliePoole Sep 24, 2022
d59982b
Merge pull request #1226 from nunit/issue-1223
CharliePoole Sep 25, 2022
19d0bed
Include netcore 3.1 build in engine package once again
CharliePoole Sep 25, 2022
9ad9140
Merge pull request #1228 from nunit/issue-1225
CharliePoole Sep 25, 2022
eb7428c
Install net 7.0
CharliePoole Sep 25, 2022
fa0c761
Merge pull request #1229 from nunit/azure-net70
CharliePoole Sep 25, 2022
4141251
Add Tests of TcpServer
CharliePoole Sep 30, 2022
a31f520
Make TCP Listener thread a background thread
CharliePoole Oct 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions NUnitConsole.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29728.190
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{49D441DF-39FD-4F4D-AECA-86CF8EFE23AF}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
src\Directory.Build.props = src\Directory.Build.props
GitReleaseManager.yaml = GitReleaseManager.yaml
GitVersion.yml = GitVersion.yml
global.json = global.json
header-check.cake = header-check.cake
LICENSE.txt = LICENSE.txt
NetFXTests.nunit = NetFXTests.nunit
Expand Down
14 changes: 14 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ branches:
except:
- /^azure-/

install:
- ps: $urlNet70RC = "https://download.visualstudio.microsoft.com/download/pr/b3b5dce4-d810-4477-a8a3-97cbb0bdf3ea/91d0dd167239cfdfb48ae18166f444d4/dotnet-sdk-7.0.100-rc.1.22431.12-win-x64.zip"
- ps: echo "Download from $urlNet70RC"
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: echo "Created directory $env:DOTNET_INSTALL_DIR"
- ps: echo "Starting download"
- ps: $tempFileNet70RC = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
- ps: (New-Object System.Net.WebClient).DownloadFile($urlNet70RC, $tempFileNet70RC)
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileNet70RC, $env:DOTNET_INSTALL_DIR)
- ps: echo "Download complete"
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

build_script:
- ps: .\build.ps1 --target=Appveyor --configuration=Release

Expand Down
18 changes: 18 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:

steps:

- task: UseDotNet@2
displayName: 'Install .NET 7.0'
inputs:
version: 7.x
includePreviewVersions: true

- task: UseDotNet@2
displayName: 'Install .NET 6.0'
inputs:
Expand Down Expand Up @@ -69,6 +75,12 @@ jobs:
vmImage: ubuntu-20.04
steps:

- task: UseDotNet@2
displayName: 'Install .NET 7.0'
inputs:
version: 7.x
includePreviewVersions: true

- task: UseDotNet@2
displayName: 'Install .NET 6.0'
inputs:
Expand Down Expand Up @@ -118,6 +130,12 @@ jobs:
vmImage: macOS-11
steps:

- task: UseDotNet@2
displayName: 'Install .NET 7.0'
inputs:
version: 7.x
includePreviewVersions: true

- task: UseDotNet@2
displayName: 'Install .NET 6.0'
inputs:
Expand Down
43 changes: 32 additions & 11 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,25 @@ public void BuildSolution()
.WithProperty("TargetFramework", "netstandard2.0")
.WithProperty("PublishDir", BIN_DIR + "netstandard2.0"));

DisplayBanner("Publishing ENGINE Project for NETSTANDARD2.0");
MSBuild(ENGINE_PROJECT, CreateMSBuildSettings("Publish")
.WithProperty("TargetFramework", "netstandard2.0")
.WithProperty("PublishDir", BIN_DIR + "netstandard2.0"));
DisplayBanner("Publishing ENGINE Project");
foreach (var framework in new[] { "netstandard2.0", "netcoreapp3.1" })
MSBuild(ENGINE_PROJECT, CreateMSBuildSettings("Publish")
.WithProperty("TargetFramework", framework)
.WithProperty("PublishDir", BIN_DIR + framework));

DisplayBanner("Publishing ENGINE TESTS Project for NETCOREAPP2.1");
MSBuild(ENGINE_TESTS_PROJECT, CreateMSBuildSettings("Publish")
.WithProperty("TargetFramework", "netcoreapp2.1")
.WithProperty("PublishDir", BIN_DIR + "netcoreapp2.1"));
DisplayBanner("Publishing ENGINE TESTS Project");
foreach (var framework in new[] { "netcoreapp2.1", "netcoreapp3.1" })
MSBuild(ENGINE_TESTS_PROJECT, CreateMSBuildSettings("Publish")
.WithProperty("TargetFramework", framework)
.WithProperty("PublishDir", BIN_DIR + framework));

DisplayBanner("Publishing MOCK ASSEMBLY Project for NET7.0");
MSBuild(MOCK_ASSEMBLY_PROJECT, CreateMSBuildSettings("Publish")
.WithProperty("TargetFramework", "net7.0")
.WithProperty("PublishDir", BIN_DIR + "net7.0"));

// TODO: May not be needed
foreach (var framework in new[] { "netcoreapp3.1", "net5.0" })
foreach (var framework in new[] { "netcoreapp3.1", "net5.0", "net7.0" })
{
DisplayBanner($"Publishing AGENT Project for {framework.ToUpper()}");
MSBuild(AGENT_PROJECT, CreateMSBuildSettings("Publish")
Expand All @@ -138,7 +145,7 @@ private void BuildEachProjectSeparately()
BuildProject(AGENT_PROJECT);
BuildProject(AGENT_X86_PROJECT);

BuildProject(ENGINE_TESTS_PROJECT, "net35", "netcoreapp2.1");
BuildProject(ENGINE_TESTS_PROJECT, "net35", "netcoreapp2.1", "netcoreapp3.1");
BuildProject(ENGINE_CORE_TESTS_PROJECT, "net35", "netcoreapp2.1", "netcoreapp3.1", "net5.0", "net6.0");
BuildProject(CONSOLE_TESTS_PROJECT, "net35", "net6.0");

Expand Down Expand Up @@ -305,6 +312,19 @@ Task("TestNetStandard20Engine")
RunDotnetNUnitLiteTests(NETCORE_ENGINE_TESTS, "netcoreapp2.1");
});

//////////////////////////////////////////////////////////////////////
// TEST NETCORE 3.1 ENGINE
//////////////////////////////////////////////////////////////////////

Task("TestNetCore31Engine")
.Description("Tests the .NET Core 3.1 Engine")
.IsDependentOn("Build")
.OnError(exception => { UnreportedErrors.Add(exception.Message); })
.Does(() =>
{
RunDotnetNUnitLiteTests(NETCORE_ENGINE_TESTS, "netcoreapp3.1");
});

//////////////////////////////////////////////////////////////////////
// TEST .NET 2.0 CONSOLE
//////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -739,7 +759,8 @@ Task("TestEngineCore")
Task("TestEngine")
.Description("Builds and tests the engine assembly")
.IsDependentOn("TestNet20Engine")
.IsDependentOn("TestNetStandard20Engine");
.IsDependentOn("TestNetStandard20Engine")
.IsDependentOn("TestNetCore31Engine");

Task("Test")
.Description("Builds and tests the engine and console runner")
Expand Down
21 changes: 17 additions & 4 deletions cake/package-definitions.cake
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public void InitializePackageDefinitions(ICakeContext context)
NetCore31Test,
Net50Test,
Net60Test,
Net70Test,
NetCore21PlusNetCore31Test,
NetCore21PlusNetCore31PlusNet50PlusNet60Test,
Net40PlusNet60Test
Expand Down Expand Up @@ -71,15 +72,17 @@ public void InitializePackageDefinitions(ICakeContext context)
HasDirectory("tools/agents/net40").WithFiles(AGENT_FILES).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/netcoreapp3.1").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net5.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins")
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net7.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins")
},
symbols: new PackageCheck[] {
HasDirectory("tools").WithFiles(ENGINE_PDB_FILES).AndFile("nunit3-console.pdb"),
HasDirectory("tools/agents/net20").WithFiles(AGENT_PDB_FILES),
HasDirectory("tools/agents/net40").WithFiles(AGENT_PDB_FILES),
HasDirectory("tools/agents/netcoreapp3.1").WithFiles(AGENT_PDB_FILES_NETCORE),
HasDirectory("tools/agents/net5.0").WithFiles(AGENT_PDB_FILES_NETCORE),
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_PDB_FILES_NETCORE)
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_PDB_FILES_NETCORE),
HasDirectory("tools/agents/net7.0").WithFiles(AGENT_PDB_FILES_NETCORE)
},
executable: "tools/nunit3-console.exe",
tests: StandardRunnerTests),
Expand Down Expand Up @@ -110,7 +113,8 @@ public void InitializePackageDefinitions(ICakeContext context)
HasDirectory("tools/agents/net40").WithFiles(AGENT_FILES).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/netcoreapp3.1").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net5.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins")
HasDirectory("tools/agents/net6.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins"),
HasDirectory("tools/agents/net7.0").WithFiles(AGENT_FILES_NETCORE).AndFile("nunit.agent.addins")
},
executable: "tools/nunit3-console.exe",
tests: StandardRunnerTests),
Expand All @@ -123,6 +127,12 @@ public void InitializePackageDefinitions(ICakeContext context)
checks: new PackageCheck[] {
HasDirectory("NUnit.org").WithFiles("LICENSE.txt", "NOTICES.txt", "nunit.ico"),
HasDirectory("NUnit.org/nunit-console").WithFiles(CONSOLE_FILES).AndFiles(ENGINE_FILES).AndFile("nunit.bundle.addins"),
HasDirectory("NUnit.org/nunit-console/agents/net20").WithFiles("nunit-agent.exe", "nunit-agent.exe.config"),
HasDirectory("NUnit.org/nunit-console/agents/net40").WithFiles("nunit-agent.exe", "nunit-agent.exe.config"),
HasDirectory("NUnit.org/nunit-console/agents/netcoreapp3.1").WithFile("nunit-agent.dll"),
HasDirectory("NUnit.org/nunit-console/agents/net5.0").WithFile("nunit-agent.dll"),
HasDirectory("NUnit.org/nunit-console/agents/net6.0").WithFile("nunit-agent.dll"),
//HasDirectory("NUnit.org/nunit-console/agents/net7.0").WithFile("nunit-agent.dll"),
HasDirectory("Nunit.org/nunit-console/addins").WithFiles("nunit.core.dll", "nunit.core.interfaces.dll", "nunit.v2.driver.dll", "nunit-project-loader.dll", "vs-project-loader.dll", "nunit-v2-result-writer.dll", "teamcity-event-listener.dll")
},
executable: "NUnit.org/nunit-console/nunit3-console.exe",
Expand All @@ -139,7 +149,7 @@ public void InitializePackageDefinitions(ICakeContext context)
HasDirectory("bin/net35").WithFiles(CONSOLE_FILES).AndFiles(ENGINE_FILES).AndFile("nunit3-console.pdb").AndFiles(ENGINE_PDB_FILES),
HasDirectory("bin/netstandard2.0").WithFiles(ENGINE_FILES).AndFiles(ENGINE_PDB_FILES),
HasDirectory("bin/netcoreapp2.1").WithFiles(ENGINE_FILES).AndFiles(ENGINE_PDB_FILES),
HasDirectory("bin/netcoreapp3.1").WithFiles(ENGINE_CORE_FILES).AndFiles(ENGINE_CORE_PDB_FILES),
HasDirectory("bin/netcoreapp3.1").WithFiles(ENGINE_FILES).AndFiles(ENGINE_PDB_FILES),
//HasDirectory("bin/net5.0").WithFiles(ENGINE_FILES).AndFiles(ENGINE_PDB_FILES),
HasDirectory("bin/agents/net20").WithFiles(AGENT_FILES).AndFiles(AGENT_PDB_FILES),
HasDirectory("bin/agents/net40").WithFiles(AGENT_FILES).AndFiles(AGENT_PDB_FILES),
Expand All @@ -160,14 +170,17 @@ public void InitializePackageDefinitions(ICakeContext context)
HasFiles("LICENSE.txt", "NOTICES.txt"),
HasDirectory("lib/net20").WithFiles(ENGINE_FILES),
HasDirectory("lib/netstandard2.0").WithFiles(ENGINE_FILES),
HasDirectory("lib/netcoreapp3.1").WithFiles(ENGINE_FILES),
HasDirectory("contentFiles/any/lib/net20").WithFile("nunit.engine.nuget.addins"),
HasDirectory("contentFiles/any/lib/netstandard2.0").WithFile("nunit.engine.nuget.addins"),
HasDirectory("contentFiles/any/lib/netcoreapp3.1").WithFile("nunit.engine.nuget.addins"),
HasDirectory("contentFiles/any/agents/net20").WithFiles(AGENT_FILES).AndFile("nunit.agent.addins"),
HasDirectory("contentFiles/any/agents/net40").WithFiles(AGENT_FILES).AndFile("nunit.agent.addins")
},
symbols: new PackageCheck[] {
HasDirectory("lib/net20").WithFiles(ENGINE_PDB_FILES),
HasDirectory("lib/netstandard2.0").WithFiles(ENGINE_PDB_FILES),
HasDirectory("lib/netcoreapp3.1").WithFiles(ENGINE_PDB_FILES),
HasDirectory("contentFiles/any/agents/net20").WithFiles(AGENT_PDB_FILES),
HasDirectory("contentFiles/any/agents/net40").WithFiles(AGENT_PDB_FILES)
}),
Expand Down
6 changes: 6 additions & 0 deletions cake/package-tests.cake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ static PackageTest Net60Test = new PackageTest(
"net6.0/mock-assembly.dll",
MockAssemblyExpectedResult(1));

static PackageTest Net70Test = new PackageTest(
"Net70Test",
"Run mock-assembly.dll under .NET 7.0",
"net7.0/mock-assembly.dll",
MockAssemblyExpectedResult(1));

static PackageTest Net50Test = new PackageTest(
"Net50Test",
"Run mock-assembly.dll under .NET 5.0",
Expand Down
4 changes: 4 additions & 0 deletions cake/versioning.cake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public class BuildVersion

string branchName = _gitVersion.BranchName;

// Treat version3 branch as an alternate "main"
if (branchName == "version3")
label = "dev";

// We don't currently use this pattern, but check in case we do later.
if (branchName.StartsWith("feature/"))
branchName = branchName.Substring(8);
Expand Down
10 changes: 10 additions & 0 deletions choco/nunit-console-runner.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,15 @@
<file src = "$BIN_DIR$agents/net6.0/nunit.engine.core.dll" target="tools/agents/net6.0" />
<file src = "$BIN_DIR$agents/net6.0/testcentric.engine.metadata.dll" target="tools/agents/net6.0" />
<file src = "nunit.agent.addins" target = "tools/agents/net6.0" />

<file src = "$BIN_DIR$agents/net7.0/nunit-agent.dll" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit-agent.dll.config" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit-agent.deps.json" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit-agent.runtimeconfig.json" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit.engine.api.dll" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit.engine.api.xml" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/nunit.engine.core.dll" target="tools/agents/net7.0" />
<file src = "$BIN_DIR$agents/net7.0/testcentric.engine.metadata.dll" target="tools/agents/net7.0" />
<file src = "nunit.agent.addins" target = "tools/agents/net7.0" />
</files>
</package>
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.101",
"rollForward": "patch"
"version": "7.0.100-rc.1.22431.12",
"rollForward": "feature"
}
}
30 changes: 30 additions & 0 deletions msi/nunit/engine-files.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<ComponentGroupRef Id="NETCORE31_AGENT" />
<ComponentGroupRef Id="NET50_AGENT" />
<ComponentGroupRef Id="NET60_AGENT" />
<ComponentGroupRef Id="NET70_AGENT" />
</ComponentGroup>
</Fragment>
<Fragment>
Expand Down Expand Up @@ -174,5 +175,34 @@
Source="$(var.InstallImage)bin/net6.0/testcentric.engine.metadata.dll" />
</Component>
</ComponentGroup>
<ComponentGroup Id="NET70_AGENT" Directory="NET70_AGENT_DIR">
<Component Id="NUNIT_AGENT_NET70" Location="local" Guid="5D10D513-F5C4-461F-B11C-D51C0CD14F89">
<File Id="nunit_agent_net70.exe"
ProcessorArchitecture="msil"
Source="$(var.InstallImage)bin/agents/net7.0/nunit-agent.dll" />
<File Id="nunit_agent_net70.deps.json"
Source="$(var.InstallImage)bin/agents/net7.0/nunit-agent.deps.json" />
<File Id="nunit_agent_net70.runtimeconfig.json"
Source="$(var.InstallImage)bin/agents/net7.0/nunit-agent.runtimeconfig.json" />
</Component>
<!-- Engine files are currently not built for .NET 7.0 so we use 6.0 -->
<Component Id="NUNIT_AGENT_NET70_ENGINE_API" Location="local" Guid="A1318B84-3E15-45A9-B49E-475ED06ADCCD">
<File Id="nunit.agent.net70.engine.api.dll"
ProcessorArchitecture="msil"
Source="$(var.InstallImage)bin/net6.0/nunit.engine.api.dll" />
<File Id="nunit.agent.net70.engine.api.xml"
Source="$(var.InstallImage)bin/net6.0/nunit.engine.api.xml" />
</Component>
<Component Id="NUNIT_AGENT_NET70_ENGINE_CORE" Location="local" Guid="CBA7AA8D-B7D8-43F5-901A-2044DE1E07A7">
<File Id="nunit.agent.net70.engine.core.dll"
ProcessorArchitecture="msil"
Source="$(var.InstallImage)bin/net6.0/nunit.engine.core.dll" />
</Component>
<Component Id="NUNIT_AGENT_NET70_ENGINE_METADATA" Location="local" Guid="1F887300-4C7A-4574-A1DD-D925228DA217">
<File Id="nunit.agent.net70.engine.metadata.dll"
ProcessorArchitecture="msil"
Source="$(var.InstallImage)bin/net6.0/testcentric.engine.metadata.dll" />
</Component>
</ComponentGroup>
</Fragment>
</Include>
1 change: 1 addition & 0 deletions msi/nunit/runner-directories.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<Directory Id="NETCORE31_AGENT_DIR" Name="netcoreapp3.1" />
<Directory Id="NET50_AGENT_DIR" Name="net5.0" />
<Directory Id="NET60_AGENT_DIR" Name="net6.0" />
<Directory Id="NET70_AGENT_DIR" Name="net7.0" />
</Directory>
</Directory>
</DirectoryRef>
Expand Down
9 changes: 9 additions & 0 deletions nuget/engine/nunit.engine.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@
<file src="netstandard2.0/testcentric.engine.metadata.dll" target="lib/netstandard2.0" />
<file src="../../nuget/engine/nunit.engine.nuget.addins" target="contentFiles/any/lib/netstandard2.0"/>

<file src="netcoreapp3.1/nunit.engine.dll" target="lib/netcoreapp3.1" />
<file src="netcoreapp3.1/nunit.engine.pdb" target="lib/netcoreapp3.1" />
<file src="netcoreapp3.1/nunit.engine.core.dll" target="lib/netcoreapp3.1" />
<file src="netcoreapp3.1/nunit.engine.core.pdb" target="lib/netcoreapp3.1" />
<file src="netcoreapp3.1/testcentric.engine.metadata.dll" target="lib/netcoreapp3.1" />
<file src="netstandard2.0/nunit.engine.api.dll" target="lib/netcoreapp3.1" />
<file src="netstandard2.0/nunit.engine.api.pdb" target="lib/netcoreapp3.1" />
<file src="../../nuget/engine/nunit.engine.nuget.addins" target="contentFiles/any/lib/netcoreapp3.1"/>

<file src="../../nuget/engine/build/**/*" target="build" />
<file src="../../nunit_256.png" target="images" />
</files>
Expand Down
13 changes: 13 additions & 0 deletions nuget/runners/nunit.console-runner.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@
<file src="agents/net6.0/testcentric.engine.metadata.dll" target="tools/agents/net6.0" />
<file src="../../nuget/engine/nunit.agent.addins" target="tools/agents/net6.0"/>

<file src="agents/net7.0/nunit-agent.dll" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit-agent.pdb" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit-agent.dll.config" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit-agent.deps.json" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit-agent.runtimeconfig.json" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit.engine.api.dll" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit.engine.api.pdb" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit.engine.api.xml" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit.engine.core.dll" target="tools/agents/net7.0" />
<file src="agents/net7.0/nunit.engine.core.pdb" target="tools/agents/net7.0" />
<file src="agents/net7.0/testcentric.engine.metadata.dll" target="tools/agents/net7.0" />
<file src="../../nuget/engine/nunit.agent.addins" target="tools/agents/net7.0"/>

<file src="net20/nunit3-console.exe" target="tools" />
<file src="net20/nunit3-console.pdb" target="tools" />
<file src="net20/nunit3-console.exe.config" target="tools" />
Expand Down
Loading