-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fixed incorrect dotnet build configuration #14247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -674,6 +674,16 @@ To run tests and publish code coverage with Coverlet: | |
| 1. Add the following snippet to your *azure-pipelines.yml* file. Don't add extra `DataCollectionRunSettings` arguments because the `XPlat Code Coverage` collector already produces a Cobertura report. | ||
|
|
||
| ```yaml | ||
| - task: UseDotNet@2 | ||
| inputs: | ||
| version: '8.x' | ||
|
|
||
| - task: DotNetCoreCLI@2 | ||
| displayName: 'dotnet build' | ||
| inputs: | ||
| command: 'build' | ||
| arguments: '--configuration $(buildConfiguration)' | ||
|
|
||
|
Comment on lines
+677
to
+686
|
||
| - task: DotNetCoreCLI@2 | ||
| displayName: 'dotnet test' | ||
| inputs: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.