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

Failed to find pre-deploy task "publish-release" #1360

Closed
srcsakthivel opened this issue Jan 17, 2020 · 2 comments
Closed

Failed to find pre-deploy task "publish-release" #1360

srcsakthivel opened this issue Jan 17, 2020 · 2 comments
Labels
info-needed See https://aka.ms/azcodeissuereporting

Comments

@srcsakthivel
Copy link

Does this occur consistently? Yes.
Repro steps:

  1. Created the new project (dotnet new mvc -n movie)
  2. Tried to do the deploy webapp

Action: appService.Deploy
Error type: Error
Error Message: Failed to find pre-deploy task "publish-release". Modify your tasks or the setting "appService.preDeployTask".

Version: 0.16.2
OS: win32
OS Release: 10.0.17763
Product: Visual Studio Code
Product Version: 1.41.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:288:366020
o extension.bundle.js:288:363366
@nturinski
Copy link
Member

HI @srcsakthivel

Thanks for reporting. Could I see your workspace you're deploying and your tasks.json? If you are deploying a new .NET project, you should see this prompt:

image

Which should set up the pre-deploy tasks for you.

@ejizba ejizba added the info-needed See https://aka.ms/azcodeissuereporting label Jan 27, 2020
@vscodebot vscodebot bot closed this as completed Feb 17, 2020
@vscodebot
Copy link

vscodebot bot commented Feb 17, 2020

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed See https://aka.ms/azcodeissuereporting
Projects
None yet
Development

No branches or pull requests

3 participants