Permalink
Browse files

add docs on Azure Service Fabric Mesh

  • Loading branch information...
mythz committed Dec 13, 2018
1 parent a83bd5d commit d5abf23fed7d5636fd7c9396a5b725c32cb7e1a3
Showing with 16 additions and 0 deletions.
  1. +16 −0 README.md
@@ -74,6 +74,22 @@ This project was generated with [Angular CLI](https://cli.angular.io) version 6.

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Troubleshooting

### Azure Service Fabric Mesh

If using [Azure Service Fabric Mesh](https://azure.microsoft.com/en-au/services/service-fabric/) you can add the targets to the `.csproj` host project to
have it generate necessary assets on build:

```xml
<Target Name="NgDebug" BeforeTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<Exec WorkingDirectory="$(ProjectDir)src" Command="ng build -ec" />
</Target>
<Target Name="NgRelease" BeforeTargets="Build" Condition="'$(Configuration)' == 'Release'">
<Exec WorkingDirectory="$(ProjectDir)src" Command="ng build --prod" />
</Target>
```

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-spa/blob/master/README.md).

0 comments on commit d5abf23

Please sign in to comment.