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

Project attempts to install Microsoft.VisualStudio.Threading Version=17.11.0.0 #421

Open
ohQQ opened this issue Nov 25, 2024 · 5 comments
Open
Assignees

Comments

@ohQQ
Copy link

ohQQ commented Nov 25, 2024

Describe the bug

For Visual Studio Pro 2022 (64 bit) - LTSC 17.10, attempting to use the extension wizard to generate results in the extension installing a version of Microsoft.VisualStudio.Threading Version 17.11.00. This version is not an official release, nor accessible from nuget.

Version of the Project affected

ODataConnectedService v1.1.1
VisualStudio Version v17.10
Microsoft.Odata.Client v8.2.2

To Reproduce

Steps to reproduce the behavior:

  1. Install the latest (as of writing) version of OData Connected Service 2022+
  2. Use the wizard to connect to a service (using all defaults, but also fails on T4 templates)
  3. Watch dependency installation step fail at retrieving Nuget package Microsoft.VisualStudio.Threading Version=17.11.0.0 Culture=neutral

Expected behavior

Install dependencies with no problem

Actual behavior

Half generated scaffolding with an error

Additional context

Explicitly installing version 1.0.0 does not have the same issue.

@WanjohiSammy
Copy link

@ohQQ I am using ODataConnectedService v1.1.1 but I can't reproduce the same issue when connect to services.odata.org/TripPinRESTierService/(S(4dte2qgkqy1lkpudzkpnk4om))/$metadata service

Please try connecting to services.odata.org/TripPinRESTierService/(S(4dte2qgkqy1lkpudzkpnk4om))/$metadata service and let us know if you are still facing the same.

Kindly also share your CSDL to help us repro this isse.

@ohQQ
Copy link
Author

ohQQ commented Nov 26, 2024

It would be on a clean install without dependencies, regardless of the CSDL or endpoint
image001

@thehe
Copy link

thehe commented Dec 12, 2024

Same problem here trying to connect to Business Central OData Endpoint

@WanjohiSammy
Copy link

@thehe , @ohQQ Kindly provide the version of Visual Studio that you are currently using.

I'm using Microsoft Visual Studio 2022 (64-bit) - Version 17.13.0 Preview 1.0.

I have uninstalled and reinstalled ODataConnectedService 2022 but still could not repro the issue.

Just a quick question:
When connecting to your service, are you using ODataConnectedService default settings or what else are you configuring that might cause the issue?
image

@ohQQ
Copy link
Author

ohQQ commented Dec 12, 2024

All default, no advanced. Did you uninstall any of the dependencies that the wizard installs? VisualStudio.Threading > 17.0 and see if it can be reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants