-
Notifications
You must be signed in to change notification settings - Fork 106
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: .NET starter fails to build locally #50
Comments
Hey @moguzalp ! Is the build output you have provided from your local machine, or from the function build logs display in Appwrite Console? If it's from your local machine, the function is failing to build because it doesn't have the runtime context objects used by Open Runtimes run your function. If it's from the function build logs on Appwrite Console, it's a bug and we would need to fix the template. |
Hey @loks0n , It is the issue: "If it's from your local machine, the function is failing to build because it doesn't have the runtime context objects used by Open Runtimes run your function." Let me details in my words: if I deploy the code to self container appwrite, I mean to localhost appwrite, it works as expected. |
Ah, okay. The In the future we'd like to build some helper functions to mitigate these local errors, but for now it's fine to ignore them. If you have any suggestions as to how we can improve Visual Studio support, we'd love to hear them 🚀 |
From my experience on appwrite, appwrite is awesome product. It works as self container and it has a cloud version as well. But more documentation is needed it seems. Especially while version upgrades such as Appwrite 1.4 for example. This thread I created will help many others I hope. |
👟 Reproduction steps
When I build https://github.com/appwrite/templates/tree/main/dotnet/starter csproj
👍 Expected behavior
Build successfully
👎 Actual Behavior
In public async Task Main(RuntimeContext Context)
The type or namespace name 'RuntimeOutput' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'RuntimeContext' could not be found (are you missing a using directive or an assembly reference?)
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: