Hi,
This namespace changing has shown me an interesting issue.
I have a VSIX loaded which is compiled against EF5 extensibility dll using IModelTransformExtension.
I've just installed EFTools.msi, and in a client that uses a Model1.edmx file, I've added EF6 -Pre.
As soon as I go to open the Model1.edmx I get an error:
Cannot cast the underlying exported value of type 'MultiFileEDMX.ModelTransformExtension (ContractName="Microsoft.Data.Entity.Design.Extensibility.IModelTransformExtension")'
to type 'Microsoft.Data.Entity.Design.Extensibility.IModelTransformExtension'. C:\DB\Dropbox\VS\VS12\EF\CGTE\MultiFileEdmx\MultiFileEdmxVs2012\MultiFileEdmxVs2012\MultiFileEdmxTest\MultiFileEdmxTest\Model1ef6.edmx
Don't worry what VSIX it is. If I Disable the VSIX, the problem goes away.
The point I'm making is that if I want to use Model First, my VS2012 cannot support both EF5 and EF6 at the same time.
A VSIX vendor is going to have to have two types available.
And the VS2012 User is going to to have switch Extensions versions or wait until all EF6 compatible ones are available.
(Also, I have Update 3 RC loaded)
What do you suggest?
Thanks
This namespace changing has shown me an interesting issue.
I have a VSIX loaded which is compiled against EF5 extensibility dll using IModelTransformExtension.
I've just installed EFTools.msi, and in a client that uses a Model1.edmx file, I've added EF6 -Pre.
As soon as I go to open the Model1.edmx I get an error:
Cannot cast the underlying exported value of type 'MultiFileEDMX.ModelTransformExtension (ContractName="Microsoft.Data.Entity.Design.Extensibility.IModelTransformExtension")'
to type 'Microsoft.Data.Entity.Design.Extensibility.IModelTransformExtension'. C:\DB\Dropbox\VS\VS12\EF\CGTE\MultiFileEdmx\MultiFileEdmxVs2012\MultiFileEdmxVs2012\MultiFileEdmxTest\MultiFileEdmxTest\Model1ef6.edmx
Don't worry what VSIX it is. If I Disable the VSIX, the problem goes away.
The point I'm making is that if I want to use Model First, my VS2012 cannot support both EF5 and EF6 at the same time.
A VSIX vendor is going to have to have two types available.
And the VS2012 User is going to to have switch Extensions versions or wait until all EF6 compatible ones are available.
(Also, I have Update 3 RC loaded)
What do you suggest?
Thanks