In Visual Studio 2015, I open a project that was created with Visual Studio 2013. Rebuild this project and see the following warning:
The referenced component 'System.Runtime' could not be found.
Looking at the References item in Solution Explorer, click System.Runtime, the Property window shows empty as below:
In Visual Studio 2013, it shows:
And this DLL does exist in the foler: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Facades
So Visual Studio 2013 didn't whow warnings when I build the project, but Visual Studio 2015 does.
Is this a bug or I miss something in Visual Studio 2015?
Your PC has not run Windows Update in a long time, so long in fact that you do not have the Windows security updates required to install Visual C++ Redistributable for Visual Studio 2015. Solution:
DirectX 9-capable video card (1024 x 768 or higher resolution) DirectX 9-capable video card (1024 x 768 or higher resolution) See the Installing Visual Studio page for detailed information on installing Visual Studio 2015. These versions of Visual Studio works best with Internet Explorer 10 or later.
Starbound now uses Visual Studio 2015 for the windows builds, which means you need the Visual C++ 2015 runtime to run Starbound on windows. When you run starbound on steam it should automatically install both the 32 bit and the 64 bit versions of the Visual C++ 2015 runtime.
Include System.Runtime.InteropServices.RuntimeInformation
instead of System.Runtime
. It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With