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

Edited Issue: Upgrade MDF file event not fired on VS2012 when both VS2012 and VS2013 installed on the same box [1647]

$
0
0
On a machine with both VS2012 and VS2013 the designer will throw an Assert in VS2012 saying "sqlDatabaseFileUpgradeService service is null" and the even to handle MDF file upgrade will not be registered. The root cause is that the EntityDesignPackage project is not compiled against a versioned reference to the Microsoft.VisualStudio.DataDesign.Interfaces.dll and at runtime a type from Microsoft.VisualStudio.DataDesign.Interfaces.dll, 12.0.0.0 is used rather than the one from Microsoft.VisualStudio.DataDesign.Interfaces.dll, 11.0.0.0. This is a regression from the original tooling that shipped with VS2012.
The fix is to add the version to the reference in the csproj file.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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