I am using Entity Framework 7 RC1 and I have the entities:
public class Post {
public Int32 Id { get; set; }
public String Title { get;
I would say that you don't need to explicitly declare your foreign keys in EF CodeFirst the framework will handle it for you. So remove these properties from the PostTag class
public Int32 PostId { get; set; }
public Int32 TagId { get; set; }
And then remove these two lines from your configuration then try the save again. You will probably need to update your DB Model before saving.
b.HasKey(x => new { x.PostId, x.TagId });
b.HasOne(x => x.Post).WithMany(x => x.PostsTags).HasForeignKey(x => x.PostId);
b.HasOne(x => x.Tag).WithMany(x => x.PostsTags).HasForeignKey(x => x.TagId);