I re-installed my windows so I had to re-install my Visual Studio too. After installing VS and .NET micro freamwork 4.2, GHI NETMF v4.2 and .NET Gadgeteer Package and GHI NETMF v4.1 and .NET Gadgeteer Package I faced with this problem: “Error 1 Cannot deploy the base assembly ‘mscorlib’, or any of his satellite assemblies, to device - USB:USBizi twice. Assembly ‘mscorlib’ on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0”
I updated the firmware with USBizi Updater. But I still had the problem after that I found this: http://www.tinyclr.com/forum/topic?id=4437 This solved the problem and I can run the code but nothing happens. I don’t get any error message just simply nothing happens, evene this code is not working
You need to change target framework to .NET Micro Framework 4.1. This is done in Visual Studio, right click on project name and select “Properties” and find dropdown “Target framework” combo in “Application tab”.
If I use .Net micro Freamwork 4.2 than I’m not capable to run my code and I get the following error:
Error 1 Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:USBizi twice. Assembly 'mscorlib' on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0
@ mda747 - Let me apologize for asking the obvious, but when you installed tinyCLR firmware on the panda, did you make sure to use the 4.1 version. Some times the obvious gets over looked ( at least by me)
using System;
using Microsoft.SPOT;
using System.Threading;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.Hardware;
namespace MFConsoleApplication1
{
public class Program
{
public static void Main()
{
Debug.Print("test");
OutputPort LED;
LED = new OutputPort((Cpu.Pin)EMX.Pin.IO47, true);
Thread.Sleep(Timeout.Infinite);
}
}
}
But I have also tried with only Debug.Print(“test”);
@ Dave
I used USBiziUpdater.exe (C:\Program Files\GHI Electronics\GHI NETMF v4.1 SDK\Firmware Update)
Try to reapply the firmware using MFDeploy. Then view the “Device Capabilities” in MFDeploy and show us the results. What do you get when you ping from MFDeploy?
I press F5 then the IDE provides me informations eg.: building, rebooting… The reboot process finishes (I can hear the windows sound, reconnected) and then after that nothing happens. The LED on the Panda is on.