Skip to content

Update .NET Isolated detection to check against the template ID#3644

Merged
MicroFish91 merged 1 commit intomainfrom
mwf/tasty-sapphire
Apr 10, 2023
Merged

Update .NET Isolated detection to check against the template ID#3644
MicroFish91 merged 1 commit intomainfrom
mwf/tasty-sapphire

Conversation

@MicroFish91
Copy link
Copy Markdown
Contributor

Closes #3642

Changing the value we check against... If we set up a project with another template before we add Durable Functions Orchestration, projectTemplateKey may equal an empty string (it wasn't obvious to me why but I didn't dig too deeply). This causes isDotnetIsolated to be a false negative. Checking the template ID seems to be a more robust fix.. though please let me know if there's a better known value we should be checking against instead.

@MicroFish91 MicroFish91 requested a review from a team as a code owner April 10, 2023 17:12
@MicroFish91 MicroFish91 merged commit 5833940 into main Apr 10, 2023
@MicroFish91 MicroFish91 deleted the mwf/tasty-sapphire branch April 10, 2023 19:59
@nturinski
Copy link
Copy Markdown
Member

Id definitely seems like the better way. It seems unlikely that it will change as well.

@microsoft microsoft locked and limited conversation to collaborators May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sometimes installs extra C# DurableTask packages

3 participants