【发布时间】:2017-08-23 16:03:28
【问题描述】:
我正在尝试创建我的第一个类库(.NET 标准),但它似乎不支持一些基本功能。
'SolidColorBrush' 未定义。
FontFamily 和 Color 等也是如此。
我的 using 语句也显示为不需要。
有什么想法吗?
【问题讨论】:
-
Winforms 没有什么“标准”,这样的程序只能在 Windows 桌面上运行。不在 Linux 上,不在 MacOS 上,不在手机、商店或网络应用程序上。所以尝试创建 NETStandard 库没有意义,常规的类库项目模板就可以了。
标签: visual-studio xamarin.forms portable-class-library