Byte Converter not found error

Jun 17, 2010 at 7:41 PM
I'm trying to run the project as-is in VS2010 w/ SL4. I'm getting a runtime error that says the type ByteConverter can't be found. THis is kind of a bummer because from the samples offered online, this may be just what a client needs. Any ideas, thoughts, advice, peels of derisive laughter?
Coordinator
Jun 17, 2010 at 8:35 PM

No problem here when I download the latest release. It compiles fine.

ByteConverter is in mpost.SilverlightMultiFileUpload.Core

Jun 17, 2010 at 8:40 PM

Hmmm....

My solution here compiles just fine but when I try to run/debug it, it tells me it can't find ByteConverter.

Coordinator
Jun 17, 2010 at 8:51 PM

Try deleting the XAP files to make sure they are really compiled and created when you compile.

Jun 17, 2010 at 8:57 PM
Edited Jun 17, 2010 at 10:48 PM

I deleted the xap files and ran the solution, but no love - same error

Jun 18, 2010 at 8:53 PM

Well, I got this fixed, but not sure how.

I found a reference to ByteConverter in the xaml for Page.xaml on line 123 (Static Resource).  For some reason I deleted the String, "ByteConverter" and replaced it with the string "ByteConverter" (yes, the same string). 

 

After doing that I ran the solution in the debugger and runs without the runtime error.

There's another problem now the UploadFolder, but I'll start a spearate thread if I can't find a previous topic to look at.