I have a Nuget package. Example: 'Sample'.I have generated a .nupkg file using nuspec file.and then pushed 'Sample' nuget package to feed using Nuget push azure build task.
my nuspec file:
<?xml version="1.0" encoding="utf-8"?><package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"><metadata><id>Sample</id><version>1.0.0.0</version><title>Sample</title><authors>Name</authors><copyright>Copyright © 2009-2019. All rights reserved.</copyright> <tags>Sample</tags> <description>This package is for testing.</description><owners>Name</owners> </metadata><files> <file src="./Sample.dll" target="lib\net46\Sample.dll"/></files></package>
Now I want to change the name of my nuget package, For example: 'SamplePackageForTesting'.
Nuget pakage name is not updated eventhough I change the title, and then pushed.
But when I change the id and push, then it is updating as new package.
Can you provide any solution how to change the name of my nuget package 'Sample' to 'SamplePackageForTesting'.