Missing Assembly References

Nov 8, 2010 at 7:24 PM

Hello,

I am getting the following errors when I try to run the project:

Are there any missing dlls that I need to include? Thanks

Error    1    The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    8    35    OpenPOS.Data
Error    2    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    10    16    OpenPOS.Data
Error    3    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    11    16    OpenPOS.Data
Error    4    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    12    16    OpenPOS.Data
Error    5    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    13    16    OpenPOS.Data
Error    6    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    14    16    OpenPOS.Data
Error    7    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    15    16    OpenPOS.Data
Error    8    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    16    16    OpenPOS.Data
Error    9    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    17    16    OpenPOS.Data
Error    10    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    18    16    OpenPOS.Data
Error    11    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    19    16    OpenPOS.Data
Error    12    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    20    16    OpenPOS.Data
Error    13    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    21    16    OpenPOS.Data
Error    14    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    22    16    OpenPOS.Data
Error    15    The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\SessionFactory.cs    23    16    OpenPOS.Data
Error    16    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    OpenPOS.Infrastructure
Error    17    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Infrastructure\bin\Debug\OpenPOS.Infrastructure.dll' could not be found    OpenPOS.Modules.Customers
Error    18    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    OpenPOS.Modules.Customers
Error    19    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Infrastructure\bin\Debug\OpenPOS.Infrastructure.dll' could not be found    OpenPOS.Modules.Maintance
Error    20    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    OpenPOS.Modules.Maintance
Error    21    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Infrastructure\bin\Debug\OpenPOS.Infrastructure.dll' could not be found    OpenPOS.Modules.System
Error    22    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    OpenPOS.Modules.System
Error    23    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Infrastructure\bin\Debug\OpenPOS.Infrastructure.dll' could not be found    OpenPOS.Modules.Navigation
Error    24    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    OpenPOS.Modules.Navigation
Error    25    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\bin\Debug\OpenPOS.Data.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    26    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Infrastructure\bin\Debug\OpenPOS.Infrastructure.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    27    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Customers\bin\Debug\OpenPOS.Modules.Customers.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    28    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Maintance\bin\Debug\OpenPOS.Modules.Maintance.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    29    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Navigation\bin\Debug\OpenPOS.Modules.Navigation.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    30    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Sales\bin\Debug\OpenPOS.Modules.Sales.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    31    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Stock\bin\Debug\OpenPOS.Modules.Stock.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    32    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.System\bin\Debug\OpenPOS.Modules.System.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    33    Metadata file 'C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Users\bin\Debug\OpenPOS.Modules.Users.dll' could not be found    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS\CSC    OpenPOS
Error    34    The tag 'CommandReference' does not exist in XML namespace 'clr-namespace:OpenPOS.Infrastructure.MVVM;assembly=OpenPOS.Infrastructure'. Line 10 Position 10.    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Sales\Views\SalesView_Main.xaml    10    10    OpenPOS.Modules.Sales
Error    35    The tag 'CommandReference' does not exist in XML namespace 'clr-namespace:OpenPOS.Infrastructure.MVVM;assembly=OpenPOS.Infrastructure'. Line 11 Position 10.    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Stock\Views\StockMaintanceView_Main.xaml    11    10    OpenPOS.Modules.Stock
Error    38    The tag 'CommandReference' does not exist in XML namespace 'clr-namespace:OpenPOS.Infrastructure.MVVM;assembly=OpenPOS.Infrastructure'. Line 7 Position 10.    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Modules.Users\Views\UsersView.xaml    7    10    OpenPOS.Modules.Users
Error    39    The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity' (are you missing an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\EF\EFSession.cs    8    26    OpenPOS.Data
Error    40    The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\EF\EFSession.cs    14    9    OpenPOS.Data
Error    41    The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?)    C:\Development\openpos-55197\Trunk\OpenPOS\OpenPOS.Data\Storage\EF\EFSession.cs    16    26    OpenPOS.Data

Jan 16, 2011 at 7:18 AM

Install EF CTP4

If you haven’t already done so then you need to install Entity Framework Feature CTP4.

http://www.microsoft.com/downloads/details.aspx?FamilyID=4e094902-aeff-4ee2-a12d-5881d4b0dd3e&displaylang=en