I am unable to create a nuget package using below azure devops yml pipeline
Variables
- buildPlatform: 'x86'
- buildConfiguration: 'Debug'
- task: NuGetCommand@2 displayName: 'NuGet Pack' inputs: command: 'pack' packagesToPack: '*.framework/Software/ServerComponents/*.Framework.VisualBasic/\*.Framework.VisualBasic.vbproj' buildProperties: 'Configuration=$(buildConfiguration);Platform=$(buildPlatform)' versioningScheme: 'byEnvVar' versionEnvVar: 'BUILD_BUILDNUMBER' outputDir: '$(Build.ArtifactStagingDirectory)'
Getting below error while trying with this configurations
##[debug]Processed: ##vso[task.issue type=error;]The nuget command failed with exit code(1) and error(Error NU5012: Unable to find 'C:\agent\workspace\1\s\*.framework\Software\ServerComponents\.Framework.VisualBasic\bin\x86\Configuration=Debug\**.Framework.VisualBasic.dll'. Make sure the project has been built.
Here My DDL
C:\\agent\\workspace\\1\\s\\*.framework\\Software\\ServerComponents\\.Framework.VisualBasic\\bin\\x86\\Configuration=Debug\\*\**.Framework.VisualBasic.dll
instead of it should be locate C:\\agent\\workspace\\1\\s\\.framework\\Software\\ServerComponents\\.Framework.VisualBasic\\bin\\x86\\Debug\\*.Framework.VisualBasic.dll
How do we fix this this issue?