Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have installed Visual Studio power tools so that i can add Visual Web Parts. This all works fine, i can deploy Visual Web Parts etc.

I now want to create a UserControl in my solution which i can reuse in my Visual Web Parts, pages etc.

How do i do this?

I have tried adding a UserControl to the solution but this causes a build failure (something about control templates in sandboxed solution)

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Application pages, user controls (.ascx files), and localization resource (.resx) files cannot be deployed with a sandboxed solution.

Learn more about restrictions on Sandbox solutions

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.