The member “CurrentCulture” is not recognized or is not accessible

前端 未结 3 1149
轮回少年
轮回少年 2021-01-07 21:50

I have a Window with the following namespace

xmlns:sysglb=\"clr-namespace:System.Globalization;assembly=mscorlib\"

that contains a textbox

3条回答
  •  隐瞒了意图╮
    2021-01-07 22:44

    Changing the project target framework to .NET Framework 4.6 or higher solves the issue.

    Go to solution explorer and right-click on the affected Project -> Properties -> Application -> Target framework.

提交回复
热议问题