Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Changing name for Nuget Package

$
0
0

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'.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>