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

TechNet Team

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).


View original post

Leave a Reply

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

You are commenting using your 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