Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlannerChecklistItem and PlannerCheckListItem problem in VB.NET #2685

Open
CarlosAdrianM opened this issue Sep 27, 2024 · 1 comment
Open
Labels
type:bug A broken experience

Comments

@CarlosAdrianM
Copy link

CarlosAdrianM commented Sep 27, 2024

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_
@CarlosAdrianM CarlosAdrianM added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Sep 27, 2024
@Darkicorn
Copy link

I agree.

@andrueastman andrueastman removed the status:waiting-for-triage An issue that is yet to be reviewed or assigned label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

3 participants