The deployment type of file in Project Item is not compatible with a Feature in a Sandboxed Solution

Advertisement
If you are trying to include Template File, Images, Layouts in Package. In Visual Studio 2010 will raise an error like “The deployment type "TemplateFile" of file "VideoUserControlUserControl.ascx" in Project Item "VideoUserControl" is not compatible with a Feature in a Sandboxed Solution.”

In my solution I am trying to  add images to document library.


When i deploy the solution it shows the  errors like this.

I am having the solution with name Video

   Click on the solution properties Press F4

Change the sandboxed solution from true to false.

Now we can able to deploy with our this errors.


Advertisements
SHARE

Lakshmi Tulasi Jasti

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

3 comments:

  1. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. scope management

    ReplyDelete
  2. I have added and shared your site to my social media accounts to send people back to your site because I am sure they will find it extremely helpful too. Aegean College

    ReplyDelete