Thanks to visit codestin.com
Credit goes to github.com

Skip to content

XSD Schemas missing from the ZIP Package #3045

@rprouse

Description

@rprouse

I am running the tests for the 3.11 release. When running the tests from the ZIP file produced as part of packaging, the .NET 4.5 tests are failing because the XSD schema files are not included in the ZIP file. I am fixing this as part of the release, just entering this issue to track the fix.

Here is one error;

1) Error : NUnit.Framework.Api.SchemaTests.MultipleTestsAreAllowedInsideTestRun
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\tmp\bin\net45\Schemas\TestResult.xsd'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at NUnit.TestUtilities.SchemaTestUtils.AssertValidXsd(String schemaFile)
   at NUnit.TestUtilities.SchemaTestUtils.RunValidation(String xml, String schemaFileName, ValidationEventHandler validationHandler)
   at NUnit.Framework.Assert.Multiple(TestDelegate testDelegate) in C:\src\nunit\nunit\src\NUnitFramework\framework\Assert.cs:line 323

I also noticed that the netcoreapp1.1 and netcoreapp2.0 directories are not in the ZIP.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions