LNK2022 and LNK2034 linker errors with version 10.0 of the CRT

前端 未结 5 2030
我寻月下人不归
我寻月下人不归 2021-01-05 09:34

Sorry to bother anyone with this question, but I\'ve been researching this for hours, with no resolution yet:

I am porting a rather massive application to the 10.0 C

5条回答
  •  礼貌的吻别
    2021-01-05 10:10

    for anyone like me that this answer did not ring helpful, a second option is to go to: Project Properties->Configuration Properties->General->Project Defaults->.NET Target Framework Version and set it to v4.0

    https://connect.microsoft.com/VisualStudio/feedbackdetail/view/806238/unwarranted-linker-errors-using-stl-filestream-class-in-managed-classes-in-c-11-cli has an obscure answer from Microsoft team that fixed my issue.

提交回复
热议问题