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

func starting release build? #159

Closed
jsiegmund opened this issue Jun 12, 2017 · 1 comment
Closed

func starting release build? #159

jsiegmund opened this issue Jun 12, 2017 · 1 comment

Comments

@jsiegmund
Copy link

I've created a new bot service instance (C#) and downloaded the source code. When attempting to run it in VS through F5, I get the error stating that I'm trying to debug a release build and I should try a debug build instead. Huh?

The debughost.cmd file contains:

`@echo off
set size=0
call func settings list -data > %temp%\settings-list
call :filesize %temp%\settings-list
if NOT %size% == 0 goto show
@echo ----------------------------------------------------------------------
@echo To fetch your bot service settings run the following command:
@echo func azure functionapp fetch-app-settings [YOUR_BOT_SERVICE_NAME]
@echo ----------------------------------------------------------------------
goto start

:show
type %temp%\settings-list
erase %temp%\settings-list

:start
@func host start -p 3978
goto :eof

:filesize
set size=%~z1
exit /b 0
`

Never seen this one before. I'm missing something stupid probably but can't find what.

Azure Functions Core Tools (1.0.0-beta.99)
Function Runtime Version: 1.0.11002.0

@jsiegmund
Copy link
Author

Sorry, stupid issue as I already expected. Just had to flip the "Just my code" switch in Studio.

@Azure Azure 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

1 participant