This warning appear when the Visual Studio project was not built before packaging using NuGet. Just rebuild your project and repack.
- Go to Build then Rebuild.
- From command prompt:
nuget pack your-project.csproj
.
Then it should work.
Note this behavior was filed as an issue in CodePlex.
Note: as per Boris Callens' response below, can use the -Build
to have NuGet do the build
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…