Windows Phone Developers

Showing posts with label Build Errors in C#. Show all posts
Showing posts with label Build Errors in C#. Show all posts

Tuesday, June 7, 2011

System.Xml.Serialization.XmlSerializer.XmlSerializer() is inaccessible due to its protection level

One reason for this error is if you haven't mentioned the type when you initialize the XmlSerializer object

XmlSerializer Xser = new XmlSerializer()

can be replaced with

XmlSerializer Xser = new XmlSerializer(this.GetType() );
Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

Wednesday, May 25, 2011

Unable to copy file "obj\x86\Debug\*.exe" to "bin\Debug\*.exe". The process cannot access the file 'bin\Debug\*.exe' because it is being used by another process.

To release the file go to the Task Manager and see if the Exe is running in the process Tab. Kill the process and Build the project it should work.

But before that make sure why the Exe was still running in the process even after the application is termninated. It might be due to some malperformance of garbage collection Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon