Skip to content

Add InvokeCode Language property pitfall and code style guidelines#102

Merged
gabrielavaduva merged 1 commit intomainfrom
fix/invoke-code-language-docs
Apr 1, 2026
Merged

Add InvokeCode Language property pitfall and code style guidelines#102
gabrielavaduva merged 1 commit intomainfrom
fix/invoke-code-language-docs

Conversation

@roalexandru
Copy link
Copy Markdown
Collaborator

Summary

  • Add InvokeCode Language Property section to common-pitfalls.md documenting the NetLanguage enum mismatch (VBNet/CSharp vs VisualBasic/CSharp) that causes runtime XAML deserialization errors
  • Add Code Style Guidelines section to InvokeCode.md instructing agents to write multi-line, commented, well-structured inline code with bad vs good examples in both VB.NET and C#

Closes #101

Test plan

  • Verify the pitfall section in common-pitfalls.md clearly communicates that Language="VisualBasic" is invalid and Language="VBNet" is correct
  • Verify the code style guidelines in InvokeCode.md are clear and the escaped XML examples are correct
  • Test with the RPA skill to confirm the agent uses VBNet (not VisualBasic) when generating InvokeCode activities

Closes #101

- Add InvokeCode Language Property section to common-pitfalls.md documenting
  the NetLanguage enum mismatch (VBNet/CSharp vs VisualBasic/CSharp)
- Add Code Style Guidelines section to InvokeCode.md instructing agents to
  write multi-line, commented, well-structured inline code
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gabrielavaduva gabrielavaduva merged commit ce6697c into main Apr 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uipath-rpa-workflows: InvokeCode Language property uses undocumented NetLanguage enum (VBNet/CSharp), not project expressionLanguage values

2 participants