corert icon indicating copy to clipboard operation
corert copied to clipboard

Warnings while restoring during testing

Open manu-st opened this issue 10 years ago • 5 comments

When you build the CoreRT project, you will get the following warnings when it goes on running the tests:

Installing CoreRT external dependencies
Installing 'toolchain.win7-x64.Microsoft.DotNet.AppDep 1.0.5-prerelease-00001'.
Successfully installed 'toolchain.win7-x64.Microsoft.DotNet.AppDep 1.0.5-prerelease-00001'.
info : Restoring packages for C:\work\Microsoft\corert\tests\src\Simple\Add1\project.json...
error: Unable to resolve runtime.win7-x86.Microsoft.NETCore.Runtime.CoreCLR (>= 1.0.1-rc2-23704) for DNXCore,Version=v5.0 (win7-x86).
error: Unable to resolve runtime.win7-x86.Microsoft.NETCore.Windows.ApiSets (>= 1.0.1-rc2-23704) for DNXCore,Version=v5.0 (win7-x86).
info : Committing restore...
info : Restore failed in 2228ms.

manu-st avatar Feb 15 '16 00:02 manu-st

Note that even if it claims the restore failed, the test are compiled and executed and the whole build succeeds.

manu-st avatar Feb 15 '16 00:02 manu-st

It works fine for me:

Installing CoreRT external dependencies
Installing 'toolchain.win7-x64.Microsoft.DotNet.AppDep 1.0.5-prerelease-00001'.
Successfully installed 'toolchain.win7-x64.Microsoft.DotNet.AppDep 1.0.5-prerelease-00001'.
info : Restoring packages for C:\corert\tests\src\Simple\Add1\project.json...
info : Committing restore...
info : Restore completed in 876ms.

jkotas avatar Feb 16 '16 05:02 jkotas

@schellap Any ideas?

jkotas avatar Feb 16 '16 05:02 jkotas

@manu-silicon still facing this? PR #859 added feed source and runtime to the restore command.

schellap avatar Feb 21 '16 01:02 schellap

I do not have this issue anymore. Closing.

manu-st avatar Mar 09 '16 03:03 manu-st