Prism
Prism copied to clipboard
[BUG] Uno.WinUI windows target is broken
Description
Uno.WinUI target has some missing dependencies and nuget package 8.1.97
is not compatible with current version of Uno.WinUI
targeting net6.0
Steps to Reproduce
- clone
master
- build PrismLibrary_Uno.sln
- It fails
Platform with bug
Uno Platform - WinUI
Affected platforms
Windows
Did you find any workaround?
I have changed conditionals in Prism.Uno.WinUI.csproj
Relevant log output
....
D:\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(188,47): error CS0246: The type or namespace name
'DependencyObject' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\module
s\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(201,45): error CS0246: The type or namespace name
'DependencyObject' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\module
s\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(242,44): error CS0246: The type or namespace name
'DependencyObject' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\module
s\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(51,32): error CS0246: The type or namespace name '
DependencyProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\modul
es\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(84,33): error CS0246: The type or namespace name '
DependencyProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\modul
es\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(140,32): error CS0246: The type or namespace name
'DependencyProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\modu
les\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
D:\Prism\src\Wpf\Prism.Wpf\Regions\RegionManager.cs(172,32): error CS0246: The type or namespace name
'DependencyProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\blav-app\modu
les\Prism\src\Uno\Prism.Uno\Prism.Uno.WinUI.csproj]
7 Warning(s)
141 Error(s)
Found this issue after I hit this https://github.com/unoplatform/uno/issues/9396
This should have been fixed by #2822