When I try to create the project, I get such an error. I tried with two different computers but the result is the same.
VS 2022 17.7.0 Community and Activity Creator 4.0
When I try to create the project, I get such an error. I tried with two different computers but the result is the same.
VS 2022 17.7.0 Community and Activity Creator 4.0
Hi, If you are getting this issue, please use the attached vsconfig file and installed the requirements. Please remove the .txt from the file I attached and go to visual studio installer. Under more option select import configuration dn select the vsconfig file. You will getvsco…
I’ve tried this before. I also did Visual Studio repair and nothing changed.
Another one is to avoid using “.” characters in the name of your solution and You can also try updating the microsoft.codeanalysis.csharp package.
Not giving “.” doesn’t work, I tested that too.
I get the error in the step of creating the project, I don’t think updating the packages will change anything because the part named “Activities.Design” in the error is not created.
Hi. Has anyone found any solution for this issue?
I am also having this issue.
VS 2022 17.7.0 with .NET Desktop Development workload installed
dotnet --list-sdks
5.0.408 [C:\Program Files\dotnet\sdk]
6.0.120 [C:\Program Files\dotnet\sdk]
6.0.315 [C:\Program Files\dotnet\sdk]
7.0.400 [C:\Program Files\dotnet\sdk]
@Syb I seem to have fixed it for my self, there seems to be a problem with how VS handles the package icon for the sub package.
Try this:
Navigate to %LocalAppData%\Microsoft\VisualStudio{version-number}\Extensions{extension-id}\ProjectTemplates\SDKProject\APIClient.Activities.Design
Open up APIClient.Activities.Design.vstemplate in your favourite text editor
Comment out or delete line 22 (which should be referencing packageIcon.png)
You should now be able to create a solution from the template. (hopefully)
Found a workaround. If you go to the project folder you will notice that you do have the .design folder, but it is missing the .csproj file. If you can get a fresh design.csproj you can just put in in there and rename it as needed. If you need that, check this thread:
You’ll need to right click on the ProjectName folder in the solution explorer, add project, and choose the .csproj file. Edit the file to match your project. From there on you can use the activity creator as normal.
When you build the .nupkg, I found that I needed to do this:
The Activity Creator does not create package - Help / Studio - UiPath Community Forum
And use the Build function instead of Publish.
Also, at some point it said I was missing a packageIcon.png file to create the .nupkg, so I just added some random .png to the folder and it seems to have worked.
@andy2kh @zigzag
These are temporary but workable solutions. But I think there should be a permanent and sustainable solution instead. I think the problem may be related to the visual studio version. I should try with an older version of visual studio, or I can wait for the extension to be made compatible with newer versions.
I’m still examining the Visual Studio template so will update with any findings. It’s possible UiPath will need to change how it’s written.
Let us know how you get on with older versions
Thank you, It’s worked for me.
My environment:
Windows 11, Visual Studio 2022
Worth noting, you will need to add the packageIcon.png into your Activities.Design sub project manually now. Should just be a case of copying it over from the original location. Glad to hear it worked for you.
I downloaded and installed the version below and got no error. I will stay with this version until the problem is fixed by UiPath extension devs or visual studio devs
Microsoft Visual Studio Professional 2022 - Version 17.3.7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.