Page 1 of 1

Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Jul 29, 2017 2:59 pm
by yiannis128
I generate the solution from the blank template and when I open the solution file in Visual Studio 2017 I get the following errors:

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Jul 29, 2017 4:42 pm
by cry-miron
Currently you can only run the C# solution with Xamarin Studio with the CRYENGINE Add-in. You can find instructions on where to get Xamarin and how to install the add-in on the documentation page.
The C# project has a special type which makes it possible to debug your project, but only if you have the add-in that support that project type.

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Jul 29, 2017 5:39 pm
by yiannis128
Thanks for clearing that out :). when will Visual Studio 2017 be supported?

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Jul 29, 2017 10:50 pm
by dr124
I've managed to open it in VS2017: Tools > Extensions and updates > Updates
and update all that isn't up-to-date :)

it should fix it, but if the problem is still unsolved, open the .csproj file and look for (at the beginning)

Code: Select all

<ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
change it to:

Code: Select all

<ProjectTypeGuids>{AE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
or comment it:

Code: Select all

<!-- <ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> -->

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Mon Jul 31, 2017 9:08 am
by cry-miron

Code: Select all

<ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
change it to:

Code: Select all

<ProjectTypeGuids>{AE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
This would make it possible to open the solution with Visual Studio, but do keep in mind that this prevents you from debugging the application.

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Aug 05, 2017 9:21 pm
by yiannis128

Code: Select all

<ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
change it to:

Code: Select all

<ProjectTypeGuids>{AE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
This would make it possible to open the solution with Visual Studio, but do keep in mind that this prevents you from debugging the application.
I've managed to open it in VS2017: Tools > Extensions and updates > Updates
and update all that isn't up-to-date :)

it should fix it, but if the problem is still unsolved, open the .csproj file and look for (at the beginning)

Code: Select all

<ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
change it to:

Code: Select all

<ProjectTypeGuids>{AE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
or comment it:

Code: Select all

<!-- <ProjectTypeGuids>{E7562513-36BA-4D11-A927-975E5375ED10};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> -->
Thanks, this worked wonders :D

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sat Aug 05, 2017 9:49 pm
by fury22uk
This may also help
viewtopic.php?f=11&t=1446

Re: Can't open 5.4 Preview solution in VS 2017.

Posted: Sun Aug 06, 2017 9:26 am
by yiannis128
This may also help
viewtopic.php?f=11&t=1446
Thanks for the tutorial :)