Azure devops pipeline failing on unit test .net fx 4.8

Rod 41 Reputation points
2022-09-06T16:57:13.793+00:00

I have a very simple solution that uses .Net Framework 4.8 and in my pipeline I've taken defaults for a build using asp.net (not the .core one). I have one and only one test failing.

# ASP.NET  
# Build and test ASP.NET projects.  
# Add steps that publish symbols, save build artifacts, deploy, and more:  
# https://learn.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4  
  
trigger:  
- master  
  
pool: rspool  
    
  
variables:  
  solution: '**/*.sln'  
  buildPlatform: 'Any CPU'  
  buildConfiguration: 'Release'  
  
steps:  
- task: NuGetToolInstaller@1  
  
- task: NuGetCommand@2  
  inputs:  
    restoreSolution: '$(solution)'  
  
- task: VSBuild@1  
  inputs:  
    solution: '$(solution)'  
    msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'  
    platform: '$(buildPlatform)'  
    configuration: '$(buildConfiguration)'  
  
- task: VSTest@2  
  inputs:  
    platform: '$(buildPlatform)'  
    configuration: '$(buildConfiguration)'  
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,159 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2022-09-06T17:05:34.293+00:00

    Devops / TFS is not currently supported here on Q&A. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem
    https://azure.microsoft.com/en-in/support/devops/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rod 41 Reputation points
    2022-09-06T16:57:53.117+00:00

    238306-devopsresults.png

    0 comments No comments