.Net: Bug: ProcessBuilder cannot be found
Describe the bug After installing Semantic Kernel and SemanticKernel.Process.LocalRuntime The ProcessBuilder type cannot be found
To Reproduce Steps to reproduce the behavior:
- Create newC# project
- Install SemanticKernel 1.46 and SemanticKernel.Process.LocalRuntime 1.46 alpha
- Create a method and try to make a ProcessBuilder
- See ProcessBuilder cannot be found
Expected behavior I expect when I follow the Process Framework example docs that the objects are in the SemanticKernel.Process.LocalRuntime package
Screenshots If applicable, add screenshots to help explain your problem.
Platform
- Language: C#
- Source: SemanticKernel.Process.LocalRuntime 1.46 alpha
- AI model: --
- IDE: Visual Studio
- OS: Windows 11
Additional context Add any other context about the problem here.
Hi @ThimoDEV we have a getting started sample here https://github.com/markwallace-microsoft/semantic-kernel/tree/main/dotnet/samples/GettingStartedWithProcesses
You can modify this to use the release packages locally. Can you compare this to what you are doing?
Hi @markwallace-microsoft ,
I used the latest stable version of the Microsoft.SemanticKernel nuget package which doesnt have the ProcessBuilder class. However Process Framework requires me to use the Microsoft.SemanticKernel.Core 1.46 alpha version to make it all compatible. This is not yet documented that thats the case.
So now with the Core alpha version it can find the ProcessBuilder class.
Having the terminal add package command for the core package under the Process.LocalRuntime in the docs would help a lot
Have you tried adding these packages:
<PackageReference Include="Microsoft.SemanticKernel.Process.Abstractions" Version="1.47.0-alpha" />
<PackageReference Include="Microsoft.SemanticKernel.Process.Core" Version="1.47.0-alpha" />
<PackageReference Include="Microsoft.SemanticKernel.Process.LocalRuntime" Version="1.47.0-alpha" />
Have you tried adding these packages:
<PackageReference Include="Microsoft.SemanticKernel.Process.Abstractions" Version="1.47.0-alpha" /> <PackageReference Include="Microsoft.SemanticKernel.Process.Core" Version="1.47.0-alpha" /> <PackageReference Include="Microsoft.SemanticKernel.Process.LocalRuntime" Version="1.47.0-alpha" />
Yes, but that wasn't specified in the docs
So now with the Core alpha version it can find the ProcessBuilder class. Having the terminal add package command for the core package under the Process.LocalRuntime in the docs would help a lot
Re-read this 👍 Agree having this in the docs would save devs the headache.
@ThimoDEV when you build your code with these packages via Github actions, does it timeout on ubuntu-latest? It only works for me with at least an 8-core machine.
@markwallace-microsoft / @alliscode have you had anyone else experience this? Looking through all the *.props references but nothing seems to be immediately obvious.
@ThimoDEV when you build your code with these packages via Github actions, does it timeout on
ubuntu-latest? It only works for me with at least an 8-core machine.@markwallace-microsoft / @alliscode have you had anyone else experience this? Looking through all the
*.propsreferences but nothing seems to be immediately obvious.
To be fair I haven't continued using Process Framework. I need to built a C# version of langgraph and I had to go with a custom engine as right now I couldn't fit Process framework into it