Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: SQL Server Compact 3.5 provider for EF6

$
0
0
@Arthur, OK, got much further, and set up unit tests. Can you help with this? (All code commited to my branch)

I added the line to FunctionTestConfiguration
SetProviderServices(System.Data.Entity.SqlServerCompact.Legacy.SqlCeProviderServices.ProviderInvariantName, System.Data.Entity.SqlServerCompact.Legacy.SqlCeProviderServices.Instance);
But then it get this error, related to Code Signing:
Test Name: ProductivityApiTests.SimpleScenariosForSqlCe35.Codeplex287_CSharp_null_comparison_behavior
Test FullName: ProductivityApiTests.SimpleScenariosForSqlCe35.Codeplex287_CSharp_null_comparison_behavior (ProductivityApiTests.SimpleScenariosForSqlCe35.Codeplex287_CSharp_null_comparison_behavior (C:\Data\SQLCE\EF6\sqlce35revival\test\EntityFramework\FunctionalTests\bin\Debug\EntityFramework.FunctionalTests.dll))
Test Source: c:\Data\SQLCE\EF6\sqlce35revival\test\EntityFramework\FunctionalTests\ProductivityApi\SimpleScenariosForSqlCe35.cs : line 392
Test Outcome: Failed
Test Duration: 0:01:47

Result Message:
System.TypeInitializationException : The type initializer for 'System.Data.Entity.TestBase' threw an exception.
---- System.IO.FileLoadException : Could not load file or assembly 'EntityFramework.SqlServerCompact.Legacy, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Result StackTrace:
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Xunit.Sdk.Reflector.ReflectionMethodInfo.CreateInstance()
at Xunit.Sdk.LifetimeCommand.Execute(Object testClass)
at Xunit.Sdk.ExceptionAndOutputCaptureCommand.Execute(Object testClass)
----- Inner Stack Trace -----
at System.Data.Entity.TestHelpers.FunctionalTestsConfiguration..ctor()
at System.Data.Entity.TestBase..cctor() in c:\Data\SQLCE\EF6\sqlce35revival\test\EntityFramework\FunctionalTests.Transitional\TestHelpers\TestBase.cs:line 29

Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>