change MoonTools.Structs to a package reference
continuous-integration/drone/push Build is passing Details

main
Evan Hemsley 2020-07-15 18:34:38 -07:00
parent 913839edde
commit f5baa1c093
1 changed files with 3 additions and 13 deletions

View File

@ -16,19 +16,11 @@ However, if you treat positions as simple integer pixels, you will run into prob
There are actually techniques for *subpixel* rendering. But let's ignore that for now.
{{% /notice %}}
Go to your terminal program, make sure that you are in the PongFE top-level directory, and do:
```sh
git add submodule https://gitea.moonside.games/MoonsideGames/MoonTools.Structs.git
```
Then, add the project as a *ProjectReference* in PongFE.Framework.csproj:
Let's add the MoonTools.Structs package as a *PackageReference* in PongFE.Framework.csproj:
```xml
<ItemGroup>
<ProjectReference Include="..\FNA\FNA.csproj"/>
<ProjectReference Include="..\encompass-cs\encompass-cs\encompass-cs.csproj" />
<ProjectReference Include="..\MoonTools.Structs\Structs\Structs.csproj" />
<PackageReference Include="MoonTools.Structs" Version="3.0.1"/>
</ItemGroup>
```
@ -36,9 +28,7 @@ and PongFE.Core.csproj:
```xml
<ItemGroup>
<ProjectReference Include="..\FNA\FNA.Core.csproj"/>
<ProjectReference Include="..\encompass-cs\encompass-cs\encompass-cs.csproj" />
<ProjectReference Include="..\MoonTools.Structs\Structs\Structs.csproj" />
<PackageReference Include="MoonTools.Structs" Version="3.0.1"/>
</ItemGroup>
```