corert
corert copied to clipboard
Warnings while restoring during testing
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.
Note that even if it claims the restore failed, the test are compiled and executed and the whole build succeeds.
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.
@schellap Any ideas?
@manu-silicon still facing this? PR #859 added feed source and runtime to the restore command.
I do not have this issue anymore. Closing.