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

Running musicstore app fails from self host or iisexpress fails on machines that don't have visual studio #391

Closed
kirthik opened this issue Jun 26, 2014 · 1 comment
Assignees
Milestone

Comments

@kirthik
Copy link
Contributor

kirthik commented Jun 26, 2014

I am using latest runtime and latest packages

Here is the error

System.IO.FileLoadException: Could not load file or assembly 'MusicStore' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500)
File name: 'MusicStore' ---> Microsoft.Framework.Runtime.CompilationException: D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(7,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(8,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(8,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(48,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(49,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(49,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(14,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(15,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(16,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(15,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(16,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(19,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(20,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(21,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(22,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(20,28): error CS0246: The type or namespace name 'ErrorMessage' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(20,92): error CS0246: The type or namespace name 'MinimumLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(21,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(22,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(25,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(26,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(27,10): error CS0246: The type or namespace name 'Compare' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(25,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(26,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(27,33): error CS0246: The type or namespace name 'ErrorMessage' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(33,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(34,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(34,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(37,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(38,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(39,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(38,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(39,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(42,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(42,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Artist.cs(9,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\CartItem.cs(8,10): error CS0246: The type or namespace name 'Key' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\CartItem.cs(11,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\CartItem.cs(16,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\CartItem.cs(16,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\Genre.cs(10,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(52,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(53,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(54,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(55,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(53,28): error CS0246: The type or namespace name 'ErrorMessage' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(53,92): error CS0246: The type or namespace name 'MinimumLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(54,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(55,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(58,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(59,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(60,10): error CS0246: The type or namespace name 'Compare' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(58,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(59,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\AccountViewModels.cs(60,30): error CS0246: The type or namespace name 'ErrorMessage' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(8,10): error CS0246: The type or namespace name 'ScaffoldColumn' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(15,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(16,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(16,28): error CS0246: The type or namespace name 'MinimumLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(19,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(20,10): error CS0246: The type or namespace name 'Range' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(22,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(22,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(25,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(26,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Album.cs(25,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(9,10): error CS0246: The type or namespace name 'ScaffoldColumn' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(12,10): error CS0246: The type or namespace name 'ScaffoldColumn' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(15,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(16,10): error CS0246: The type or namespace name 'ScaffoldColumn' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(19,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(20,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(21,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(20,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(24,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(25,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(26,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(25,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(29,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(30,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(30,27): error CS0246: The type or namespace name 'MinimumLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(33,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(34,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(37,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(38,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(41,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(42,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(43,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(42,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(43,27): error CS0246: The type or namespace name 'MinimumLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(46,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(47,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(50,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(51,10): error CS0246: The type or namespace name 'StringLength' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(52,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(52,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(55,10): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(56,10): error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(57,10): error CS0246: The type or namespace name 'RegularExpression' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(59,10): error CS0246: The type or namespace name 'DataType' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(56,18): error CS0246: The type or namespace name 'Name' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(58,13): error CS0246: The type or namespace name 'ErrorMessage' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(59,19): error CS0103: The name 'DataType' does not exist in the current context
D:\Dependencies\MusicStore\src\MusicStore\Models\Order.cs(62,10): error CS0246: The type or namespace name 'ScaffoldColumn' could not be found (are you missing a using directive or an assembly reference?)
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(29,28): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(55,17): error CS1656: Cannot assign to 'Count' because it is a 'method group'
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(65,28): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(73,21): error CS0019: Operator '>' cannot be applied to operands of type 'method group' and 'int'
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(75,21): error CS1656: Cannot assign to 'Count' because it is a 'method group'
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(80,42): error CS0428: Cannot convert method group 'Count' to non-delegate type 'int'. Did you intend to invoke the method?
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(93,29): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(104,29): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(108,34): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(118,27): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(133,34): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(135,29): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\ShoppingCart.cs(157,29): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\SampleData.cs(60,69): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\SampleData.cs(61,70): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Models\SampleData.cs(82,58): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(29,31): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(30,32): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(41,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(49,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(50,28): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(89,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(120,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(133,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreManagerController.cs(146,25): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreController.cs(34,30): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreController.cs(35,33): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreController.cs(42,25): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreController.cs(45,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\StoreController.cs(46,28): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\ShoppingCartController.cs(41,30): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\ShoppingCartController.cs(66,27): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\ShoppingCartController.cs(67,32): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Controllers\CheckoutController.cs(83,28): error CS0012: The type 'System.Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Components\CartSummaryComponent.cs(32,29): error CS0012: The type 'System.Collections.Generic.IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
D:\Dependencies\MusicStore\src\MusicStore\Startup.cs(40,29): error CS0012: The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
D:\Dependencies\MusicStore\src\MusicStore\Startup.cs(44,21): error CS0012: The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
 at Microsoft.Framework.Runtime.Roslyn.RoslynAssemblyLoader.CompileInMemory(String name, CompilationContext compilationContext, IEnumerable`1 resources)
 at Microsoft.Framework.Runtime.Roslyn.RoslynAssemblyLoader.Load(String assemblyName)
 at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.<>c__DisplayClass0.<Load>b__2(IAssemblyLoader loader)
 at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.ExecuteLoaderAsInterface[TInterface,TResult](Loader loader, Func`2 executor)
 at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.ExecuteWith[TInterface,TResult](String name, Func`2 execute, Boolean stopIfInitializing)
 at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.Load(String name)
 at Microsoft.Framework.Runtime.Loader.CompositeAssemblyLoader.LoadImpl(String name, Stopwatch sw)
 at Microsoft.Framework.Runtime.Loader.CompositeAssemblyLoader.Load(String name)
 at Microsoft.Framework.Runtime.DefaultHost.Load(String name)
 at klr.host.HostContainer.Load(String name)
 at klr.hosting.RuntimeBootstrapper.<>c__DisplayClass0.<ExecuteAsync>b__8(AssemblyName assemblyName)
 at klr.hosting.RuntimeBootstrapper.<>c__DisplayClass0.<ExecuteAsync>b__11(Object sender, ResolveEventArgs a)
 at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
 at Microsoft.AspNet.Hosting.Startup.StartupLoader.LoadStartup(String applicationName, String environmentName, IList`1 diagnosticMessages)
 at Microsoft.AspNet.Loader.IIS.KlrHttpApplication.HeliosStartupLoaderProvider.WrappingStartupLoader.LoadStartup(String applicationName, String environmentName, IList`1 diagnosticMessages)
 at Microsoft.AspNet.Hosting.Startup.StartupManager.LoadStartup(String applicationName, String environmentName)
 at Microsoft.AspNet.Hosting.HostingEngine.EnsureApplicationStartup(HostingContext context)
 at Microsoft.AspNet.Hosting.HostingEngine.EnsureApplicationDelegate(HostingContext context)
 at Microsoft.AspNet.Hosting.HostingEngine.Start(HostingContext context)
 at Microsoft.AspNet.Loader.IIS.KlrHttpApplication.ApplicationStart(IHttpApplication application)
 at Microsoft.AspNet.Loader.IIS.HttpApplicationBase.InvokeApplicationStart(IHttpApplication application)
@davidfowl davidfowl added this to the 1.0.0-alpha3 milestone Jun 28, 2014
@davidfowl davidfowl self-assigned this Jun 28, 2014
davidfowl added a commit that referenced this issue Jul 7, 2014
- This allows other resolvers to handle them. On machines where there
are no reference assemblies installed the GacDependencyResolver is used.
We don't need the version here because the GacDependencyResolver or
ReferenceAssemblyDependencyResolver will figure that out.

#391
davidfowl added a commit that referenced this issue Jul 7, 2014
- This allows other resolvers to handle them. On machines where there
are no reference assemblies installed the GacDependencyResolver is used.
We don't need the version here because the GacDependencyResolver or
ReferenceAssemblyDependencyResolver will figure that out.

#391
@davidfowl
Copy link
Member

This should be fixed in >= 1.0.0-alpha3-10107

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

No branches or pull requests

2 participants