Skip to content

Commit

Permalink
Targeting .NET 6, fixed transposition error
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Oct 30, 2024
1 parent 696fc85 commit e9ee731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/Workflow/WorkflowTaskChaining/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@
const int wfInput = 42;
Console.WriteLine(@"Workflow Started");

const string workflowName = "demo-workflow";
var instanceId = $"demo-workflow-{Guid.NewGuid().ToString()[..8]}";

//Start the workflow immediately
await daprWorkflowClient.ScheduleNewWorkflowAsync(workflowName, instanceId, wfInput);
await daprWorkflowClient.ScheduleNewWorkflowAsync(nameof(DemoWorkflow), instanceId, wfInput);

//Get the status of the workflow
WorkflowState workflowState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down

0 comments on commit e9ee731

Please sign in to comment.