This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
When I click "Apply now" in the Migrations UI, the migrations are not being applied to the database. The method is set to Apply to connected database and the connection string seems to be working since the DBVersion table was added. I also verified the connection string through Visual Studio. I tried running the Migrations from code and receive the following error: Additional information: Could not load file or assembly "Mindscape.LightSpeed.Generator.Extraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=dabefdafd5f32554" or one of its dependencies. The system cannot find the file specified. I included LightSpeed through the provided NuGet feed in the models project as well as in the Migrations project. |
|
|
It seems that only using the NuGet packages is not enough to run migrations. I had to include the dlls into all projects to make it work. I don't like those static references, so is there a way of running migrations with the NuGet package only? |
|
|
No, you need the designer assemblies installed to bring in all of the other references needed. Is this for running on a build box?
|
|
|
No, currently I'm only testing on my dev machine, but NuGet packages are of course easier to handle for our build servers. |
|