Skip to content

Commit 2c63232

Browse files
authored
Mention the updated NuGet package
1 parent 383dd50 commit 2c63232

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

README.md

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,7 @@
22

33
# OxyPlot.Avalonia
44

5-
[OxyPlot](https://github.com/oxyplot) is a plotting library for .NET. This package targets Avalonia applications.
6-
7-
### Installation
8-
9-
To access the latest version of `OxyPlot.Avalonia` you can add this repo as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to your own git repo:
10-
11-
```sh
12-
mkdir ./external
13-
git submodule add git@github.com:oxyplot/oxyplot-avalonia.git ./external/oxyplot-avalonia
14-
# Reference the ../external/oxyplot-avalonia/Source/OxyPlot.Avalonia/OxyPlot.Avalonia.csproj project then.
15-
```
16-
17-
Another way is to import our [Azure Artifacts NuGet package feed](https://worldbeater.visualstudio.com/OxyPlot.Avalonia/_packaging) by creating the following `nuget.config` file:
18-
19-
```xml
20-
<?xml version="1.0" encoding="utf-8"?>
21-
<configuration>
22-
<packageSources>
23-
<clear /> <!-- Add other external NuGet package sources here -->
24-
<add key="OxyPlot.Avalonia-CI" value="https://worldbeater.pkgs.visualstudio.com/OxyPlot.Avalonia/_packaging/OxyPlot.Avalonia-CI/nuget/v3/index.json" />
25-
</packageSources>
26-
</configuration>
27-
```
28-
29-
Next, install the latest preview version of the `OxyPlot.Avalonia` package as such:
5+
[OxyPlot](https://github.com/oxyplot) is a plotting library for .NET. This [package](https://www.nuget.org/packages/OxyPlot.Avalonia) targets Avalonia applications.
306

317
```
328
dotnet add package OxyPlot.Avalonia
@@ -67,3 +43,32 @@ Then, you can add plots to your application, as such:
6743
```
6844

6945
See the [AvaloniaExamples](https://github.com/oxyplot/oxyplot-avalonia/tree/master/Source/Examples/Avalonia/AvaloniaExamples) project and [OxyPlot Documentation](https://readthedocs.org/projects/oxyplot/downloads/pdf/latest/) to learn how to create more complex plots.
46+
47+
48+
### Installing Preview Versions
49+
50+
To access the latest version of `OxyPlot.Avalonia` you can add this repo as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to your own git repo:
51+
52+
```sh
53+
mkdir ./external
54+
git submodule add git@github.com:oxyplot/oxyplot-avalonia.git ./external/oxyplot-avalonia
55+
# Reference the ../external/oxyplot-avalonia/Source/OxyPlot.Avalonia/OxyPlot.Avalonia.csproj project then.
56+
```
57+
58+
Another way is to import our [Azure Artifacts NuGet package feed](https://worldbeater.visualstudio.com/OxyPlot.Avalonia/_packaging) by creating the following `nuget.config` file:
59+
60+
```xml
61+
<?xml version="1.0" encoding="utf-8"?>
62+
<configuration>
63+
<packageSources>
64+
<clear /> <!-- Add other external NuGet package sources here -->
65+
<add key="OxyPlot.Avalonia-CI" value="https://worldbeater.pkgs.visualstudio.com/OxyPlot.Avalonia/_packaging/OxyPlot.Avalonia-CI/nuget/v3/index.json" />
66+
</packageSources>
67+
</configuration>
68+
```
69+
70+
Next, install the latest preview version of the `OxyPlot.Avalonia` package as such:
71+
72+
```
73+
dotnet add package OxyPlot.Avalonia
74+
```

0 commit comments

Comments
 (0)