Hugohase
29-04-2006, 04:28 PM
Hello,
Please correct me:
i am new and i think i can compile .NET2 Applications.
Installing .NET Runtime on Mobile Device
1)I installed the .NET Compact FrameWork Runtime on My Magican. Ok no Problem
2)I moved it to Card (registry modification) to save MainMemory
3) Copy all Stuff GAC to My PC in a Folder eg. "DLLs"
Install .NET 2.0 Framework SDK
4) I found it on SharpDevelop 2.0 .NET
5) Create a batch to compile
-----------------------
set path=%path%;C:\WINDOWS\Microsoft.NET\Framework\v2. 0.50727
csc /noconfig /nostdlib /r:GAC_mscorlib_v2_0_0_0_cneutral_1.dll /r:GAC_System.Drawing_v2_0_0_0_cneutral_1.dll /r:GAC_System.Windows.Forms_v2_0_0_0_cneutral_1.dll /r:GAC_System_v2_0_0_0_cneutral_1.dll /r:GAC_CustomMarshalers_v2_0_0_0_cneutral_1.dll /target:winexe /out:test.exe /r:GAC_Microsoft.WindowsCE.Forms_v2_0_0_0_cneutral_ 1.dll hallo.cs
pause
And the hello.cs...
sing System;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;
namespace MsgWindow
{
public class MessageWindowForm : System.Windows.Forms.Form
{
private System.Windows.Forms.MainMenu mainMenu1;
// Create an instance of MsgWindow, a derived MessageWindow class.
MsgWindow MsgWin;
public MessageWindowForm()............................... ......
--------------------
And copy the test.exe to Mobile device and it work....
Is there any failiure on my doing? And why do i need extra Packages SDK for mobile devices?
Please correct me:
i am new and i think i can compile .NET2 Applications.
Installing .NET Runtime on Mobile Device
1)I installed the .NET Compact FrameWork Runtime on My Magican. Ok no Problem
2)I moved it to Card (registry modification) to save MainMemory
3) Copy all Stuff GAC to My PC in a Folder eg. "DLLs"
Install .NET 2.0 Framework SDK
4) I found it on SharpDevelop 2.0 .NET
5) Create a batch to compile
-----------------------
set path=%path%;C:\WINDOWS\Microsoft.NET\Framework\v2. 0.50727
csc /noconfig /nostdlib /r:GAC_mscorlib_v2_0_0_0_cneutral_1.dll /r:GAC_System.Drawing_v2_0_0_0_cneutral_1.dll /r:GAC_System.Windows.Forms_v2_0_0_0_cneutral_1.dll /r:GAC_System_v2_0_0_0_cneutral_1.dll /r:GAC_CustomMarshalers_v2_0_0_0_cneutral_1.dll /target:winexe /out:test.exe /r:GAC_Microsoft.WindowsCE.Forms_v2_0_0_0_cneutral_ 1.dll hallo.cs
pause
And the hello.cs...
sing System;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;
namespace MsgWindow
{
public class MessageWindowForm : System.Windows.Forms.Form
{
private System.Windows.Forms.MainMenu mainMenu1;
// Create an instance of MsgWindow, a derived MessageWindow class.
MsgWindow MsgWin;
public MessageWindowForm()............................... ......
--------------------
And copy the test.exe to Mobile device and it work....
Is there any failiure on my doing? And why do i need extra Packages SDK for mobile devices?