topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 2:30 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
No .NET Framework, no problem!
« on: May 06, 2014, 03: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.co...-native-preview.aspx

http://msdn.microsof...studio/dn642499.aspx

http://msdn.microsof...00165(v=vs.110).aspx

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #1 on: May 06, 2014, 03: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
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #2 on: May 06, 2014, 09:28 PM »
This sounds promising!



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

Is it what's hinted at here?

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,646
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #3 on: May 07, 2014, 06: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,857
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #4 on: May 07, 2014, 07:45 AM »
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.

spidy.jpg

"This is too sweet Bill!

Let's let them incorporate Mono into as much as possible
and have dozens of key user apps depend on it to work.
Once Mono is fully entrenched in the Linux ecosystem -
then we'll lower the boom!

These FOSSers won't know what hit them!
"

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #5 on: May 07, 2014, 08:06 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.

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
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #6 on: May 07, 2014, 10:06 AM »
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,646
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #7 on: May 07, 2014, 11:29 AM »
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
  • **
  • default avatar
  • Posts: 44
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #8 on: May 20, 2014, 06:39 AM »
An alternative is CrossOver:

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

zenzai

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 44
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #9 on: May 20, 2014, 06:41 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.

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,646
    • View Profile
    • Donate to Member
Re: No .NET Framework, no problem!
« Reply #10 on: May 20, 2014, 12: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!