123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- {
- "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
- "version": "2.1.0",
- "runs": [
- {
- "tool": {
- "driver": {
- "name": "Back up project",
- "semanticVersion": "",
- "informationUri": "https://github.com/dotnet/upgrade-assistant#usage",
- "rules": [
- {
- "id": "Microsoft.DotNet.UpgradeAssistant.Steps.Backup.BackupStep",
- "fullDescription": {
- "text": "Back up the current project to another directory"
- }
- }
- ]
- }
- },
- "results": [
- {
- "ruleId": "Microsoft.DotNet.UpgradeAssistant.Steps.Backup.BackupStep",
- "level": "note",
- "message": {
- "text": "Complete: Project backed up to D:\\GitHub\\Design-Pattern.backup\\AdapterPattern"
- },
- "locations": [
- {
- "physicalLocation": {
- "artifactLocation": {
- "uri": "file:///D:/GitHub/Design-Pattern.backup/AdapterPattern"
- },
- "region": {}
- }
- }
- ]
- }
- ],
- "columnKind": "utf16CodeUnits"
- },
- {
- "tool": {
- "driver": {
- "name": "Add package 'Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers'",
- "semanticVersion": "",
- "informationUri": "https://github.com/dotnet/upgrade-assistant#usage",
- "rules": [
- {
- "id": "Microsoft.DotNet.UpgradeAssistant.Steps.Packages.PackageUpdaterStep+PackageManipulationStep`1[[Microsoft.DotNet.UpgradeAssistant.NuGetReference, Microsoft.DotNet.UpgradeAssistant.Abstractions, Version=0.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]"
- }
- ]
- }
- },
- "results": [
- {
- "ruleId": "Microsoft.DotNet.UpgradeAssistant.Steps.Packages.PackageUpdaterStep+PackageManipulationStep`1[[Microsoft.DotNet.UpgradeAssistant.NuGetReference, Microsoft.DotNet.UpgradeAssistant.Abstractions, Version=0.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]",
- "level": "note",
- "message": {
- "text": "Complete: Add package 'Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers'"
- },
- "locations": [
- {
- "physicalLocation": {
- "artifactLocation": {
- "uri": "file:///D:/GitHub/Design-Pattern/AdapterPattern/AdapterPattern.csproj"
- },
- "region": {}
- }
- }
- ]
- }
- ],
- "columnKind": "utf16CodeUnits"
- },
- {
- "tool": {
- "driver": {
- "name": "Update TFM",
- "semanticVersion": "",
- "informationUri": "https://github.com/dotnet/upgrade-assistant#usage",
- "rules": [
- {
- "id": "Microsoft.DotNet.UpgradeAssistant.Steps.ProjectFormat.SetTFMStep",
- "fullDescription": {
- "text": "Update TFM for current project"
- }
- }
- ]
- }
- },
- "results": [
- {
- "ruleId": "Microsoft.DotNet.UpgradeAssistant.Steps.ProjectFormat.SetTFMStep",
- "level": "error",
- "message": {
- "text": "Failed: Unexpected error applying upgrade step 'Update TFM'\r\nSystem.InvalidOperationException: Project file only supports setting TFM on new style csproj\r\n at Microsoft.DotNet.UpgradeAssistant.Extensions.NuGet.TargetFrameworkMonikerCollection.SetTargetFramework(TargetFrameworkMoniker tfm)\r\n at Microsoft.DotNet.UpgradeAssistant.MSBuild.MSBuildProject.SetTFM(TargetFrameworkMoniker tfm) in /_/src/components/Microsoft.DotNet.UpgradeAssistant.MSBuild/MSBuildProject.File.cs:line 49\r\n at Microsoft.DotNet.UpgradeAssistant.Extensions.TryConvert.SetTFMStep.ApplyImplAsync(IUpgradeContext context, CancellationToken token)\r\n at Microsoft.DotNet.UpgradeAssistant.UpgradeStep.ApplyAsync(IUpgradeContext context, CancellationToken token) in /_/src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/UpgradeStep.cs:line 178"
- },
- "locations": [
- {
- "physicalLocation": {
- "artifactLocation": {
- "uri": "file:///D:/GitHub/Design-Pattern/AdapterPattern/AdapterPattern.csproj"
- },
- "region": {}
- }
- }
- ]
- }
- ],
- "columnKind": "utf16CodeUnits"
- }
- ]
- }
|