Sharepoint Developer Blog

If you're a SharePoint Developer… This is the place for professional help…siddheshwar Kohale

SharePoint 2013 Visual WebPart .g.cs files not being generated /Updated by Visual Studio 2012

Posted by Siddheshwar Kohale on October 1, 2014


1.Navigate Visual Webpart.

2. Right Click on VisualWebPart1UserControl.ascx file and click on  Properties.

3.if  VisualWebPart1UserControl.g.cs is present then delete it first.

4.Go To Custom Tool Text box on properties window and  type “SharePointWebPartCodeGenerator” keyword and press enter. then it

automatically generate background file forcefully(VisualWebPart1UserControl.g.cs).

customeTool

 

One Response to “SharePoint 2013 Visual WebPart .g.cs files not being generated /Updated by Visual Studio 2012”

  1. Madhavan said

    Reblogged this on madhavan.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: