1. First of all open the solution in visual studios. Then go to Build -> configuration manager.
And Define a new platform (x86) and set it as platform for debugging
2. Try to do a full build (this will fail because of missing dlls). This will create a folder x86 in [....\WUW01\bin]
3. copy all dll files from [...\WUW01\bin\debug] to [....\WUW01\bin\x86] these files.
For Example : DirectShowLib-2005.dll,FluidKit.dll, NyARToolkitCS.dll,
NyARToolkitCS.sandbox.dll,.......
4. Now back in visual studio remove all the references to the following dlls
1.DirectShowLib-2005
2.FluidKit.dll
3.NyARToolkitCS.dll
4.NyARToolkitCS.sandbox.dll
5.NyARToolkitCSUtils.dll
6.TouchlessLib.dll
7.VEarthControl.dll
8.WeatherReaderMVC.dll
9.WpfUserControl_Stock01.dll
10.WPFControl_Clock01.dll
11.WPFControl_Menu03.dll
12.WPFControl_Weather01.dll
13.WpfUserControl_Mail01.dll
14.WpfUserControlInkPlaying01.dll
5. Then click on add reference and browse to the x86 folder and add those dlls again by selecting them.
1.DirectShowLib-2005
2.FluidKit.dll
3.NyARToolkitCS.dll
4.NyARToolkitCS.sandbox.dll
5.NyARToolkitCSUtils.dll
6.TouchlessLib.dll
7.VEarthControl.dll
8.WeatherReaderMVC.dll
9.WpfUserControl_Stock01.dll
10.WPFControl_Clock01.dll
11.WPFControl_Menu03.dll
12.WPFControl_Weather01.dll
13.WpfUserControl_Mail01.dll
14.WpfUserControlInkPlaying01.dll
6. Copy the folder Gestures,pics,temp from [....\WUW01\bin\Debug] to [...\WUW01\bin\x86\Debug]
7. Now go to the solution and push the debug button and it would throw an error "Null Refernce exception...."
8. Now, comment the line under MailDemo Control and add a new line WpfUserControl_Mail01.UserControl1 Control_mail;
9. This will solve the issue and the app will start running.
Dear sir/madam,
ReplyDeletewhile executing following procedures in 64 bit(Windows 10), my visual studio community enters into break mode and throw following exception.
Exception : "System.BadImageFormatExceptionHResult=0x800700C1Message= is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)Source=StackTrace:"
Thanks Regards
Hoping for your reply