title: New-ServiceFabricApplication : Application type and version not found
body: <p>I have Visual Studio 2017 and I about to start working with Azure-Service-Fabric (C#).</p>
  
  <p>Just created an Azure Service Fabric application, with stateless service and try to run it. Empty project. No changes on the code-template. </p>
  
  <p>I'm getting this message on the output window: </p>
  
  <pre><code>Creating application...
  New-ServiceFabricApplication : Application type and version not found
  At C:\Program Files\Microsoft SDKs\Service 
  Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:358 char:9
  +         New-ServiceFabricApplication -ApplicationName $ApplicationNam ...
  +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [New-ServiceFabr 
     icApplication], FabricElementNotFoundException
      + FullyQualifiedErrorId : CreateApplicationInstanceErrorId,Microsoft.ServiceFabric.Powershell.NewApplication
  
  Finished executing script 'Publish-NewServiceFabricApplication'.
  Time elapsed: 00:00:07.4935602
  </code></pre>
  
  <p>The projects build is passed successfully. Starting to run and then stopped. No other indication to problem except the output window.</p>
  
  <p>What I missing? How to fix?</p>