-
-
Notifications
You must be signed in to change notification settings - Fork 96
Adding Reference to Myra
Roman Shapiro edited this page Jul 26, 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) -
Through source code:
a. Add Myra source code to the project(i.e. as git submodule).
b. Copy SolutionDefines.targets from build/MonoGame(or 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.
c. Add src/Myra/Myra.csproj to the solution.