Skip to content

Commit eb094df

Browse files
authored
Fix package issues (#61)
1 parent 057853d commit eb094df

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Icons/OxyPlot_128.png

3.4 KB
Loading

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ To use the library, add the following to your `App.xaml`:
2222

2323
<!-- Add the line below to get OxyPlot UI theme applied. -->
2424
<StyleInclude Source="resm:OxyPlot.Avalonia.Themes.Default.xaml?assembly=OxyPlot.Avalonia"/>
25+
26+
<!-- Add the line below to get OxyPlot UI theme applied in Avalonia 11. -->
27+
<StyleInclude Source="avares://AvaloniaEdit/Themes/Simple/AvaloniaEdit.xaml"/>
2528
</Application.Styles>
2629
</Application>
2730
```

Source/OxyPlot.Avalonia/OxyPlot.Avalonia.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
88
<Copyright>OxyPlot contributors</Copyright>
99
<PackageProjectUrl>http://oxyplot.org/</PackageProjectUrl>
10-
<PackageIconUrl>https://raw.githubusercontent.com/oxyplot/oxyplot/develop/Icons/OxyPlot_128.png</PackageIconUrl>
10+
<PackageIcon>OxyPlot_128.png</PackageIcon>
11+
<PackageReadmeFile>README.md</PackageReadmeFile>
1112
<PackageTags>plotting plot charting chart</PackageTags>
1213
<RepositoryType>git</RepositoryType>
1314
<RepositoryUrl>https://github.com/oxyplot/oxyplot.git</RepositoryUrl>
1415
<VersionPrefix>2.1.2</VersionPrefix>
1516
<LangVersion>latest</LangVersion>
1617
</PropertyGroup>
1718

19+
<ItemGroup Condition="$(GeneratePackageOnBuild)">
20+
<None Include="$(MSBuildThisFileDirectory)../../Icons/OxyPlot_128.png" Pack="true" PackagePath="\" Visible="false" />
21+
<None Include="$(MSBuildThisFileDirectory)../../README.md" Pack="true" PackagePath="\" Visible="false" />
22+
</ItemGroup>
23+
1824
<ItemGroup>
1925
<Compile Update="**\*.xaml.cs">
2026
<DependentUpon>%(Filename)</DependentUpon>

0 commit comments

Comments
 (0)