Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

PlayFab NuGet package Compiles/link in Debug mode but not in Release

$
0
0

I have a custom-made game engine and want to integrate PlayFab into it. I made Sandbox project to try it out. I read the documentation and it instructs the following:

  1. Download com.playfab.xplatcppsdk.vXXX (Success)
  2. Make sure it builds in Release mode (Success)
  3. Copy sample code (Success)
  4. Run the project, select Debug > Start Debugging (Failed)

I am having issues with step 4. It links, compiles, and run with no issues at all in Debug mode. However, in Release mode, it does not link properly. Here are the errors:

  1. 1>LINK : fatal error C1047: The object or library file 'C:...\repos\Sandbox\packages\com.playfab.xplatcppsdk.v141.3.87.220804\build\native\lib\x64\Release\lib_json.lib' was created by a different version of the compiler than other objects like 'x64\Release\Main.obj'; rebuild all objects and libraries with the same compiler
  2. 1>LINK : fatal error LNK1257: code generation failed

I am looking into building the SDK from scratch after running into this, because I am so close to start the actual game development and do not intend to ship an executable made in Debug mode, but I would like to have the NuGet package working. Does anyone know how to fix this?

Here are the links to the documentation:

UpdateIt's been a week now trying to figure out the documentation to make this work. GameLift from AWS is starting to look more promising.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>