Rescap4:PrimaryInteropAssemblies
定义包程序集配置。
元素层次结构
<rescap4:PrimaryInteropAssemblies>
语法
<recap4:PrimaryInteropAssemblies
Version = 'A string with a value between 1 and 32767 characters in length.'
AssemblyVersion = 'A numeric string containing periods as separators.'
PublicKey = 'A hexadecimal string value generated by the packager.'
MachineType = 'A string that can have one of the following values: "x86", "x64", "arm", "arm64", "neutral".'
TargetClrVersion = 'A numeric string containing periods as separators.'
FolderPath = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' />
特性和元素
属性
属性 | 说明 | 数据类型 | 必须 | 默认值 |
---|---|---|---|---|
AssemblyName | 程序集的名称。 | 值长度介于 1 到 32767 个字符之间的字符串。 | 是 | |
AssemblyVersion | 该程序集的版本。 | 包含句点作为分隔符的数字字符串。 | 是 | |
PublicKey | 用于访问程序集的公钥。 | 打包程序生成的十六进制字符串值。 | 是 | |
MachineType | 用于程序集的设备体系结构。 | 可以具有以下值之一的字符串: x86、 x64、 arm、 arm64、 neutral。 | 是 | |
TargetClrVersion | 用于程序集的设备目标体系结构。 | 允许句点作为分隔符的数值。 | 是 | |
FolderPath | 程序集的路径。 | 值长度介于 1 到 256 个字符之间的字符串,不能包含以下字符:< 、> 、: 、" 、| ? 、 或 * 。 |
是 |
子元素
子元素 | 描述 |
---|---|
重定向 | 指定互操作程序集的重定向信息。 |
父元素
父元素 | 描述 |
---|---|
rescap4:Extension | 声明应用的扩展点。 |
要求
项 | 值 |
---|---|
rescap4 | http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/4 |
Minimum OS Version | Windows 10版本 1803 (内部版本 17134) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈