J'essaie le SqlMigrations package pour EntityFramework 4.1 et suis les étapes dans this tutorial. Je ne peux malheureusement pas obtenir Update-Database
pour fonctionner. L'appeler produit toujours la même exception:La commande Update-Database dans SqlMigrations génère toujours une exception
PM> Update-Database
No pending custom scripts found.
Ensuring database matches current model.
Update-Database : The type initializer for 'Microsoft.Data.Tools.Schema.Common.Diagnostics.EtwProvider' threw an exception.
At line:1 char:16
+ Update-Database <<<<
+ CategoryInfo : NotSpecified: (:) [Update-Database], TypeInitializationException
+ FullyQualifiedErrorId : System.TypeInitializationException,System.Data.Entity.Migrations.Commands.MigrateCommand
Je suis sous Windows XP. Est-il possible que XP ne soit pas supporté?
Merci.
Hmm, il serait peut-être temps de demander à mon patron une mise à niveau :) –