marketplace
latest
false
- 发行说明
 - 概述
 - 入门指南
 - UiPath 市场供应商
 - UiPath Marketplace 客户
 - 发布准则
 - 即用型自动化发布准则
 - 解决方案加速器发布准则
 - Integration Service 连接器的发布准则
 - Process Mining 应用程序模板发布准则
 - 安全性与 IP 保护
 - 其他 UiPath 列表
 - 连接器
 - 如何创建活动
 - 构建集成
 
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。 

UiPath Marketplace 用户指南
上次更新日期 2025年10月10日
查看本教程中构建的活动包,您会看到几个占位符,其中应包含作者、许可证、图标等信息。 让我们通过将这些占位符替换为真实信息来个性化包。
本节的重点是设计项目中的 4 个文件:
- 程序集信息
 - 包级别程序集信息
 - 全局程序集信息
 - Nuspec
 
每个都包含包级别的特定元数据。 有关每个文件的详细信息,请参阅 构建活动包 部分。
- Visual Studio 社区版/专业版/企业版(需要 2019 版)
 - UiPath Studio
 - 活动包
 
1)添加包装饰器
打开 MyCompany.MyProduct.Activities.Design 项目,然后导航到以 
                  
                  
                  .nuspec结尾的文件。 nuspec 文件从项目中提取所有包元数据,并将其显示在 Nuget 包中,该包会生成并导入到 UiPath Studio 中。
                  在此文件中,按如下方式更改 
                  
                  icon 和 tags 字段。
                  <?xml version="1.0"?>
<package>
  <metadata>
    <id>$title$</id>
    <version>$version$</version>
    <title>$title$</title>
    <authors>$author$</authors>
    <owners>$author$</owners>
    <description>$description$</description>
    <copyright>$copyright$</copyright>
    <requireLicenseAcceptance>true</requireLicenseAcceptance>
    <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
    <projectUrl>https://integrations.uipath.com/docs/integrating-with-uipath</projectUrl>
    <iconUrl>https://www.dropbox.com/s/8nmnkmn73038m9z/boxIcon.png?dl=1</iconUrl>
    <tags>UiPath Activit MyCompany MyProduct Math Addition Arithmetic</tags>
    <dependencies>
    </dependencies>
  </metadata>
  <files>
    <file src="$OutputPath$**\)\)MyCompany.MyProduct*resources.dll" target="lib\)
et461"/>
  </files>
</package><?xml version="1.0"?>
<package>
  <metadata>
    <id>$title$</id>
    <version>$version$</version>
    <title>$title$</title>
    <authors>$author$</authors>
    <owners>$author$</owners>
    <description>$description$</description>
    <copyright>$copyright$</copyright>
    <requireLicenseAcceptance>true</requireLicenseAcceptance>
    <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
    <projectUrl>https://integrations.uipath.com/docs/integrating-with-uipath</projectUrl>
    <iconUrl>https://www.dropbox.com/s/8nmnkmn73038m9z/boxIcon.png?dl=1</iconUrl>
    <tags>UiPath Activit MyCompany MyProduct Math Addition Arithmetic</tags>
    <dependencies>
    </dependencies>
  </metadata>
  <files>
    <file src="$OutputPath$**\)\)MyCompany.MyProduct*resources.dll" target="lib\)
et461"/>
  </files>
</package>2) 添加公司特定信息
在同一项目中,导航到 
                  
                  Properties/GlobalAssemblyInfo.cs ,然后更新公司、产品和版权:
                  ...
[assembly: AssemblyCompany("My Company")]
[assembly: AssemblyProduct("My Product")]
[assembly: AssemblyCopyright("My Company © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: XmlnsPrefix("http://schemas.uipath.com/workflow/activities", "ui")]
[assembly: NeutralResourcesLanguage("en-US")]...
[assembly: AssemblyCompany("My Company")]
[assembly: AssemblyProduct("My Product")]
[assembly: AssemblyCopyright("My Company © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: XmlnsPrefix("http://schemas.uipath.com/workflow/activities", "ui")]
[assembly: NeutralResourcesLanguage("en-US")]3)添加特定于包的信息
现在,移至 
                  
                  Properties/AssemblyInfo.cs 并更新包名称(标题)和说明:
                  ...
[assembly: AssemblyTitle("MyCompany.MyProduct.Activities")]
[assembly: AssemblyDescription("A package for performing simple arithmetic operations in UiPath Studio.")]
[assembly: AssemblyConfiguration("")]
......
[assembly: AssemblyTitle("MyCompany.MyProduct.Activities")]
[assembly: AssemblyDescription("A package for performing simple arithmetic operations in UiPath Studio.")]
[assembly: AssemblyConfiguration("")]
...4) 添加特定版本
最后,打开 
                  
                  Properties/MyCompany.MyProductAssemblyInfo.cs ,然后通过将所有出现的 0.1 更改为 0.2 来更新包版本:
                  ...
#if DEBUG
[assembly: AssemblyVersion("0.2.*")]
#else
[assembly: AssemblyVersion("0.2.0")]
#endif...
#if DEBUG
[assembly: AssemblyVersion("0.2.*")]
#else
[assembly: AssemblyVersion("0.2.0")]
#endif5)重建包
如上一节所述,重新构建包并将其导入到 UiPath Studio 中。 打开包管理器,注意您的包现在如何具有新的图标、描述和更新的元数据。