Page 1 of 1

C# in Viusal Studio

Posted: Wed Jan 31, 2018 11:54 am
by arygholo
Hi I'm trying to code with c# for my project I generated solution with the .cryproject file and a .sln file named 'Game' was created in Code folder of the project root folder.
when I tried to open Game.sln file with Visual Studio 2017 professional (and with 2013 ultimate also) it wasn't working and gave me this error:

Code: Select all

Unsupported This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK. - Game, "F:\Cry.ir\UI_Tutorial\Code\Game\Game.csproj" No changes required These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them. - Game, "F:\Cry.ir\UI_Tutorial\Code\Game.sln"

Re: C# in Viusal Studio

Posted: Wed Jan 31, 2018 12:17 pm
by craftycry
Visual Studio is not fully supported for C# yet. You can tweak the project file as detailed under 'Running C# in Visual Studio 2015 & 2017' here:
http://docs.cryengine.com/display/CEPRO ... rogramming#

It won't have debugging support however. Xamarin is the currently supported IDE until Crytek release their C# Visual Studio extension.

Re: C# in Viusal Studio

Posted: Wed Jan 31, 2018 3:52 pm
by arygholo
Thank you very much man you saved my life!!!
It worked by editing the csproj file.
Thank youuuuuuuuuuu!!!!!!!!!!!!!!!!!!