You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im not sure what languages are supported for tag creation here, but .Net has a bit different process to get the tar file.
From what I've read in sc the 'tag creation' only packs whatever is in the folder and sends it into appwrite.
For .net we first need to create 'publish package' and only then we can create a tar to send into appwrite from this package.
So now:
Would it be possible to either recognize .net solutions or pass the default path for tag method get the files from?
The path that the package is sitting is 'bin/Debug/net5.0/linux-x64'.
So the solution would be, at least for me, if the folder contains a '*.csproj' check for 'bin/Debug/net5.0/linux-x64' and tar this folder.
I have not tried creating Appwrite functions with .NET and I'm not familiar with the process. So I will try to reproduce this and work on adding support for .NET and hopefully it makes the "Create tag" feature more robust.
If you could provide me a simple .NET function that I can quickly do my own testing with that would help me a lot!
The process is described in the readme but if there's any problem contact me :)
basically go to the folder with code and run from terminal:
dotnet publish --runtime linux-x64 --framework net5.0 --no-self-contained
tar -C bin/Debug/net5.0/linux-x64 -zcvf code.tar.gz publish
Hello,
For starters, great extension! :D
So for the issue:
Im not sure what languages are supported for tag creation here, but .Net has a bit different process to get the tar file.
From what I've read in sc the 'tag creation' only packs whatever is in the folder and sends it into appwrite.
For .net we first need to create 'publish package' and only then we can create a tar to send into appwrite from this package.
So now:
Would it be possible to either recognize .net solutions or pass the default path for tag method get the files from?
The path that the package is sitting is 'bin/Debug/net5.0/linux-x64'.
So the solution would be, at least for me, if the folder contains a '*.csproj' check for 'bin/Debug/net5.0/linux-x64' and tar this folder.
The process for .net is like this:
dotnet publish --runtime linux-x64 --framework net5.0 --no-self-contained
tar -C bin/Debug/net5.0/linux-x64 -zcvf code.tar.gz publish
The text was updated successfully, but these errors were encountered: