While writing my custom activity, I get an error in the publishing section

While writing my custom activity, I get an error in the publishing section.

The error I get is;

28.03.2024 21:34:26
System.AggregateException: One or more errors occurred. —> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
— End of inner exception stack trace —
—> (Inner Exception #0) Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. <—

Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.

===================

@tolgademir

As per error viewmodels package is missing please add the missing reference

Cheers

How do I do this? I couldn’t figure out exactly how to do it.

@tolgademir

Are you using UiPath custom library package to build?

Then you can add the packages you need

Cheers

You have missing Package you need to add them first then publish

yes, how can I do this?

How can I detect my missing packages?

@tolgademir

In your visual studio or inport the package

Cheers

this two .package is missing you have to install them using studio goto package and choose all package then search on them to install one by one
system.activists.core.presentation
system.activities.metadata

First of all, thank you very much for your answer, but I do not have much technical knowledge on how to find the relevant packages, is there any chance you can help?

Does anyone have an idea for a solution?