Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: DLLs are not used as references in .NET Functions #168

Open
adityaoberai opened this issue Jun 20, 2023 · 0 comments
Open

馃悰 Bug: DLLs are not used as references in .NET Functions #168

adityaoberai opened this issue Jun 20, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@adityaoberai
Copy link
Member

Description

.NET Class Libraries packaged as DLLs kept in the function source directory are inaccessible by the function after deployment

Example

Here's the function sample I created to try this: https://github.com/adityaoberai/DllTest-AppwriteFunction

In my function sample, src/TestClassLibrary.dll just contains the following class:

namespace TestClassLibrary
{
    public class Calculation
    {
        public int Add(int x, int y)
        {
            return x + y; 
        }
    }
}

Error (as shown on Appwrite)

image

Runtime

dotnet-6.0

@joeyouss joeyouss added the bug Something isn't working label Jun 20, 2023
@joeyouss joeyouss changed the title Bug: DLLs are not used as references in .NET Functions 馃悰 Bug: DLLs are not used as references in .NET Functions Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants