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

Add docs for installing 64-bit version of func cli #206

Merged
merged 1 commit into from
Feb 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
* You will be automatically prompted to install these templates when you first create a project/function
* If you are using v2.0 of the Azure Functions runtime, you must install the beta (.NET Core) templates
* If you are using v1.0 of the Azure Functions runtime, you must install the v1.0 (.NET Framework) templates.
> NOTE: The VS Code Debugger for C# [only supports](https://github.com/OmniSharp/omnisharp-vscode/issues/1716) attaching to 64-bit processes. v1.0 of the Azure Functions runtime defaults to 32-bit and you must install a 64-bit version. See [here](https://github.com/Azure/azure-functions-cli/issues/117) for instructions.
> NOTE: The VS Code Debugger for C# [only supports](https://github.com/OmniSharp/omnisharp-vscode/issues/1716) attaching to 64-bit processes. v1.0 of the Azure Functions runtime defaults to 32-bit and you must install a 64-bit version. See [here](https://aka.ms/azFunc64bit) for instructions.
* You may uninstall or reinstall the templates with the following steps:
1. Open Command Palette (View -> Command Palette...)
1. Search for "Azure Functions" and "install" or "uninstall"
Expand Down
9 changes: 9 additions & 0 deletions docs/func64bit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Debugging .NET Framework functions in VS Code

The VS Code Debugger for C# [only supports](https://github.com/OmniSharp/omnisharp-vscode/issues/1716) attaching to 64-bit processes. However, v1.0 of the Azure Functions runtime defaults to 32-bit (See [this issue](https://github.com/Azure/azure-functions-cli/issues/117) for more info). Follow these instructions to install a 64-bit version:
1. Install the 32-bit version of the cli with the command `npm install -g azure-functions-core-tools`
1. Download a 64-bit version of the v1.0 cli from [here](https://github.com/Azure/azure-functions-core-tools/releases). The file name will look similar to "1.0.8-x64.zip".
1. Run `npm root -g` to find the root folder containing your global npm packages (likely `%USERPROFILE%\AppData\Roaming\npm\node_modules`)
1. Replace the files in `<npm global packages root>\azure-functions-core-tools\bin` with the un-zipped files

> NOTE: The VS Code extension for Azure Functions will warn you to install the 64-bit version of the Azure Functions CLI every time you create a .NET Framework based project (even after you have installed the 64-bit version). You may ignore that warning once you follow the above steps.