I'm having this issue with the latest version of Unity, 2017.4.0f1 (64 bit). The only thing I do after opening a new project and importing the Unity Core package is the following: set Experimental (.NET 4.6) scripting runtime, IL2CPP backend, and .NET 4.6 API compatibility, then build for UWP (default options with 'virtual reality supported' checked).
What's really strange is that both this test program and my actual program function fine in the Unity Editor with the Play button, but fail during build with the original poster's error (and about 222 others related to missing classes like 'Frame'). Any ideas?