Skip to content

Commit

Permalink
Fix doc warnings in new target
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Omondi (from Dev Box) committed Oct 25, 2023
1 parent 8a4a7a1 commit 953785d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/validatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
run: dotnet build ${{ env.projectName }} -f netstandard2.0 --no-restore -c Release
- name: Build for netstandard2.1
run: dotnet build ${{ env.projectName }} -f netstandard2.1 --no-restore -c Release
- name: Build for net5.0
run: dotnet build ${{ env.projectName }} -f net5.0 --no-restore -c Release
- name: Build
run: dotnet build ${{ env.solutionName }} --no-restore -c Release
- name: Test
Expand Down
6 changes: 6 additions & 0 deletions pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ steps:
projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.Beta.csproj'
arguments: '-c $(BuildConfiguration) --no-incremental -f netstandard2.1 --no-restore'

- task: DotNetCoreCLI@2
displayName: 'dotnet build net5.0'
inputs:
projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.Beta.csproj'
arguments: '-c $(BuildConfiguration) --no-incremental -f net5.0 --no-restore'

- task: DotNetCoreCLI@2
displayName: 'dotnet build test project'
inputs:
Expand Down
8 changes: 8 additions & 0 deletions src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
<DocumentationFile>bin\Release\Microsoft.Graph.Beta.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5.0|AnyCPU'">
<DocumentationFile>bin\Debug\Microsoft.Graph.Beta.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5.0|AnyCPU'">
<DocumentationFile>bin\Release\Microsoft.Graph.Beta.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<!-- https://github.com/clairernovotny/DeterministicBuilds#deterministic-builds -->
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
Expand Down

0 comments on commit 953785d

Please sign in to comment.