Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created a Visual Web Part in VS2010 with SPmetal-generated Entities and a repository.

This is the code in the Page_Load()

var _repository = new ITStatistikenVWP.TicketsystemRepository();

TextBox txt = new TextBox();
txt.Text = repository.getNewTicketCount().ToString();
txt.TextMode = TextBoxMode.MultiLine;

Simple as that. The problem is, that the solution gets installed and deployed, but in the featurelist in the SiteCollection it does not get listed. It is also missing in the 14/Template/features folder.

What am I missing?

share|improve this question
I seem to have found a possible cause. The standard framework was 3.5. Changing it to 4 got the visual webpart working from the get go. Unfortuanatly I can only choose the framework when creating the project. – Serv Mar 18 at 11:58

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.