Author Topic: Portable .NET  (Read 8399 times)

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Portable .NET
« on: June 20, 2011, 10:13:51 pm »
Portable .NET

Portable .NET is a .NET compiler, assembler, disassembler, and runtime environment. With this program, you can compile programs written in C# or VisualBasic to an exe file. That's right, exe. You can also run Windows .NET programs with this package. Instructions on usage follow.



Compiling a C# file:
cscc -o out.exe in.cs
out.exe is the name of the output file, and in.cs is the name of the C# source file.



Running a .NET executable:
clrwrap name.exe
name.exe is the name of the exe (duh). It MUST be a .NET exe file.



Please note that this is still in beta phase. To download, go here and download Portable.NET.deb, hello.cs, and hello.exe. Install Portable.NET.deb with iFile or dpkg -i Portable.NET.deb. Then, run: cscc -o hellocs.exe hello.cs
With the new iFile, if you hit the little blue arrow to the right of both exe files, the md5 sum of both files should be the same. Then, run your compiled program with: clrwrap hellocs.exe With any luck, youll see "Hello world!".


EDIT: No longer beta. In repo.

Enjoy!!!
« Last Edit: July 01, 2011, 03:01:16 pm by C0deH4cker »

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Portable .NET
« Reply #1 on: June 20, 2011, 10:16:39 pm »
Wait...I don't understand...exe's on ipod?? What? 

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5104
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Portable .NET
« Reply #2 on: June 20, 2011, 10:18:30 pm »
Wait...I don't understand...exe's on ipod?? What?
I .... wait .......WTF??!! :o
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Portable .NET
« Reply #3 on: June 21, 2011, 08:22:07 am »
It's a replacement for wine.

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Portable .NET
« Reply #4 on: June 21, 2011, 09:08:27 am »
Btw is it console apps only or will it run GUIs on xserver?

Don't like seeing ads? Click here to register!

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #5 on: June 21, 2011, 09:18:43 am »
It's a replacement for wine.
No it isnt, as it can only run .NET executables, or exes made with either C# or VisualBasic. Most wont play. Also, i have not yet tried a gui, but im gonna look into GTK# next. Also, im gonna update portable .NET, as i used an older version(0.4.8) for ease of compiling. Even still, i had to modify the code in several places. The new portable .net is version 0.8.0, and has other features. I tried compiling mono first, but got syntax errors in compilation, and idk if i can fix them.
« Last Edit: June 21, 2011, 09:53:03 am by C0deH4cker »

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #6 on: June 21, 2011, 09:53:45 am »
Wait...I don't understand...exe's on ipod?? What?
Yes sir.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #7 on: June 21, 2011, 09:54:10 am »
Has anybody tried and tested this yet?

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #8 on: June 21, 2011, 02:39:09 pm »
Deb fixed and reuploaded. I would really appreciate some feedback here guys.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #9 on: June 21, 2011, 05:44:59 pm »
Really?! No takers? Anybody there? Hello? Its lonely here.

Don't like seeing ads? Click here to register!

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Portable .NET
« Reply #10 on: June 21, 2011, 05:52:36 pm »
There will probably be many more people interest when we go public. 

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #11 on: June 21, 2011, 05:53:53 pm »
I know, but im still like the only person to post here. Update of portable.net is uploading as we speak btw.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #12 on: June 21, 2011, 05:54:08 pm »
Done

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Portable .NET
« Reply #13 on: June 21, 2011, 05:58:18 pm »
Sorry, i lied. Reuploading now.

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Portable .NET
« Reply #14 on: June 21, 2011, 06:44:24 pm »
Id beta test but you're still debugging. I'm giving you all the errors I get.