Friday 21 March 2014

textbox password Rebuild

if (cshowPassword.Checked != true)
{
      txtPassword.PasswordChar = '*';
}
else
{
     txtPassword.PasswordChar = char.Parse("\0");
}

Thursday 20 March 2014

Unexpected Error creating debug information file ***.PDB



Answers (This worked for me:)
  1. Shut down VS.NET
  2. Browse to the project in Windows Explorer   
  3. Delete the /obj/ folder.
  4. Delete the project outputs (.dll and .pdb) from /bin (not sure if this step is necessary)
  5. Can't hurt but might help: delete the project outputs from any other project /bin folders in the solution that is having issues (wasn't necessary for me)
  6. Restart VS.NET
  7. Rebuild