-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reference.tt is failing after updating to the VS2022 extension #319
Comments
@vendettamit this extension- Is it |
I get the same issue when I added the tt files into the solution.
|
The .tt file was added in the VS 2019 extension then we moved to 2022 and that's when this issue started happening. So I had to switch back to 2019 to generate by Reference.cs from the .tt file |
Same description as @vendettamit, I have the same issue when running Visual Studio 2022, and the "OData Connected Service 2022+" version of this extension against a D365 Finance & Operations OData endpoint. In VS2022, I deleted the OData Connected Service completely, and then re-added a new Connected Service, with the following Advanced Options selected: Running the Reference.tt produces the error:
Running VS 2019, as well as the older "OData Connected Service" extension, I can generate the Reference files/classes (but then also run into the #317 issue, for which it seems like there is a manual fix.) |
My settings are like @parydnar as well. Using the older extension in VS2019 gets around the error for me, but is very annoying, specially I don't have VS2019 installed on all my workstations. So I end up committing and pulling to different workstations to keep going. |
@jonantoine we are looking into this issue. But we have a cli tool that you can use - https://www.nuget.org/packages/Microsoft.OData.Cli/ |
Is any other workaround available? Our use case requires T4 templates to customize property names, but I see no option to include T4 templates in Odata CLI. |
@ElizabethOkerio We also have changed the T4 templates for better tracking of set properties. |
Wonderful! When will this get released to the marketplace? I'm eager to see if this fixing our problem. |
@ElizabethOkerio just wondering when this will get released to the marketplace? The marketplace says the last update was 2/3/2023. |
@jantoineqci we'll do a release tomorrow. |
@ElizabethOkerio Thank you, we updated our VS2022 Extension. |
After installing the connected services for VS2022 extension of connected service my Reference.tt stopped working. Getting error below:
I have this file on following locations but VS is not able to get the correction location. Any guidance would be really appreciated!!
Note: Installing the latest extension v1.0.0 on VS2019 also not generating anything also no throwing any error.
The text was updated successfully, but these errors were encountered: