How to do REST api call on build event

247 Views Asked by At

I am working on .net standard library.

I have two requirements

Note : client project means - c# project which consumes my library.

  1. Call a REST api on pre or post build event of client project.

  2. Based on the response , I should create a enum class dynamically on the client project.

Gone through build event docs from Microsoft , but couldn't find any specific to call rest api or dynamic code creation on build time.

Can someone help me achieve this.

Thanks. Noorul

0

There are 0 best solutions below