docs/README-winrt.md
changeset 9200 bfdc18891a60
parent 9150 5c42e467f6cd
child 9208 a396a375e6c5
     1.1 --- a/docs/README-winrt.md	Mon Oct 27 12:53:47 2014 +0100
     1.2 +++ b/docs/README-winrt.md	Mon Oct 27 19:53:44 2014 -0400
     1.3 @@ -337,6 +337,25 @@
     1.4     C++.
     1.5  
     1.6  
     1.7 +Troubleshooting
     1.8 +---------------
     1.9 +
    1.10 +#### Build fails with message, "error LNK2038: mismatch detected for 'vccorlib_lib_should_be_specified_before_msvcrt_lib_to_linker'"
    1.11 +
    1.12 +Try adding the following to your linker flags.  In MSVC, this can be done by
    1.13 +right-clicking on the app project, navigating to Configuration Properties ->
    1.14 +Linker -> Command Line, then adding them to the Additional Options
    1.15 +section.
    1.16 +
    1.17 +* For Release builds / MSVC-Configurations, add:
    1.18 +
    1.19 +    /nodefaultlib:vccorlib /nodefaultlib:msvcrt vccorlib.lib msvcrt.lib
    1.20 +
    1.21 +* For Debug builds / MSVC-Configurations, add:
    1.22 +
    1.23 +    /nodefaultlib:vccorlibd /nodefaultlib:msvcrtd vccorlibd.lib msvcrtd.lib
    1.24 +
    1.25 +
    1.26  TODO
    1.27  ----
    1.28