microsoft / microsoft/Windows-classic-samples
Update ShareSource sample to .net 5
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 5.7k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
.NET 5 changes the interop between C# and the WinRT types quite significantly and the method you show in the WPF ShareSource sample does not work with WPF apps based on .NET 5.
Could you update this sample?
I am asking because I cannot get it to work.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the WPF ShareSource sample referenced in the issue and compare its interop approach with the .NET 5 requirements. Update the sample so it works in WPF applications based on .NET 5, then verify that the sharing scenario can run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100