Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Cannot build the HelloWorld sample. #2613

Closed
Tragetaschen opened this issue Sep 2, 2015 · 5 comments
Closed

Cannot build the HelloWorld sample. #2613

Tragetaschen opened this issue Sep 2, 2015 · 5 comments

Comments

@Tragetaschen
Copy link

I was trying to check if #2471 is fixed with the last Coherence build (15548 and I think it does), but building then continues to fail miserably.

I've checked out the current dev and git clean -xdf'ed the entire tree.

$ git show -s
commit 5bbb84bea40d8835da0c3eefd5a2343b50347084
Author: Kirthi Krishnamraju <kirthik@microsoft.com>
Date:   Tue Sep 1 21:06:11 2015 -0700

    Fixes GetResourceCultureName for embedded resources

$ dnu --version
Microsoft .NET Development Utility
 Version:      1.0.0-beta8-15548
 Type:         Mono
 Architecture: x64
 OS Name:      Linux

$ dnu restore
Microsoft .NET Development Utility Mono-x64-1.0.0-beta8-15548

  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/
  CACHE https://api.nuget.org/v3/index.json
Restoring packages for /home/kai/yocto/dnx/samples/HelloWorld/project.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='Microsoft.Framework.HashCodeCombiner.Sources'
  GET https://az320820.vo.msecnd.net/v3-flatcontainer/microsoft.framework.hashcodecombiner.sources/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Collections'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.collections/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Runtime.Extensions'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.runtime.extensions/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.IO.FileSystem'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.io.filesystem/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.IO'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.io/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Console'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.console/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Linq'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.linq/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Reflection'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.reflection/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Runtime'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.runtime/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.Threading.Tasks'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.threading.tasks/index.json
  CACHE https://www.myget.org/F/aspnetlitedev/api/v2/FindPackagesById()?id='System.ComponentModel'
  CACHE https://az320820.vo.msecnd.net/v3-flatcontainer/system.componentmodel/index.json
  NotFound https://az320820.vo.msecnd.net/v3-flatcontainer/microsoft.framework.hashcodecombiner.sources/index.json 630ms
Writing lock file /home/kai/yocto/dnx/samples/HelloWorld/project.lock.json
Restore complete, 775ms elapsed

NuGet Config files used:
    /home/kai/.config/NuGet/NuGet.Config
    /home/kai/yocto/dnx/NuGet.Config

Feeds used:
    https://www.myget.org/F/aspnetlitedev/api/v2/
    https://az320820.vo.msecnd.net/v3-flatcontainer/
$ dnu publish --no-source -o ../something
[...]

And then all dependencies fail building starting with "The expected lock file doesn't exist."

I've put the log here.

@davidfowl
Copy link
Member

Did you dnu restore everything?

@Tragetaschen
Copy link
Author

No, only HelloWorld

@davidfowl
Copy link
Member

Try restoring the entire repository before trying to build. The sample uses project dependencies

@Tragetaschen
Copy link
Author

Was already on it. BTW: Why doesn't restore recurse properly?

Unable to locate Microsoft.CodeAnalysis.Analyzers 1.1.0-beta1-20150831-03

and some weird stuff in the new misc folder ("FlibbleWibbleWoozleWuzzle").

@Tragetaschen
Copy link
Author

But publishing works afterwards. I didn't dare to check with the restore errors before…

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

No branches or pull requests

2 participants