4
Reply

pls help!!!!. I have 18 warning & 38 errors.how to solve?

Fathima Shnowfer

Fathima Shnowfer

May 11 2016 9:52 PM
898
 
 
 
Severity Code Description Project File Line Suppression State
Warning The referenced component 'EntityFramework' could not be found. Services (Services\Services)
Error Metadata file 'C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\bin\Debug\Repository.dll' could not be found Services (Services\Services) C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Services\CSC
Error Metadata file 'C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\bin\Debug\Repository.dll' could not be found UnitTestProjectSM1 C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\UnitTestProjectSM1\CSC
Error Metadata file 'C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\bin\Debug\Repository.dll' could not be found StrockManagment C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\StrockManagment\CSC
Error Metadata file 'C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Services\bin\Debug\Services.dll' could not be found StrockManagment C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\StrockManagment\CSC
Error Metadata file 'C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\UnitTestProjectSM1\bin\Debug\UnitTestProjectSM1.dll' could not be found StrockManagment C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\StrockManagment\CSC
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Repository
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Repository
Warning The referenced component 'EntityFramework' could not be found. Repository
Warning The referenced component 'EntityFramework.SqlServer' could not be found. Repository
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Services (Services\Services)
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Services (Services\Services)
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServerCompact, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Services (Services\Services)
Warning The referenced component 'EntityFramework.SqlServer' could not be found. Services (Services\Services)
Warning The referenced component 'EntityFramework.SqlServerCompact' could not be found. Services (Services\Services)
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. UnitTestProjectSM1
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. UnitTestProjectSM1
Warning The referenced component 'EntityFramework' could not be found. UnitTestProjectSM1
Warning The referenced component 'EntityFramework.SqlServer' could not be found. UnitTestProjectSM1
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. StrockManagment
Warning Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. StrockManagment
Warning The referenced component 'EntityFramework' could not be found. StrockManagment
Warning The referenced component 'EntityFramework.SqlServer' could not be found. StrockManagment
Error CS0103 The name 'EntityState' does not exist in the current context Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 21 Active
Error CS0103 The name 'EntityState' does not exist in the current context Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 28 Active
Error CS0103 The name 'EntityState' does not exist in the current context Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 48 Active
Error CS0115 'SEStockEntities.OnModelCreating(DbModelBuilder)': no suitable method found to override Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 25 Active
Error CS0117 'DataGridViewBand' does not contain a definition for 'DetaSource' StrockManagment C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\StrockManagment\Brand.cs 70 Active
Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 13 Active
Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 13 Active
Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 14 Active
Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 14 Active
Error CS0234 The type or namespace name 'Entity' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 3 Active
Error CS0246 The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 18 Active
Error CS0246 The type or namespace name 'DbModelBuilder' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 25 Active
Error CS0246 The type or namespace name 'DbSet<Brand>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 35 Active
Error CS0246 The type or namespace name 'DbSet<Category>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 36 Active
Error CS0246 The type or namespace name 'DbSet<Customer>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 37 Active
Error CS0246 The type or namespace name 'DbSet<Product>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 44 Active
Error CS0246 The type or namespace name 'DbSet<Purchase>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 45 Active
Error CS0246 The type or namespace name 'DbSet<PurchaseReturn>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 46 Active
Error CS0246 The type or namespace name 'DbSet<Sale>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 47 Active
Error CS0246 The type or namespace name 'DbSet<SalesReturn>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 48 Active
Error CS0246 The type or namespace name 'DbSet<Supplier>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 49 Active
Error CS0246 The type or namespace name 'DbSet<PurchaseDetail>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 50 Active
Error CS0246 The type or namespace name 'DbSet<PurchaseReturnDetail>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 51 Active
Error CS0246 The type or namespace name 'DbSet<SalesDetail>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 52 Active
Error CS0246 The type or namespace name 'DbSet<SalesReturnDetail>' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 53 Active
Error CS0246 The type or namespace name 'UnintentionalCodeFirstException' could not be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 27 Active
Error CS0542 'ServicesPurchase': member names cannot be the same as their enclosing type Services C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Services\ServicesPurchase.cs 8 Active
Error CS1061 'SEStockEntities' does not contain a definition for 'Entry' and no extension method 'Entry' accepting a first argument of type 'SEStockEntities' could be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 21 Active
Error CS1061 'SEStockEntities' does not contain a definition for 'Entry' and no extension method 'Entry' accepting a first argument of type 'SEStockEntities' could be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 28 Active
Error CS1061 'SEStockEntities' does not contain a definition for 'Set' and no extension method 'Set' accepting a first argument of type 'SEStockEntities' could be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 35 Active
Error CS1061 'SEStockEntities' does not contain a definition for 'Entry' and no extension method 'Entry' accepting a first argument of type 'SEStockEntities' could be found (are you missing a using directive or an assembly reference?) Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\SMRepository.cs 48 Active
Error CS1061 'object' does not contain a definition for 'DataSource' and no extension method 'DataSource' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) StrockManagment C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\StrockManagment\Brand.cs 64 Active
Error CS1729 'DbContext' does not contain a constructor that takes 1 arguments Repository C:\Users\user\Documents\Visual Studio 2015\Projects\StrockManagment\Repository\ModelSM.Context.cs 21 Active

Answers (4)