If your assembly reference to $SharePoint.Project.AssemblyFullName$, for example in your master page, is not resolved when building the package, you have to edit the project file. Under the correct property group make sure the following line is in:

<TokenReplacementFileExtensions>master</TokenReplacementFileExtensions>

Reload the project, rebuild the solution and create the package.

Advertisement