在contentpage页面使用下面代码会报错。Cannot resolve type “http://schemas.microsoft.com/dotnet/2022/maui/toolkit。
|
|
CommunityToolkit使用在app项目中时需要以下代码
|
|
类库中则无法使用上述代码。
上述报错是由于visual studio连接器在编译时移除了认为无效的代码。需要在每个转换器中加上x:Name。
|
|
在contentpage页面使用下面代码会报错。Cannot resolve type “http://schemas.microsoft.com/dotnet/2022/maui/toolkit。
|
|
CommunityToolkit使用在app项目中时需要以下代码
|
|
类库中则无法使用上述代码。
上述报错是由于visual studio连接器在编译时移除了认为无效的代码。需要在每个转换器中加上x:Name。
|
|