Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Fixed the compilation with xbuild #34

Closed
wants to merge 1 commit into from

Conversation

Mailaender
Copy link

CSC: error CS2001: Source file `Constraints/AllItemsConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/AssignableFromConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/AttributeExistsConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/BinarySerializableTest.cs' could not be found
CSC: error CS2001: Source file `Constraints/CollectionContainsConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/CollectionEquivalentConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/CollectionOrderedConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/DelayedConstraintTest.cs' could not be found
CSC: error CS2001: Source file `Constraints/AndConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/EndsWithConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/ExactCountConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/ExactTypeConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/InstanceOfTypeConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/NUnitComparerTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/ComparisonConstraintTest.cs' could not be found
CSC: error CS2001: Source file `Constraints/GreaterThanOrEqualConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/GreaterThanConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/LessThanOrEqualConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/LessThanConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/NotConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/OrConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/RangeConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/StartsWithConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/XmlSerializableTest.cs' could not be found
CSC: error CS2001: Source file `Constraints/SubstringConstraintTests.cs' could not be found
CSC: error CS2001: Source file `Constraints/AssignableToConstraintTests.cs' could not be found

 9 Warning(s)
 26 Error(s)

fix CSC: error CS2001: Source file could not be found
@Mailaender
Copy link
Author

Successfully fixed https://build.opensuse.org/request/show/266053

@CharliePoole
Copy link
Member

We can't accept this patch, which merely deletes some of the critical NUnit tests.

I see from the link that your opensuse build is failing because those files are not found. They are present in the NUnit build and the correct way to fix your problem would be to get those files into your own build. How did you pull source to create this build?

@Mailaender
Copy link
Author

These files are also missing from your repository. Have a look at https://github.com/nunit/nunitv2/tree/master/src/NUnitFramework/framework/Constraints before closing this prematurely. I downloaded the source code from https://github.com/nunit/nunitv2/releases using the ZIP you yourself created.

@CharliePoole
Copy link
Member

That's the wrong place in the tree. See https://github.com/nunit/nunitv2/tree/master/src/NUnitFramework/tests/Constraints

However, you are correct that the source zip created by our script is missing those files. If you use the zip created by GitHub, you'll find it's correct.

I'll either fix or remove our own source zip. Since GitHub creates one automatically, ours is actually redundant.

Sorry for the inconvenience.

@CharliePoole
Copy link
Member

Further follow-up regarding closing this: if you had filed an bug, I would not have closed it so quickly. But this is a PR that calls for dropping a bunch of our tests. I closed it because I didn't want to apply it, or for anyone else to apply it, but that wasn't meant to imply your problem isn't real.

@Mailaender
Copy link
Author

Updated https://build.opensuse.org/request/show/266134 instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants