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

WPF project on .NET 8 missing 'Add Service Reference' from the 'Connected Services' menu #5672

Open
gchq-zz opened this issue Nov 3, 2024 · 4 comments
Assignees
Labels
tooling An issues related to any tool shipped from this repo.

Comments

@gchq-zz
Copy link

gchq-zz commented Nov 3, 2024

I have a WPF running on .NET 8.0. I understand that MS in their infinite wisdom have neglected VB developers when it comes to .NET core, but this is not .NET core. I have seen a similar thread here that points to the issue with core.

According to the MS documentation adding a service reference has now moved from directly under solution explorer to Add > Connected Services and selecting 'Add Service Reference' - but only 'Service Dependencies' are available.

Image

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Ideally a sample project that we can debug.
  2. Full call stacks.
  3. For issues related to generating client code using dotnet-svcutil please provide the WSDL.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@HongGit HongGit added the tooling An issues related to any tool shipped from this repo. label Nov 14, 2024
@HongGit
Copy link
Contributor

HongGit commented Feb 6, 2025

@imcarolwang can you please see if you can repro the issue?

@gchq-zz
Copy link
Author

gchq-zz commented Feb 6, 2025

Open VS 2022
New WPF Project
Right click the project
Add > Connected Services
As in the screenshot above there are only Service Dependencies - no ability to create a Service Reference.
VS version 17.11.4

@lvxiaoou234
Copy link

I noticed you mentioned VB in the issue description. Is your .NET 8.0 WPF project also using VB?

@gchq-zz
Copy link
Author

gchq-zz commented Feb 6, 2025

Yes, it uses VB - start a project with C# and Service Reference is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling An issues related to any tool shipped from this repo.
Projects
None yet
Development

No branches or pull requests

4 participants