![]() |
Building ToolkitPro v20.2 in Visual Studio 2022 |
Post Reply ![]() |
Author | |
astoyan ![]() Admin Group ![]() ![]() Joined: 24 August 2013 Status: Offline Points: 254 |
![]() ![]() ![]() ![]() ![]() Posted: 08 February 2022 at 7:48am |
Official Visual Studio 2022 support has not been added yet indeed, it'll be available only in ToolkitPro v20.3, i.e. the next update. Though Deploy Wizard doesn't have it, it doesn't mean the code cannot be compiled in Visual Studio 2022, it is actually perfectly compatible in ToolkitPro v20.2 already. It only requires tweaking ToolkitPro project files in order to be able to build it in Visual Studio 2022. Here are simple steps to achieve it: 1. Make a backup copy of C:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v20.2.0\Workspace\ToolkitPro 2. Assuming you have installed projects for Visual Studio 2019, open ToolkitProShared_vc160.vcxproj and ToolkitProStatic_vc160.vcxproj in Notepad or any other plain text editor and replace all occurrences of 'v142' with 'v143' and save the changes as ToolkitProShared_vc170.vcxproj and ToolkitProStatic_vc170.vcxproj respectively. 3. Open ToolkitPro_vc160.sln in a plaint text editor and replace all occurrences of vc160 with vc170 and save the file as Open ToolkitPro_vc170.sln 3. Open ToolkitPro_vc170.sln in Visual Studio 2022 4. For each project and required configuration set Advanced -> MSVC Toolset Version to 14.30.XXXXX value that is available in the dropdown list 5. Save changes and build the needed ToolkitPro configurations using Build -> Batch Build menu option If it builds without any errors then you have your libraries ready to be used with Visual Studio 2022 project. Please note that the compiled libraries will still have vc160 in their names instead of vc170. It won't cause any linking issue as autolinking in v20.2 will still use vc160 suffix for all libraries.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |