Skip to content

[Feature] Modify the .NET part of the NuGet package so that .NET applications can be created without CsWinRT. #801

@operatortwo

Description

@operatortwo

Currently, a .Net project requires the Midi2 and the CsWinRT NuGet package for creation.
CsWinRT is probably not needed, since in this step the NetProjection is only consumed and not created.
Currently, the build process returns the error NETSDK1130 if CsWinRT is omitted. The cause is likely a reference to Midi2.winmd and the Midi2.winmd file in the .NET parts of the NuGet package. It seems that CsWinRT is only needed to make the error message disappear.

Describe the solution you'd like
The .NET parts of the NuGet package should not contain a reference to Midi2.winmd or a Midi2.winmd file.

Describe alternatives you've considered
Leave it as it is until it has been reviewed and confirmed by experienced members of the C# community. I'm not a professional and I'm new to .NET(8/10) and WinRT.

Microsoft.Windows.Devices.Midi2.1.0.13-preview.13.192.nupkg

Image

Metadata

Metadata

Assignees

Labels

fixed-awaiting-public-release 🕙Fixed in our internal builds. Waiting to make its way to a public release.todo 🗃️Not really a bug just something we need to do that is useful to track in the open.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions