Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm developing a basketball game using SlimDX and encountering an error related to camera initialization.
private GameplayScreen()
{
_camera = new LookAtCamera
{
Position = new Vector3(0, 2, -15)
};
}
The following error occurs:
Error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
What could be causing this issue, and how can it be resolved?