I am using classing (not yaml) configured build pipeline.However this is the configuration in yaml style:
steps:- task: NuGetToolInstaller@0 displayName: 'Use NuGet 5.8' inputs: versionSpec: 5.8- task: NuGetCommand@2 displayName: 'NuGet restore' inputs: restoreSolution: '$(Parameters.solution)' vstsFeed: 'someGuid'- task: VSBuild@1 displayName: 'Build solution **\*.sln' inputs: solution: '$(Parameters.solution)' platform: '$(BuildPlatform)' configuration: '$(BuildConfiguration)'- task: DotNetCoreCLI@2 displayName: 'Create NuGet Packages' inputs: command: pack packagesToPack: '**/Logging.csproj' packDirectory: SomeCompanyPackages nobuild: true includesymbols: true includesource: true- task: DotNetCoreCLI@2 displayName: 'Push NuGet Packages' inputs: command: push packagesToPush: 'SomeCompanyPackages/*.nupkg' publishVstsFeed: 'someGuid'- task: VSTest@2 displayName: 'VsTest - testAssemblies' inputs: testAssemblyVer2: | **\*\Test.dll !**\obj\** platform: '$(BuildPlatform)' configuration: '$(BuildConfiguration)'- task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: drop' inputs: PathtoPublish: '$(build.artifactstagingdirectory)' condition: succeededOrFailed()
I would expect to only find a NuGet package for Logging.csproj
in my artifacty feed but insteadI also find quite a few other packages:
Why is that?
Moreover: I did not figure out how make use of option --skip-duplicate
If anybody can help...