Azure-Samples / service-fabric-dotnet-quickstart

Service Fabric quickstart .net application sample
MIT License
131 stars 200 forks source link

Unable to run the .Net sample and create .Net application manually "\Voting\pkg\Debug is not found." #14

Open SnoWolfT opened 6 years ago

SnoWolfT commented 6 years ago

I am the beginner of Service Fabric. I have followed these 2 documents and encounter the same error message. I'm unable to run the sample locally. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-quickstart-dotnet https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-create-dotnet-app

C:\Users\zhuwei\sf\service-fabric-dotnet-quickstart\Voting\pkg\Debug is not found. At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:120 char:9

Finished executing script 'Publish-NewServiceFabricApplication'. Time elapsed: 00:00:22.4344033

When I "start Debugging", I will get the messages as below.

1>------ Build started: Project: Voting, Configuration: Debug x64 ------ 2>------ Deploy started: Project: Voting, Configuration: Debug x64 ------ 2>Started executing script 'GetApplicationExistence'. 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:10.6953467 2>Started executing script 'Set-LocalClusterReady'. 2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "Import-Module 'C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\DefaultLocalClusterSetup.psm1'; Set-LocalClusterReady -createOneNodeCluster $true" 2>Launching Service Fabric Local Cluster Manager... 2>You can use Service Fabric Local Cluster Manager (system tray application) to manage your local dev cluster. 2>Finished executing script 'Set-LocalClusterReady'. 2>Time elapsed: 00:00:00.7394200 2>Started executing script 'GetApplicationExistence'. 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:10.6577025 2>Started executing script 'GetApplicationExistence'. 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:10.6976790 2>Unable to determine whether the application is installed on the cluster or not ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

any suggestion is appreciated!