How does visual studio link files to their corresponding designer.cs files? I have a strange situation that’s occurred with both the DataSet designer and also the L2S DBML designer where it’s ignoring the DataSet.Designer.cs and has created and used a DataSet.Designer1.cs instead. How can I switch it back?
How does visual studio link files to their corresponding designer.cs files? I have a
Share
Thanks to Zendar’s suggestion, this is what I did:
DataContext1.designer.csfile toDataContext.designer.cs, so the rename is picked up by source control.MyProject.csprojin Textpad.DataContext1.designerwithDataContext.designer(found 2 instances).Re-opening and building the solution in Visual Studio confirmed this worked. Thanks Zendar!