vscode-appwrite icon indicating copy to clipboard operation
vscode-appwrite copied to clipboard

Creating tag for .net is not working

Open Pastajello opened this issue 3 years ago • 3 comments

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

Pastajello avatar Jul 15 '21 10:07 Pastajello