mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
Cannot build - CS0246 - unknown Schemas, TrackTypeTrackType, CICMMetadataType and so on #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Arrrrrrachno on GitHub (Dec 20, 2020).
Originally assigned to: @mnadareski on GitHub.
Version
What version are you using?
tried github master and 1.18
Build
What runtime version are you using?
cannot build --> no runtime used, but 4.8 is installed
Describe the issue
I try to build the project with Visual Studio 2019 Community Edition and it fails in [MPF/DICUI].Library\Aaru\Parameters.cs.
It complains with CS0246 in different lines, first one is in line 14, the next in line 2201.
In general it cannot find "Schemas" and a lot of data types like TrackTypeTrackType, TragFlagsType and so one.
Probably because of [MPF/DICUI].Library is failing to build, everything else could not be build, too (dependencies). Thus all 5 projects failed.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
no errors on build
Additional context
I tried to find a solution online, but "Schemas" is not a very good word to search for. And with other words like "TrackTypeTrackType" I had zero hits. There is probably missing some source code, but in wiki (https://github.com/SabreTools/MPF/wiki/Build-a-Local-Copy) there is nothing additional -- as far as I can see. In shorts it's written the "to Reproduce" steps.
What am I missing?
@mnadareski commented on GitHub (Dec 20, 2020):
I should probably add a mention there, but you need to run
git submodule initto pull down the required project. This isn't a bug, but I do consider it an oversight in my documentation, so I'll leave this open until I fix it.@mnadareski commented on GitHub (Dec 20, 2020):
I've updated the documentation accordingly. Sorry for missing that step in the instructions.