-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to create add-ins (and similar scenarios) #30342
Comments
We do have a decent story for the 'knock out' part via the |
How does that work for inner loop or |
Another option is that the plugin host provides a package with |
Not sure if this fits the request but we have a guide and a sample for an app with plugins: And it does discuss the exclusion of some dependencies...: <ItemGroup>
<ProjectReference Include="..\PluginBase\PluginBase.csproj">
<Private>false</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
</ItemGroup> The sample app is here: https://github.com/dotnet/samples/tree/main/core/extensions/AppWithPlugin |
This doesn't work well in the project graph. If someone else brings in a reference to one of the excluded packages - even at a lower version - it will be included again. Conflict resolution is a better example of how we should drop components provided by the host. That's how shared frameworks work today. |
@RickStrahl is asking for guidance on creating add-ins: https://twitter.com/RickStrahl/status/1551342858774319104. We don't have a doc on that, AFAIK.
I believe the scenario is this:
We don't have a good way of doing this today. That's what dotnet/runtime#71282 is hoping to enable. The question is whether we have any facility for this today. It sounds like #30341 delivers at least part of that.
Related to
ProjectReference
s NuGet/Home#11708@vitek-karas @rainersigwald @JonDouglas @baronfel @mhutch
The text was updated successfully, but these errors were encountered: