Closed andriilula closed 3 weeks ago
@Zaid-Ajaj looks like something bad happened when you packed Tasks project
One more thing that I've noticed. I was able to successfully generate a client using cli and confirm that it works with our API. But the client that was generated using Snowflaqe.Tasks
the client fails to recognize some types that worked in cli generated client. I also see that Snowflaqe.Tasks
nuget is 3 months older than Snowflaqe
.
@andriilula Indeed Snowflaqe.Tasks
is a bit behind the CLI. Please keep using the CLI for the time being as it is the "official" way to use Snowflaqe. The MSBuild tasks have been an odd child in this repo
@Zaid-Ajaj looks like something bad happened when you packed Tasks project
@xperiandri I don't know to be honest. I will have a look into it when time permits
@Zaid-Ajaj we extensively use MSBuild tasks I think https://github.com/Zaid-Ajaj/Snowflaqe/issues/78 will solve the issue and you will release both automatically Right?
@Zaid-Ajaj Thanks for the quick reply!
The reason we want to use Snowflaqe.Tasks
is that it allow us to generate a client in an interactive notebook (.dib) without installing additional dependencies. When we use cli we need to install snowflaqe in order to use it.
@andriilula I see, that is a very interesting use case for sure!
@xperiandri #78 can solve the problem indeed, I remember the build failing locally when I tried to publish a package and didn't know where to go from there. I will take another look soon
Hi @andriilula I know it has been a while since I looked into this issue. I was able to publish Snowflaqe.Tasks
v1.4.5 latest without any issues, can you give it a try for your use case?
It works, we can close. @Zaid-Ajaj thanks!
When I try to build a client as a separate project, I'm getting the following error:
My .fsproj file:
To me it seems like some packaging issue, but I'm new to F#, so maybe I'm doing something wrong. Please advice.
Thank you!