问题描述
我有一个具有功能,模块,列表实例和站点定义的解决方案.
I have a Solution with Features, modules, list instances and site definitions.
我添加了一个功能.通过功能设计器,每个列表和除了网站定义,还可以使用模块添加到功能中.
I have added a feature. Via Feature Designer, every list & module is available to add to the feature except for the site definitions.
要使其可用,我必须设置什么?
What do I have to set to make them available?
推荐答案
在Visual Studio中创建站点定义是因为它们会自动使用功能装订.功能装订将功能附加到网站定义,而不是将其功能嵌入网站定义本身.因此,我们不添加网站定义 功能.以下文章供您参考:
Creating site definitions in Visual Studio is that they automatically use Feature Stapling. Feature Stapling attaches a feature to a site definition instead of embedding its functionality in the site definition itself. So, we don't add the site definition to a feature. The following article for your reference:
https://msdn.microsoft.com/en-us/library/ee231576.aspx?f = 255& MSPPError = -2147217396
最好的问候,
这篇关于功能部件不可用的解决方案项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!