Ensure you have installed the latest Windows 10 SDK Download the latest Windows 10 SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
Menu > Tools > Options Text Editor > C# General > Automatic brace completion = Off Tabs > Keep tabs Code Style > Formatting > Indentation > General > Automatically format on paste (disables really annoying effects of auto formatting on blocks below what you paste in) Code Style > Formatting > Indentation > Indent […]
Open the project and rename in the solution explorer Change output exe name Right click on project in Solution Explorer and select "Properties" from popup menu > "Application" change the "Assembly name"
Right click project in Solution Explorer window and choosing Unload Project. Right click project > Edit projectname.vcxproj Edit <TargetFrameworkVersion> to be the version you want to target Right click project > Reload project
Add project references (e.g. .NET, COM etc plug ins) by right clicking References in Solution Explorer
A classic source of run problems in C# can be if your using components that are 32bit in an application with the Platform. Setting the Platform Target to x86 will often solve this whilst still allowing the app to run on an x64 platform. Menu > Project > Project Properties > Build > Platform Target
This is our internal check list to create a new Windows Forms Project… Create a ‘Visual C#’ > 'Windows' > ‘Windows Forms Application’. Once created:- Re-name the created form to frmMain.h by right clicking it in the solution explorer and selecting 'Rename' Click Yes to updating all references. Things To Add To The Default Form […]