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
System.IO.FileNotFoundException when down-targeting to netcoreapp1.0 #1601
Comments
It must be some machine/configuration difference. It originally happened in this appveyor PR build: https://ci.appveyor.com/project/StackExchange/stackexchange-redis/build/1.0.504 |
Verified that this is already fixed in |
This appears to be somehow related to the presence (or absence) of At this point in time, I have no idea why that might be. The difference between the |
So, in case it isn't clear: anybody who is experiencing this problem only needs to add the |
to work around xunit/xunit#1601
to work around xunit/xunit#1601
* see if you can just run off of 1.0.4 * try xunit 2.4.0-beta1-build3908 xunit/xunit#1601 * put back other framework tests
* try just dotnet 2.1.3 * install 1.0.8 too * 1.0.8 was not valid * 1.1.5 is current * just 1.1.5 * runtime 1.1.5 * dotnet --info * its already printed * see if there is a 1.0.4 package * remove explicit RuntimeFrameworkVersion * just run the test on 2.0 * "2.0" * specify runtime 2.0.4 * src/NetMQ.Tests * run with dotnet xunit * verbose to avoid 10 minute timeout * skip BothSpeakerAndListenerOverLoopback * skip TestKeepalive that throws PlatformNotSupportedException * Ipv6ToIpv6 test is timing out on Travis CI * disable failing Serialisation test * skip BothSpeakerAndListener * use dotnet xunit for appveyor too (#1) * see if parallel of none avoids timeout * net452 is min supported by xunit 2.2 and higher * still skip * print runtimes on appveyor * use dotnet xunit on appveyor * too many -f * 1.0.5 is failing with Could not load file or assembly 'System.Runtime.Extensions, Version=4.0.0.0 * skip CleanupTests Block * add tests for netcoreapp1.0 (#2) * see if you can just run off of 1.0.4 * try xunit 2.4.0-beta1-build3908 xunit/xunit#1601 * put back other framework tests * trigger another build
Using 2.4.0-beta.1.build3958 did not solve the issue for me.
Command used to execute tests:
|
@VictorioBerra Please open a new issue with a repro project. |
@bradwilson My issue was that I was trying to use |
* Give defaultClientName a value when it is null This prevents calling TryGetAzureRoleInstanceIdNoThrow() repeatedly in the null case. * Upgrade xunit to 2.3.1 * Upgrade xunit to v2.4.0-beta1 to work around xunit/xunit#1601 * Move xUnit to 2.4.0-beta.1.build3958
Is there any chance of merging #1643 in? We can't use the 2.4.0 beta because of the issue there, and 2.3.1 breaks due to the issue here - AFAIK there's no build available for which all tests run (since MyGet was cleared a while back). |
Closing for age and that it appears to no longer be relevant. |
repro steps
change the TargetFramework from
netcoreapp2.0
tonetcoreapp1.0
. Now the content isswitch back to command prompt and run
Actual:
Note
dotnet test
works fine.NET Core SDK 2.1.3 is used, I have 1.0.5 runtime installed
The text was updated successfully, but these errors were encountered: