[英]How to solve the following error while deploying solution into sharepoint 2010
I created one list definition in visual studio and trying to deploy into my sharpeoint site. 我在Visual Studio中创建了一个列表定义,然后尝试将其部署到我的Sharpeoint网站。 But I am getting the following error.
但是我收到以下错误。
Error occurred in deployment step 'Activate Features': Field type boolean is not installed properly.
部署步骤“激活功能”中发生错误:字段类型布尔值未正确安装。 Go to the list settings page to delete this field.
进入列表设置页面以删除此字段。
How to solve this problem? 如何解决这个问题呢?
Try Boolean with a capital B so your Field element (inside of the MetaData element) would be like: 尝试使用大写B的布尔值,这样您的Field元素(在MetaData元素内部)将类似于:
<Field Name="MyBool"
ID="{some-guid}"
DisplayName="My Bool"
Description="The big ol' bool."
Type="Boolean"/>
You can also try to specify the SourceID="http://schemas.microsoft.com/sharepoint/v3" but that shouldn't be necessary I don't think. 您也可以尝试指定SourceID =“ http://schemas.microsoft.com/sharepoint/v3”,但我认为这没有必要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.