-
Notifications
You must be signed in to change notification settings - Fork 104
Missing Windows.Imaging namespace #174
Hi! I am getting familiarized with psi using the provided samples. I'm now on the webcam with the audio sample, and I'm unable to include the System.Windows.Media.Imaging namespace and I'm using NET Core 3.1. Does anyone know the solution to this?
All reactions
I think the easiest approach will be to recreate the project as a WPF app targeting .NET Framework 4.7.2. That should allow you to include System.Windows.Media.Imaging. The .csproj for the sample should look something like the following at the top:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>WinExe</OutputType>
...
Replies: 1 comment 1 reply
I think the easiest approach will be to recreate the project as a WPF app targeting .NET Framework 4.7.2. That should allow you to include System.Windows.Media.Imaging. The .csproj for the sample should look something like the following at the top:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>WinExe</OutputType>
...
All reactions
Awesome thank you!