Closed
Description
Ubuntu 12.04 LTS
apt-get install mono-complete (3.12.1)
runtime: dnx-mono.1.0.0-beta5-11400
dnx . run , Console sample is ok.
when dnx . kestrel has a message like:
root@ubuntu:~/Home/samples/HelloWeb# dnx . kestrel
System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'DNX,Version=v4.5.1':
Kestrel 1.0.0-beta3
Microsoft.AspNet.Diagnostics 1.0.0-beta3
Microsoft.AspNet.Hosting 1.0.0-beta3
Microsoft.AspNet.Server.WebListener 1.0.0-beta3
Microsoft.AspNet.StaticFiles 1.0.0-beta3
Searched Locations:
/root/Home/samples/{name}/project.json
/usr/lib/mono/4.5/{name}.dll
/usr/lib/mono/4.5/Facades/{name}.dll
Try running 'dnu restore'.
at Microsoft.Framework.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
After run "dnu restore",only give more information that
/root/.dnx/packages/{name}/{version}/{name}.nuspec
root@ubuntu:~/Home/samples/HelloWeb# dnx . kestrel
System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'DNX,Version=v4.5.1':
Kestrel 1.0.0-beta3
Microsoft.AspNet.Diagnostics 1.0.0-beta3
Microsoft.AspNet.Hosting 1.0.0-beta3
Microsoft.AspNet.Server.WebListener 1.0.0-beta3
Microsoft.AspNet.StaticFiles 1.0.0-beta3
Searched Locations:
/root/Home/samples/{name}/project.json
/root/.dnx/packages/{name}/{version}/{name}.nuspec
/usr/lib/mono/4.5/{name}.dll
/usr/lib/mono/4.5/Facades/{name}.dll
Try running 'dnu restore'.
at Microsoft.Framework.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
/root/.dnx/packages have all of
Kestrel 1.0.0-beta3
Microsoft.AspNet.Diagnostics 1.0.0-beta3
Microsoft.AspNet.Hosting 1.0.0-beta3
Microsoft.AspNet.Server.WebListener 1.0.0-beta3
Microsoft.AspNet.StaticFiles 1.0.0-beta3
root@ubuntu:~/.dnx/packages# ls
Kestrel
Microsoft.AspNet.Diagnostics
Microsoft.AspNet.FeatureModel
Microsoft.AspNet.FileProviders
Microsoft.AspNet.FileProviders.Interfaces
Microsoft.AspNet.Hosting
Microsoft.AspNet.Http
Microsoft.AspNet.Http.Core
Microsoft.AspNet.Http.Extensions
Microsoft.AspNet.Http.Interfaces
Microsoft.AspNet.Mvc
Microsoft.AspNet.Mvc.Core
Microsoft.AspNet.Mvc.ModelBinding
Microsoft.AspNet.Mvc.Razor
Microsoft.AspNet.Mvc.Razor.Host
Microsoft.AspNet.Razor
Microsoft.AspNet.Razor.Runtime
Microsoft.AspNet.RequestContainer
Microsoft.AspNet.Routing
Microsoft.AspNet.Security
Microsoft.AspNet.Security.DataProtection
Microsoft.AspNet.Server.Kestrel
Microsoft.AspNet.Server.WebListener
Microsoft.AspNet.StaticFiles
Microsoft.AspNet.WebUtilities
Microsoft.CodeAnalysis.Analyzers
Microsoft.CodeAnalysis.Common
Microsoft.CodeAnalysis.CSharp
Microsoft.CSharp
Microsoft.Framework.Cache.Memory
Microsoft.Framework.ConfigurationModel
Microsoft.Framework.DependencyInjection
Microsoft.Framework.Logging
Microsoft.Framework.Logging.Interfaces
Microsoft.Framework.OptionsModel
Microsoft.Framework.Runtime.Interfaces
Microsoft.Framework.Runtime.Roslyn.Common
Microsoft.Net.Http.Headers
Microsoft.Net.Http.Server
Microsoft.Net.WebSocketAbstractions
Microsoft.Net.WebSockets
Microsoft.Win32.Primitives
Microsoft.Win32.Registry
Newtonsoft.Json
System.Collections
System.Collections.Concurrent
System.Collections.Immutable
System.ComponentModel
System.ComponentModel.Annotations
System.ComponentModel.Primitives
System.ComponentModel.TypeConverter
System.Console
System.Diagnostics.Contracts
System.Diagnostics.Debug
System.Diagnostics.Tools
System.Diagnostics.TraceSource
System.Diagnostics.Tracing
System.Dynamic.Runtime
System.Globalization
System.Globalization.Extensions
System.IO
System.IO.FileSystem
System.IO.FileSystem.Primitives
System.IO.FileSystem.Watcher
System.Linq
System.Linq.Expressions
System.Net.Primitives
System.ObjectModel
System.Reflection
System.Reflection.Extensions
System.Reflection.Metadata
System.Reflection.Primitives
System.Reflection.TypeExtensions
System.Resources.ResourceManager
System.Runtime
System.Runtime.Extensions
System.Runtime.Handles
System.Runtime.InteropServices
System.Runtime.Serialization.Primitives
System.Runtime.Serialization.Xml
System.Security.Claims
System.Security.Cryptography.Encoding
System.Security.Cryptography.Encryption
System.Security.Cryptography.Encryption.Aes
System.Security.Cryptography.Hashing
System.Security.Cryptography.Hashing.Algorithms
System.Security.Cryptography.RandomNumberGenerator
System.Security.Cryptography.X509Certificates
System.Security.Principal
System.Security.Principal.Windows
System.Text.Encoding
System.Text.Encoding.Extensions
System.Text.RegularExpressions
System.Threading
System.Threading.Overlapped
System.Threading.Tasks
System.Threading.Tasks.Parallel
System.Threading.Thread
System.Threading.ThreadPool
System.Threading.Timer
System.Xml.ReaderWriter
System.Xml.XDocument
System.Xml.XmlSerializer
anything wrong?
Metadata
Metadata
Assignees
Labels
No labels