Building Miranda: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* Obtain [<tvar|miranda_sources>https://github.com/miranda-ng/miranda-ng</> Miranda NG sources]
* Obtain [<tvar|miranda_sources>https://github.com/miranda-ng/miranda-ng</> Miranda NG sources]
* Install Visual Studio 2017/2019/2022
* Install Visual Studio 2017/2019/2022
* Bare minimum VS components:
* Bare minimum Visual Studio 2017 components:
** Static analysis tools
** Static analysis tools
** Text Template Transformation
** Text Template Transformation
Line 15: Line 15:
** Windows XP support for C++
** Windows XP support for C++
** Visual Studio C++ core features
** Visual Studio C++ core features
* open solution (/bin15/mir_full.sln for VS2017) and build all solutin (F7) or particular plugins (build mir_core first)  
* open mir_full.sln solution (located at /bin15 for Visual Studio 2017, /bin16 for Visual Studio 2019 or /bin17 for Visual Studio 2022) and build all solutin (F7) or particular plugins (in this case build mir_core first)  
</translate>
</translate>


{{TNT|Important|For VS 2017 you need to add following registry key:}}
{{TNT|Important|<translate>For Visual Studio 2017 you need to add following registry key:</translate>}}
<pre>
<pre style="overflow:auto;">
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DoBundleInstallationChecks"="false"
"DoBundleInstallationChecks"="false"

Revision as of 01:38, 28 October 2022

Other languages:
Note
The following was tested in Windows 10.
  • Obtain Miranda NG sources
  • Install Visual Studio 2017/2019/2022
  • Bare minimum Visual Studio 2017 components:
    • Static analysis tools
    • Text Template Transformation
    • C# and Visual Basic Roslyn compilers
    • MSBuild
    • VC++ 2017 version 15.9 v14.16 latest v141 tools
    • Visual C++ 2017 Redistributable Update
    • Windows Universal CRT SDK
    • Windows XP support for C++
    • Visual Studio C++ core features
  • open mir_full.sln solution (located at /bin15 for Visual Studio 2017, /bin16 for Visual Studio 2019 or /bin17 for Visual Studio 2022) and build all solutin (F7) or particular plugins (in this case build mir_core first)
Important
For Visual Studio 2017 you need to add following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DoBundleInstallationChecks"="false"