Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Issue: Migrations: Leading slash in MigrationsDirectory causes entire project to be copied into a sub-folder (yes, really) [938]

$
0
0
This issue was copied from a public Connect issue http://connect.microsoft.com/VisualStudio/feedback/details/780284/entity-framework-code-first-migrations-crash

Steps:
* Create a project with a context
* Enable-Migrations
* Set MigrationsDirectory to "\Test"
* Add-Migration InitialCreate

Result:
The entire contents of your project folder (csproj, bin, etc.) is copied into a sub folder in your project with the same name as your project folder.

![Image](http://entityframework.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=entityframework&WorkItemId=938&FileAttachmentId=634878)



Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>