try running during BuildAndTest.yml

This commit is contained in:
Eric Erhardt 2024-11-12 16:00:54 -06:00
Родитель 0a4bbeed0e
Коммит e690bbf4b7
2 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -68,6 +68,10 @@ steps:
condition: always()
continueOnError: true
- script: $(Build.SourcesDirectory)/.dotnet/dotnet publish
workingDirectory: $(Build.SourcesDirectory)/test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp
displayName: Publish AOT Test
- ${{ if ne(parameters.skipQualityGates, 'true') }}:
- ${{ if eq(parameters.runAsPublic, 'true') }}:
- task: PublishPipelineArtifact@1

Просмотреть файл

@ -25,7 +25,7 @@
<!-- https://github.com/dotnet/extensions/issues/5623 -->
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Compliance.Redaction\Microsoft.Extensions.Compliance.Redaction.csproj" />
<!-- https://github.com/dotnet/extensions/issues/5625 -->
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Http.Resilience.csproj" />
<!-- <LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Http.Resilience.csproj" /> -->
<TrimmerRootAssembly Include="@(LibraryProjects->'%(Identity)')" />
<ProjectReference Include="@(LibraryProjects)" />
@ -40,7 +40,7 @@
<!-- Override Test and VSTest so testing publishes this app and fails if there are any warnings/errors -->
<!-- Needs to be defined after importing the Sdk.targets -->
<Target Name="Test" DependsOnTargets="PublishProject" />
<Target Name="VSTest" DependsOnTargets="Test" />
<!-- <Target Name="Test" DependsOnTargets="PublishProject" />
<Target Name="VSTest" DependsOnTargets="Test" /> -->
</Project>