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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support same experience for PreCompiled Azure Functions as for csx Azure Functions #61

Closed
markmonster opened this issue Feb 8, 2017 · 1 comment

Comments

@markmonster
Copy link

I started out using C# script functions which has a very nice experience when you save the .csx file it will be reloaded by the Azure Function host. Because I had needed a more solid solution I moved over to PreCompiled Azure Functions (like https://github.com/Azure/azure-webjobs-sdk-script/wiki/Precompiled-functions).

There are actually two pieces that can have some experience improvements.

1: Right now I have a postbuild action to do a robocopy of the build output towards the Azure Function folder. It would be nice if this association is supported by tooling instead of a manual post build action. That would also enable the trigger the actual build of the PreCompiled Function when running the Azure Function project.

2: Because I now use a post-build step to copy the PreCompiled Function I noticed that I'm not able to update the dlls. They are locked when the Azure Function host is running. It would be a very nice experience if the dlls of the PreCompiled function can just be copied and even trigger a reload in the Azure Function Host.

@lindydonna
Copy link
Contributor

@mkamonster Agreed on both counts! For #1, we have an open issue for the Visual Studio tooling to support project references (Azure/Azure-Functions#90). There's a build dependency workaround here: Azure/Azure-Functions#90 (comment).

For #2, the fix is done but just needs to be deployed (which will be "soon" but I don't have an exact ETA). See Azure/azure-functions-host@661e8de.

If you want the latest fix locally, you can build the CLI project and swap in the build artifacts from the -Script AppVeyor build: https://ci.appveyor.com/project/appsvc/azure-webjobs-sdk-script-y8o14/history

Closing as duplicate.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants