Skip to content

Commit

Permalink
feat: Allow treat Avalonia Access Unstable Private Apis Warning as Er…
Browse files Browse the repository at this point in the history
…ror (AvaloniaUI#13937)

* feat: Allow treat Avalonia Access Unstable Private Apis Warning as Error

* fix: Address review
  • Loading branch information
workgroupengineering authored Dec 14, 2023
1 parent 73f7fd1 commit 9c94e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Avalonia/AvaloniaPrivateApis.targets
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<ReferencePath Include="$(MSBuildThisFileDirectory)/../lib/$(AvaloniaUnstableApiFrameworkToUse)/*.dll"/>
<ReferencePathWithRefAssemblies Include="$(MSBuildThisFileDirectory)/../lib/$(AvaloniaUnstableApiFrameworkToUse)/*.dll"/>
</ItemGroup>
<Warning Text="AvaloniaAccessUnstablePrivateApis is Enabled: This means you are using unstable internal APIs, and your code may be depending on APIs which may change or be removed in future versions of Avalonia. Set AvaloniaAccessUnstablePrivateApis to 'False' to disable this warning." />
<Warning Code="AVA3001" Text="AvaloniaAccessUnstablePrivateApis is Enabled: This means you are using unstable internal APIs, and your code may be depending on APIs which may change or be removed in future versions of Avalonia. Set AvaloniaAccessUnstablePrivateApis to 'False' to disable this warning." />
</Target>
</Project>

0 comments on commit 9c94e92

Please sign in to comment.