Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dataset Designer.cs generate Designer1.cs after taking update from SVN in VS2013

I am facing a weird problem after taking update from SVN data-set Designer.cs file generate another file with different name like test.Designer.cs after update renamed as test1.Designer.cs . I follow suggestion found here. but not working again its generate test1.Designer.cs ,please help me to solve this .

like image 880
kuntal Avatar asked Dec 20 '22 04:12

kuntal


1 Answers

  1. Edit the csproj file.
  2. Search for <LastGenOutput>test1.Designer.cs</LastGenOutput>.
  3. Correct the value so it shows <LastGenOutput>test.Designer.cs</LastGenOutput>.
  4. Delete test.Designer.cs and test1.Designer.cs from disk.
  5. Open the solution again.
  6. Right-click on the dataset and click Run Custom Tool to regenerate the designer file.

The same problem can also occur with string resource resx files in Visual Studio.

like image 85
Michael Csikos Avatar answered Dec 21 '22 16:12

Michael Csikos