Comments (3)
Hi,
I cannot reproduce your error.
I've just tested a migration with the filename you talk about and it succeeded. Here is the result I have:
Successfully applied migration V1_0_0__build_1_0_0_7.sql.
Could you please verify the name of your file ?
If the problem still occurs, paste me a copy of the output window you have.
And give me some infos like the version of Evolve, the version of the .NET framework you use...
from evolve.
Evolve version 1.3.1
Dot Net Framework 4.0
config :
<add key="Evolve.Locations" value="Sql_Scripts" />
<add key="Evolve.Command" value="migrate" />
Error :
Migration folder Sql_Scripts copied to c:\jenkins\Web\obj\TEST\Sql_Scripts.
Executing Migrate...
Evolve initialized.
No metadata found.
Evolve : error : EvolveConfigurationException: Prefix V not found in sql file name: c:\jenkins\Web\obj\TEST\Sql_Scripts\V1_0_0__build_1_0_0_7.sql.
Evolve : error : at Evolve.Utilities.MigrationUtil.ExtractVersionAndDescription(String script, String prefix, String separator, String& version, String& description)
Evolve : error : at Evolve.Migration.FileMigrationLoader.LoadMigrationFromFile(String script, String prefix, String separator)
Evolve : error : at Evolve.Migration.FileMigrationLoader.<>c__DisplayClass2_0.b__2(FileInfo f)
Evolve : error : at System.Collections.Generic.List1.ForEach(Action
1 action) [c:\jenkins\workspace\PersonalPropertyExpress\DotNetPersonalPropertyExpress\Cogitate.PPE.Web\Cogitate.PPE.Web\Cogitate.PPE.Web.csproj]
Evolve : error : at Evolve.Migration.FileMigrationLoader.GetMigrations(IEnumerable`1 locations, String prefix, String separator, String suffix)
Evolve : error : at Evolve.Evolve.Migrate()
Evolve : error : at Evolve.Evolve.ExecuteCommand()
Evolve : error : at Evolve.MsBuild.EvolveBoot.Execute()
Evolve : error :
thanks in avance;
from evolve.
I reproduced the error. It is due to the .NET framework version you use. As specified in the wiki the min verison supported is .NET 4.5.1+
I don't know why Nuget let you download the package without a warning ?
By the way, .NET 4.0 is not supported by Microsoft anymore. Me neither.
So if you want to use Evolve, update your .NET framework.
I hope you can.
from evolve.
Related Issues (20)
- Store more context concerning an applied migration in the descritpion column HOT 1
- One assembly two mysql databases
- SingleStore support HOT 4
- Add Database property to avoid multiple calls to detect HOT 1
- InternalGetAllMetadata gets called many times
- Microsoft.Data.SqlClient package HOT 4
- Migrations from different projects HOT 1
- MariaDB 10.3 database lock issue, QueryForLong cannot convert DBNull
- Sometimes placeholder values change - this doesn't seem to update the checksum value HOT 3
- [documentation] Request for "philosophy behind Evolve"
- Inconsistent behavior in treating paths in Evolve.Evolve() on Windows and Linux
- Support for baseline migrations HOT 2
- How could I connect to Cassandra with TSL connection? HOT 1
- Run same script file everytime HOT 1
- Add a `Drop` command to Evolve. HOT 2
- Issue while using Evolve with MySQL HOT 1
- Exception on long running migration when using TransactionKind.CommitAll HOT 6
- [Logging] Documentation missing
- Can command line interface accept password from environment HOT 1
- Bug: Error when trying to migrate large files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evolve.