UiPath Documentation
marketplace
latest
false

Marketplace 用户指南

上次更新日期 2026年5月5日

了解活动项目结构

您现在已完成活动创建教程并拥有了一个有效的活动包,是时候了解所有组成文件的作用了,以及它们如何交织在一起以形成 UiPath 活动。Visual Studio 中的每个活动解决方案都包含 3 个主要部分(称为项目):辅助部分、活动和设计器。

Auxiliary Project (Optional)

The first project contains all the custom classes in the activity namespace and which are referenced in the subsequent projects. These can include clients, custom datatypes, interfaces, exceptions, enums, auxiliary classes, etc. Because these are supporting files that may not exist in your particular activity, the Auxiliary project is optional.

文档图像

Activity Project

此项目包含每个活动的执行逻辑。请注意,UiPath Studio 中的每个活动在 Visual Studio 中都有一个对应的文件。要了解每个文件,请参阅“自定义活动”部分。

文档图像

Designer Project

此项目包含活动的所有用户界面元素,包括自定义控件、主题(用于添加外观和样式)、转换器(用于将属性和数据绑定到用户界面元素的类)和活动用户界面。请注意,UiPath Studio 中的每个活动在 Visual Studio 中都有对应的XamlXaml.cs文件。

文档图像

此处还包括包的元数据文件:设计器元数据nuspec 。有关这些内容的更多信息,请参阅 “构建包”部分。

备注:

Notice the Shared folder below the other projects. This is a basket of handy classes and controls that can be used to speed up development. In fact, some are already incorporated into the projects you generated.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新