Skip to content
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

NET 6.0 #13

Open
puckkk opened this issue Apr 20, 2022 · 2 comments
Open

NET 6.0 #13

puckkk opened this issue Apr 20, 2022 · 2 comments

Comments

@puckkk
Copy link

puckkk commented Apr 20, 2022

Hello and thanx for your beautiful work. I'm still using it, because WPF still not have a D3D solution. As the years go by, I now need to port MediacaputreWPF on NET 6.0. I tried to get it working: everything is compiling, but I get and exception (invalid cast exception in WINRT) that i do not understand when I try to start the preview. The NET 6.0 version is here: https://github.com/puckkk/MediaCaptureWPF-master-mmaitre-net-6.0
Do you have any ideas?

@HappyMax0
Copy link

net6.0-windows10.0.19041.0 10.0.17763.0 enable true WinExe

@HappyMax0
Copy link

<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net6.0-windows10.0.19041.0</TargetFramework> <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> <Nullable>enable</Nullable> <UseWPF>true</UseWPF> <OutputType>WinExe</OutputType> </PropertyGroup> </Project>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants