OData / ODataConnectedService

A Visual Studio extension for generating client code for OData Services
Other
81 stars 44 forks source link

Support omitting runtime version and code generation timestamp from generated files #383

Closed gathogojr closed 8 months ago

gathogojr commented 8 months ago

This pull request replaces https://github.com/OData/ODataConnectedService/pull/362 and fixes #379

It supports omitting runtime version and code generation timestamp from generated files. When the option is set to true, the auto-generated code disclaimer section will look as follows:

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

as opposed to:

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generation date: 08.03.2021 19:55:12

The no-timestamp / ti option introduced in #362 is replaced with omit-versioning-info / vi.

No release of OData Connected Service or CLI has been done subsequent to #362 being merged so having a common flag to control whether runtime version and code generation timestamp should omitted was deemed to be a better option.

Additional Details

This pull request also fixes an issue causing the builds to fail by upgrading the VS build tools: image

gathogojr commented 8 months ago

@gregwinterstein @jphorv-bdo @rpallares FYI

jphorv-bdo commented 8 months ago

Thank you everyone for your work on this, I look forward to seeing it published!

jphorv-bdo commented 7 months ago

Thank you everyone for your work on this, I look forward to seeing it published!

Any estimate as to when this will be published to VS Marketplace?

jphorv-bdo commented 7 months ago

@ElizabethOkerio @KenitoInc @habbes I just realized there have been 38 PRs merged since the last time a release was published to VS Marketplace on August 10, 2022.

I wish I had looked at that earlier - if I had, I wouldn't have bothered checking for a new release every day for the past month!

When will a new release be published to VS Marketplace?