-
-
Notifications
You must be signed in to change notification settings - Fork 96
Adding Reference to Myra
Roman Shapiro edited this page Sep 7, 2019
·
29 revisions
There are two ways of referencing Myra in the project:
-
Through nuget:
install-package Myra
for MonoGame(orinstall-package Myra.FNA
for FNA) -
As submodule:
a.
git submodule add https://github.com/rds1983/Myra.git
b.
git submodule update --init --recursive
c. Copy SolutionDefines.targets from Myra/build/MonoGame(or Myra/build/FNA) to your solution folder.
- If FNA is used, SolutionDefines.targets needs to be edited and FNAProj variable should be updated to the location of FNA.csproj next to the Myra location.
d. Add Myra/src/Myra/Myra.csproj to the solution.