DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: No .NET Framework, no problem!  (Read 13,783 times)

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
No .NET Framework, no problem!
« on: May 06, 2014, 08:34 PM »
Writing code in C# .NET means that the end users machine also needs to support the .NET Framework.  This also means that you can't really make .NET portable applications.

With the latest update introduced (still in preview mode) this restriction will disappear for x64 and ARM Windows Store applications. x86 and regular Windows Application support is on the charts. It still doesn't support advanced features such as WCF but is a good first step.

Applications compiled with .NET Native will have better performance as there is no JIT involved but will still have the advantages of GC.

http://blogs.msdn.com/b/dotnet/archive/2014/04/02/announcing-net-native-preview.aspx​

http://msdn.microsoft.com/en-US/vstudio/dn642499.aspx

http://msdn.microsoft.com/en-us/library/dn600165(v=vs.110).aspx​

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: No .NET Framework, no problem!
« Reply #1 on: May 06, 2014, 08:55 PM »
It's about time. Mono has had a similar capability for a while now - package all required binaries with the distributable.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: No .NET Framework, no problem!
« Reply #2 on: May 07, 2014, 02:28 AM »
This sounds promising!



Didn't know Mono had a similar capability!  Nice :Thmbsup:

Is it what's hinted at here?

Quote
Mono and applications that embed Mono can be deployed without an installer (you can "xcopy" deploy your application and the required Mono files without installing the .NET runtime).

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: No .NET Framework, no problem!
« Reply #3 on: May 07, 2014, 11:46 AM »
My biggest objection to C#/.NET has always been the runtime shenanigans. So this to me is incredibly interesting, especially if the produced .exe is as small as the typical C# project output but still completely portably non runtime dependent.

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: No .NET Framework, no problem!
« Reply #4 on: May 07, 2014, 12:45 PM »
It's about time. Mono has had a similar capability for a while now - package all required binaries with the distributable.

Mono exists purely at the pleasure of the Gnomes of Redmond.

If ever there was a FOSS project ripe for being hit and taken down by a massive IP legal assault, it's Mono.

So much so that most Linux developers avoid it, fearing that Microsoft's current inaction indicates it's pursuing a Trojan Horse legal strategy with Mono.

[attach]

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: No .NET Framework, no problem!
« Reply #5 on: May 07, 2014, 01:06 PM »
Quote
My biggest objection to C#/.NET has always been the runtime shenanigans. So this to me is incredibly interesting, especially if the produced .exe is as small as the typical C# project output but still completely portably non runtime dependent.

I'm not so concerned with size but agree whole heartedly that there is some real pain associated with having to worry if the user has the right version of .net stuff installed, so this would be a big improvement.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: No .NET Framework, no problem!
« Reply #6 on: May 07, 2014, 03:06 PM »
I don't think you can get independence and size in the same package.  It's going to at least increase with the number of libraries you have linked- just common sense there.  I guess the thing to see is the size of the base libraries.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: No .NET Framework, no problem!
« Reply #7 on: May 07, 2014, 04:29 PM »
I guess the thing to see is the size of the base libraries.

Yepper, that was my question. :D

@mouser - Understood, but I'm a bit hung-up on the absurd notion that a small utility should actually be small. Most of my C++ stuff is under 100KB, Page Countster for example for all it does is only 282KB, Got Space is 158KB...and most of that is the icon. Now if I go with C#/.NET I can get a binary that is 6-10KB, but that is going to be dependent on a runtime that may be as high as 40MB ... Which means that my supposed to be tiny little utility is now a 40MB behemoth that can't be used in a clean in-and-out zero presence fashion. That for me is a deal breaker.

zenzai

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 44
Re: No .NET Framework, no problem!
« Reply #8 on: May 20, 2014, 11:39 AM »
An alternative is CrossOver:

http://www.codeweavers.com/products/

zenzai

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 44
Re: No .NET Framework, no problem!
« Reply #9 on: May 20, 2014, 11:41 AM »
Quote
My biggest objection to C#/.NET has always been the runtime shenanigans. So this to me is incredibly interesting, especially if the produced .exe is as small as the typical C# project output but still completely portably non runtime dependent.

I'm not so concerned with size but agree whole heartedly that there is some real pain associated with having to worry if the user has the right version of .net stuff installed, so this would be a big improvement.

Win 8 (and AFAIR also Win 7) automatically offers to download the correct version if it isn't installed, when you run a .NET program.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: No .NET Framework, no problem!
« Reply #10 on: May 20, 2014, 05:20 PM »
An alternative is CrossOver:

http://www.codeweavers.com/products/

While I'm not entirely clear on how this related to the thread, it does look like it might be a real nice fit for a Windows software needed on a purely Mac OSX network issue that just got dropped into my lap last Friday.

Thanks!

Original address: https://www.donationcoder.com/forum/index.php?topic=37888.0