Skip to content

Commit 6baaa0e

Browse files
committed
Added temp package usage section.
1 parent 8187e7e commit 6baaa0e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,29 @@ Run a specific test
8787
dotnet test -v n --framework net8.0 --filter "test-file-pattern"
8888
```
8989

90+
## Using the PowerSync.Common package in your project (temporary)
91+
A NuGet package will be available soon, until then you clone this repo and follow these steps:
92+
93+
Add the dependency to your project's .csproj:
94+
```.xml
95+
<ItemGroup>
96+
<ProjectReference Include="..\..\powersync-dotnet\PowerSync\Powersync.Common\PowerSync.Common.csproj" />
97+
</ItemGroup>
98+
```
99+
100+
Which assumes the following directory structure:
101+
```
102+
code/
103+
powersync-dotnet (X)
104+
├── PowerSync/PowerSync.Common
105+
│ ├── PowerSync.Common.csproj
106+
│ ├── Class1.cs
107+
│ └── Utils.cs
108+
└── root.sln
109+
110+
your-project
111+
├── demo
112+
│ ├── Program.csproj
113+
│ └── Program.cs
114+
├── root.sln
115+
```

0 commit comments

Comments
 (0)