The following is based on the guide from https://docs.microsoft.com/en-us/cpp/build/how-to-modify-the-target-framework-and-platform-toolset?view=vs-2019 In Solution Explorer, select your project. Menu > Project > Unload project (only shown when you have the pruoject selected) This unloads the project (.vcxproj) file for your project. Menu > File > Open > File > In the Open File dialog box, navigate to your […]
Select 'Configuration Manager' Active solution configuration > Release Active solution platform > Select New. Then select x64 and it will create the new configuration (if it doesn't exist then 64bit compilers are not installed) To build the x64 executable just select x64 from the projects drop down on the toolbar. Note that it will be created in a […]
Upgrading A Project Make a backup copy and then open the project using VS2013. After the migration delete all of the old ".vcproj" files
Running an ap as a Windows service causes it to run in the SYSTEM account.
This is our internal check list to create a new Windows Forms Project Create a ‘CLR’ > ‘Windows Forms Application’. This selects a C++/CLI project and will automatically set the /clr compiler option. For VS2013 and onwards… Microsoft have decided to discourage using C++ for new windows for applications, instead preferring people to use C# […]
There can be an issue with the intellisense .ncb file. If the no compile browser (.ncb) file located at the root of your project directory is read-only or becomes corrupt in some manner, IntelliSense information will no longer be available. To fix this, do the following: Close the solution. Delete the .ncb file. Reopen the […]
Copy the project to a new project directory Open it and rebuild it to ensure it builds correctly. In solution explorer right click the solution > Rename In solution explorer right click the project > Rename Below here may need updating…. Rename the main project files to the new project name Open project by running […]