-
Notifications
You must be signed in to change notification settings - Fork 321
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
How to harvest CsWinRT projection WinMD files in single-project NET8 app for ActivatableClass #4799
Comments
@manodasanW can you investigate, or move this Issue to the appropriate repo for discussion (https://github.com/microsoft/CsWinRT). |
additional info: |
What's the recommended way of automatically harvesting the WinRT definitions from NuGet referenced WinMD files.
Current situation:
I have several NuGet packages that provide - for .net8 - a CsWinRT projection. This has a lib/net8.0-windows10/Component.Projection.dll.
In that NuGet package for uap10 and netstandard2.0 support I included the WinMD file as a copy.
On .NET8 I have a targets file with ItemGroup
<CsWinRTInclude Include="..\..\lib\netstandard2.0\Component.winmd" />
.As this is not part of either the
<Reference>
-group, nor available anywhere else, what's the intended way to consume a CsWinRT projection library, while not having to manually include all ActivatableClass-definitions in the AppX manifest?I tried with
But that doesn't work.
The text was updated successfully, but these errors were encountered: