Skip to content

Commit 32540a5

Browse files
authored
Update README for CSPROJ tooling [Skip CI]
1 parent da8b4ae commit 32540a5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ You can get started quickly with this package, and later migrate to the full Ser
1313

1414
### Getting started
1515

16-
**1.** Add [the NuGet package](https://nuget.org/packages/serilog.extensions.logging.file) to the `"dependencies"` section of your `project.json` file:
16+
**1.** Add [the NuGet package](https://nuget.org/packages/serilog.extensions.logging.file) as a dependency of your project either with the package manager or directly to the CSPROJ file:
1717

18-
```json
19-
"dependencies": {
20-
"Serilog.Extensions.Logging.File": "1.0.0"
21-
}
18+
```xml
19+
<PackageReference Include="Serilog.Extensions.Logging.File" Version="1.0.1" />
2220
```
2321

2422
**2.** In your `Startup` class's `Configure()` method, call `AddFile()` on the provided `loggerFactory`.

0 commit comments

Comments
 (0)