change MoonTools.Structs to a package reference
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
913839edde
commit
f5baa1c093
|
@ -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.
|
There are actually techniques for *subpixel* rendering. But let's ignore that for now.
|
||||||
{{% /notice %}}
|
{{% /notice %}}
|
||||||
|
|
||||||
Go to your terminal program, make sure that you are in the PongFE top-level directory, and do:
|
Let's add the MoonTools.Structs package as a *PackageReference* in PongFE.Framework.csproj:
|
||||||
|
|
||||||
```sh
|
|
||||||
git add submodule https://gitea.moonside.games/MoonsideGames/MoonTools.Structs.git
|
|
||||||
```
|
|
||||||
|
|
||||||
Then, add the project as a *ProjectReference* in PongFE.Framework.csproj:
|
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\FNA\FNA.csproj"/>
|
<PackageReference Include="MoonTools.Structs" Version="3.0.1"/>
|
||||||
<ProjectReference Include="..\encompass-cs\encompass-cs\encompass-cs.csproj" />
|
|
||||||
<ProjectReference Include="..\MoonTools.Structs\Structs\Structs.csproj" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,9 +28,7 @@ and PongFE.Core.csproj:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\FNA\FNA.Core.csproj"/>
|
<PackageReference Include="MoonTools.Structs" Version="3.0.1"/>
|
||||||
<ProjectReference Include="..\encompass-cs\encompass-cs\encompass-cs.csproj" />
|
|
||||||
<ProjectReference Include="..\MoonTools.Structs\Structs\Structs.csproj" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue