Skip to content

Commit

Permalink
chore: Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Youssef Victor <youssefvictor00@gmail.com>
Co-authored-by: Agnès ZITTE <16295702+agneszitte-nventive@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 20, 2023
1 parent f26f66b commit 9983493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/uno.winui.winappsdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<Target Name="_FindInvalidWinAppSDKUnoPlatformReference"
BeforeTargets="ResolveAssemblyReferences"
Condition="'$(UnoDisableUNOB0002Validation)'==''">
Condition="'$(UnoDisableUNOB0002Validation)'!='true'">

<PropertyGroup>
<_UnoPlatformProperty>_IsUnoPlatform=true</_UnoPlatformProperty>
Expand Down
2 changes: 1 addition & 1 deletion doc/articles/uno-build-error-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ uid: Build.Solution.error-codes

This error code means that a project has determined what both `Uno.WinUI` and `Uno.UI` packages are referenced.

To fix this issue, you may be explicitly referencing `Uno.UI` and `Uno.WinUI` in your `csproj`, or you may be referencing a NuGet package which is incompatible with your current project's configuration.
To fix this issue, you may be explicitly referencing `Uno.UI` and `Uno.WinUI` in your `csproj`, or you may be referencing a NuGet package that is incompatible with your current project's configuration.

For instance, if your project references `Uno.WinUI`, and you try to reference `SkiaSharp.View.Uno`, you will get this error. To fix it, you'll need to reference `SkiaSharp.View.Uno.WinUI` instead.

Expand Down

0 comments on commit 9983493

Please sign in to comment.