Use pack to build nuget with changed directory for Project.json

Hi All,
I am asked below queries which i did not get any material yet. I tried by myself and it did not worked also. So, If anyone has any insight if below is possible then please let me know.

  1. if we can keep only project.json in some build folder (other than actual project folder) and create its nuget package using pack command (command line method) ?

  2. How to add release notes when using pack command ?

Thanks in advance

maybe nuget explorer can Help you for Post modification a package after build with UiPath

1 Like

Can we keep only project.json in seperate folder and run pack command to build nuget package ?

WE used nuget explorer more for Post writing a package as mentioned above.

Whats your Motivation in detail?

The project.json file is used to package and build an artifact (deployable unit), however; you need to keep the files associated with the project when you run the command line tool, otherwise it won’t package and create the output file.
Reference: command line tool for publish or packing
The following will get what you want…

“c:\Program Files (x86)\UiPath\Studio\UiPath.Studio.CommandLine.exe” publish --project-path c:\Workspace\RPA\Code\MyProject\project.json --feed c:\Temp --new-version 1.0.0-alpha003 --notes “Prerelease build 003”