Clean the solution and then right click on the project and select Package
Here increment the Assembly
and Assembly file
version and rebuild.
If that does not work,
1 - Open the solution in file Explorer.
2 - Close Visual Studio.
3 - Remove all bin
and obj
folders.
4 - Reopen the project and build it.