Just updating my SQLite dll using Nuget to version 1.0.81.0, I get errors like the ones below. This happens after the first successful execution one or more times (not sure). Vs2010 environment on x64 machine, but with customization of x86 build settings.
I am using SQLite for unit test NHibernate mappings. Often running into SQLite is a little "moody" in the past, I don't want to interfere with the unit test (see below)
Does anyone know what's wrong here?
Cheers
Berryl
Msg Error
Unable to copy file "...\x86\SQLite.Interop.dll" to "bin\Debug\x86\SQLite.Interop.dll". The process cannot access the file 'bin\Debug\x86\SQLite.Interop.dll' because it is being used by another process. Parties.Data.Impl.NHib.Tests
Unit Test Fixture (enough to show file access anyway)
public abstract class SQLiteTestFixture { protected override void BeforeAllTests() { _configureDbFile(); base.BeforeAllTests(); } protected override void AfterAllTests() { base.AfterAllTests(); _deleteAllDbFiles(); } #region Db File Maintenance
}
source share