-
Notifications
You must be signed in to change notification settings - Fork 60
Extension package should have dependency on Microsoft.VisualStudio.Component.DslTools
#293
Comments
There shouldn't be a dependency on DslTools being installed. I'll investigate. |
Additional info (screenshot and activity log): |
This only happens in absence of DslTools. When I install DslTools EFDesigner works properly. |
The error shown in the ActivityLog occurred when the extension tried to load the MEF assemblies, which support the context menus (among other features). All that's included in Which version of the extension were you trying to install? |
I've spent some time investigating this issue further. Here are my findings. I have The
I hope this helps! |
- Fixed a number of issues with importing compiled assemblies - Fixed coloring of cascade delete associations when flagged on the model (see #291) - Fixed missing '$' in generator template that was generating bad code for table schemas (see #289) - Restored auto-instantiation of dependent objects in entity constructors (see #287) - Added Microsoft.VisualStudio.Modeling.Components.15.0.dll to DslPackage assembly (see #293)
Ты гений! Based on the information you supplied, I was able to reproduce the issue and have baked |
Oh, I hardly think so))) But thanks anyway! I installed your VSIX. Version is There are 2 cases.
Maybe you can figure out what's wrong. I've attached an archive with a complete dependency tree of DSL runtime packages from VS Installer: |
Thanks for the testing. I'll dig some more. |
I have to admit I was wrong initially. It turns out the correct package is If one of this packages will be added as dependency then, I suppose, the following files can be safely removed from EF Designer:
|
I see that you've added EFDesigner/src/DslPackage/DslPackage.csproj Lines 89 to 91 in ffb4465
Have you tried the following? 1. Remove the mentioned reference from the 2. Add EFDesigner/src/DslPackage/DslPackage.csproj Lines 314 to 319 in ffb4465
Code to add: <Content Include="Microsoft.VisualStudio.Modeling.Components.15.0.dll">
<IncludeInVSIX>true</IncludeInVSIX>
</Content> 3. Add EFDesigner/src/DslPackage/source.extension.tt Lines 38 to 44 in ffb4465
Code to add: <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="File" Path="Microsoft.VisualStudio.Modeling.Components.15.0.dll" /> |
It's possible to install EFDesigner extension on Visual Studio without DslTools installed. In this case extension doesn't work (including options page).
It would be convenient to explicitly include corresponding dependency in the package.
The text was updated successfully, but these errors were encountered: