Please can you help , when ever i run the powershell \PublishWebapp.ps1 , it always comes out with an error.
I have followed the step below but i am always keep on getting the error.
5 : Compile and deploy the server code
In the command line, change to the .\Source\FY19GraphShowcaseDemo directory.
Run the script .\PublishWebapp.ps1. When prompted, enter the same resource group name and webAppName you entered in previous steps.
Please see error details below :
cmdlet PublishWebapp.ps1 at command pipeline position 1
Supply values for the following parameters:
ResourceGroupName: MeetingApp_ResourceGroup
WebAppName: meetingcapture
Remove-item : Cannot find path
'C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\output' because it does
not exist.
At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:10
char:1
Building WebApp...
dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:13
char:1
Building WebJob...
dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:17
char:1
Packing WebApp...
Compress-Archive : The path '.\output' either does not exist or is not a valid file system path.
At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:20
char:1
Publishing WebApp...
Publish-AzWebApp : Could not find a part of the path
'C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\output\webpackage.zip'.
At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:24
char:5
Hi Guys
Please can you help , when ever i run the powershell \PublishWebapp.ps1 , it always comes out with an error.
I have followed the step below but i am always keep on getting the error.
5 : Compile and deploy the server code
In the command line, change to the .\Source\FY19GraphShowcaseDemo directory. Run the script .\PublishWebapp.ps1. When prompted, enter the same resource group name and webAppName you entered in previous steps.
Please see error details below :
cmdlet PublishWebapp.ps1 at command pipeline position 1 Supply values for the following parameters: ResourceGroupName: MeetingApp_ResourceGroup WebAppName: meetingcapture Remove-item : Cannot find path 'C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\output' because it does not exist. At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:10 char:1
Building WebApp... dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:13 char:1
Building WebJob... dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:17 char:1
Packing WebApp... Compress-Archive : The path '.\output' either does not exist or is not a valid file system path. At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:20 char:1
Publishing WebApp... Publish-AzWebApp : Could not find a part of the path 'C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\output\webpackage.zip'. At C:\meetings-capture-sample-master\meetings-capture-sample-master\Source\FY19GraphShowcaseDemo\PublishWebapp.ps1:24 char:5
Completed!