I created a Nuget package, I made some changes to the project and added some comments, but after updating the package, those changes didn't apply, and still has the first release. I have the NuGet.exe, the *.nuspec and the *.nupkg files in the same directory of the .csproj file of the project class library. I can't figure out what I'm missing!
Asked
Active
Viewed 135 times
0
-
Question is unclear. Are you using this nuget package in a project somewhere, and you find that the package that's being referenced in that project is not the package that contains your update? If so, you may have used the same version number for both packages, and the original package may be cached on your machine. Try running a `nuget locals all -clear` and deleting the `packages` folder from your solution directory. – Michael Gunter Dec 07 '16 at 22:12
-
I'm creating a NuGet package from a class library. I followed this tutorial https://docs.nuget.org/ndocs/quickstart/create-and-publish-a-package – mshwf Dec 07 '16 at 22:16
-
Did you create 2 packages over time with the same name and version? If so, and if the problem is that you can't seem to get the updated package to be present in the project that uses the nuget package, it's because it's in cache. – Michael Gunter Dec 07 '16 at 22:30
-
I remember I tried, but it doesn't allow the package to have same name and version – mshwf Dec 07 '16 at 22:37
1 Answers
0
To show XML comments, I should enable in the project properties> Build> check XML documentation file

mshwf
- 7,009
- 12
- 59
- 133