microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
PlannerChecklistItem and PlannerCheckListItem problem in VB.NET
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
Since vb.net is not case sensitive it throws 'PlannerChecklistItem' is ambiguous in 'Microsoft.Graph.Models' namespace
Expected behavior
If those two classes had different names, we could use them in vb.net
How to reproduce
Create a vb.net project and install Microsoft.Graph nuget. Try to instanciate a PlannerChecklistItem variable:
Dim checklistItem As New PlannerChecklistItem
You will see the error then.
SDK Version
5.58.0
Latest version known to work for scenario above?
No response
Known Workarounds
Dim nameOfPlannerChecklistItem As String = "Microsoft.Graph.Models.PlannerChecklistItem, Microsoft.Graph"
Dim typeOfPlannerChecklistItem As Type = Type.GetType(nameOfPlannerChecklistItem)
Dim checklistItem As Object = Activator.CreateInstance(typeOfPlannerChecklistItem)
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the ambiguity in a VB.NET project using Microsoft.Graph SDK 5.58.0 and the Microsoft.Graph.Models namespace, starting with PlannerChecklistItem and PlannerCheckListItem. Inspect how these model types are generated or exposed, and consider the issue done when both classes can be referenced without a VB.NET name collision and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- visualbasic
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100