Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 0a0b332

Browse files
GGG-KILLERAndres Martinez Gotor
authored andcommitted
Include information about nuget.config in .NET Core documentation (#1072)
* Add information about nuget.config to .NET Core Add information about how to include a nuget.config in a .NET Core function * Make information about nuget.config more concise
1 parent d7708df commit 0a0b332

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/runtimes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,14 @@ You can deploy them using the command:
436436
kubeless function deploy fibonacci --from-file fibonacci.cs --handler module.handler --dependencies fibonacci.csproj --runtime dotnetcore2.0
437437
```
438438

439+
##### `nuget.config`
440+
441+
If you happen to be using custom nuget repositories through a `nuget.config` file, you'll need to include the file along with the code inside a `.zip` file and then you can deploy the function with the `nuget.config` using the command:
442+
443+
```bash
444+
kubeless function deploy custom-deps --from-file custom-deps.zip --handler module.handler --dependencies custom-deps.csproj --runtime dotnetcore2.0
445+
```
446+
439447
### Ballerina
440448

441449
#### Example

0 commit comments

Comments
 (0)