Rank: Advanced Member
Groups: Registered
Joined: 6/25/2012(UTC) Posts: 89 Location: China
Thanks: 23 times Was thanked: 19 time(s) in 18 post(s)
|
Hello, I upgraded RavenDB from version 2.5 to 3.0. I can compile and run my software without problem. But I get lots of exceptions with my tests under NCrunch. I set both "Allow parallel test execution" and "Allow tests to run in parallel with themselves" of the solution to "False", and executed "Resynchronize, rebuild and run all tests" command (also tried restart Visual Studio), but same issue. Any ideas? Code:
SetUp : System.IO.IOException : The process cannot access the file 'M:\NCrunch\Workspace\8828\54\_ncrunchreferences\Assemblies\Lucene.Net.dll' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at Raven.Database.Server.AssemblyExtractor.Extract(Assembly assemblyToExtractFrom, IEnumerable`1 assembliesToExtract, String location) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\AssemblyExtractor.cs:line 89
at Raven.Database.Server.AssemblyExtractor.ExtractEmbeddedAssemblies() in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\AssemblyExtractor.cs:line 37
at Owin.AppBuilderExtensions.UseRavenDB(IAppBuilder app, RavenDBOptions options) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\AppBuilderExtensions.cs:line 70
at Raven.Database.Server.OwinHttpServer.<.ctor>b__0(IAppBuilder app) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\OwinHttpServer.cs:line 26
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Raven.Database.Embedded.OwinEmbeddedHost.Configure(Action`1 startup, StartOptions options) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Embedded\OwinEmbeddedHost.cs:line 65
at Raven.Database.Server.OwinHttpServer..ctor(InMemoryRavenConfiguration config, DocumentDatabase db, Boolean useHttpServer, Action`1 configure) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\OwinHttpServer.cs:line 26
at Raven.Server.RavenDbServer.Initialize(Action`1 configure) in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Server\RavenDbServer.cs:line 106
at Raven.Database.Client.EmbeddedDocumentStore.Initialize() in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Client\EmbeddedDocumentStore.cs:line 225
at Raven.Client.Embedded.EmbeddableDocumentStore.Initialize() in c:\Builds\RavenDB-Stable-3.0\Raven.Database\Client\EmbeddableDocumentStore.cs:line 134
|