Skip to content

nunit3-console.exe does not have a manifest #1166

@johannes-schmitt

Description

@johannes-schmitt

Steps to reproduce:

  1. Download the NUnit Console Runner executable (e.g. Download NuGet package and extract it)
  2. Open a Visual Studio Developer Command Prompt
  3. Extract the app manifest by running the following command: mt.exe -inputresource:"C:\path\to\nunit3-console.exe";#1 -out:;#1 -out:"C:\path\to\extracted.manifest"
  4. Inspect the extracted manifest

Expected: manifest is identical to https://github.com/nunit/nunit-console/blob/main/src/NUnitConsole/nunit-console/app.manifest
Actual: manifest is a default manifest

Implications:

  • test code that uses Environment.OSVersion.Version (and friends) is not working as expected
  • message on application start is misleading:
NUnit Console 3.15.0 (Release)
Copyright (c) 2022 Charlie Poole, Rob Prouse
Montag, 28. Februar 2022 15:13:16

Runtime Environment
   OS Version: Microsoft Windows NT 6.2.9200.0 ********** this is printed when running on Windows 10
   Runtime: .NET Framework CLR v4.0.30319.42000

Metadata

Metadata

Labels

BugV4All issues related to V4 or later - use -label:V4 to get V3 issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions