WCF Service Deployment Issue

Sep 12, 2014 at 2:00 PM

I am trying to package a WCF service on the SharePoint server, but I receive this error:

The Project Item "name" cannot be deployed through a Package.

I used VS deploy option, and msbuild command; both yield to the same error.

My project settings are: No Activation, Deploy assembly to GAC. No change has been made to the default package settings, and not config file has been added.

I am using VS2012 v11, CKS 1.2 for VS.

I have seen this issue previously reported in discussions, but I did not find any suggested causes or solutions.

I appreciate your help.