473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Why no .Net linker?

Linkers have been around forever.......why can't we link all needed portions
of the .Net framework into a single EXE?

Although the apps would be a bit larger, this would eliminate the
possibility of Microsoft "fixes" breaking applications and of new .Net
versions breaking older ones. And, you wouldn't have to worry about which
version of .Net (if any) the end user had installed.

Your app would then function just as expected unless fundamental changes
were made to the OS (and that's something every language is susceptible to).

I would opt for a larger app with greater reach over a smaller EXE with
limited reach any day.

Jim Hubbard

Jul 21 '05 #1
10 1839
Jim Hubbard" <re***@groups.please> wrote in message
news:FI********************@giganews.com...
Linkers have been around forever.......why can't we link all needed
portions of the .Net framework into a single EXE?
And how would CAS operate in such a scheme? Have a look at my article
http://codingsanity.blogspot.com/200...about-net.html for a
bit more detail.
Although the apps would be a bit larger, this would eliminate the
possibility of Microsoft "fixes" breaking applications and of new .Net
versions breaking older ones. And, you wouldn't have to worry about which
version of .Net (if any) the end user had installed.

Your app would then function just as expected unless fundamental changes
were made to the OS (and that's something every language is susceptible
to).

I would opt for a larger app with greater reach over a smaller EXE with
limited reach any day.

Jim Hubbard

Jul 21 '05 #2

"Sean Hederman" <us***@blogentry.com> wrote in message
news:d2**********@ctb-nnrp2.saix.net...
Jim Hubbard" <re***@groups.please> wrote in message
news:FI********************@giganews.com...
Linkers have been around forever.......why can't we link all needed
portions of the .Net framework into a single EXE?


And how would CAS operate in such a scheme? Have a look at my article
http://codingsanity.blogspot.com/200...about-net.html for a
bit more detail.


Perhaps you are right.....I slept through the whole security thing at boot
camp, so I'm not able to toss up any real arguments here.....except to say
that I have yet to see anyone at the companies I have worked at with .Net
(some pretty big companies like Qwest Communications applications built and
hosted at Innotrac) utilize signing at all.

If I create an unsigned application and throw that sucker into a setup built
by Wise or InstallShield, it has unrestricted access to the customers
machine. I've done it a few times now.

Perhaps this isn't the "Microsoft way" but it sure is how things are getting
done.

So, CAS really means nothing to me.

Let's suppose for a minute that a piece of code is "signed". CAS may be
able to verify that the signature matches whatever Verisign says about the
company that signed it, but "bad" companies can get signatures and Verisign
doesn't pass judgment on what can be done with the signed apps - it just
verifies the signature with the data (real or made-up) that it has on file.

It is still up to the user to decide whether a company is trusted ("good")
or untrusted ("bad").

I don't see CAS as anything but Microsoft's attempt to expand the "sandbox"
idea of JAVA. It is not failsafe, and is still highly dependent on the
user - which means that the users will still allow "unsafe" code to run,
just like they run all of that "FREE" crap they download now.

Lot's of work for not much safety - as far as the common user and programmer
is concerned - IMHO.

But, again, I slept through that security stuff myself. They really
should've placed it AFTER telling us how to build a .Net app. Then, maybe
our minds could've gotten off of how to build .Net apps long enough to care
about protecting them.

It's like teaching your son about car safety when all he wants to do is get
behind the wheel and drive. Sure the sound vibrations hit his ears.....but
he didn't hear a thing.

Jim Hubbard
Jul 21 '05 #3
Holy crap! I'm a 92!

Jim Hubbard
Jul 21 '05 #4
"Jim Hubbard" <re***@groups.please> wrote in message
news:m4********************@giganews.com...
[Snip]
Let's suppose for a minute that a piece of code is "signed". CAS may be
able to verify that the signature matches whatever Verisign says about the
company that signed it, but "bad" companies can get signatures and
Verisign doesn't pass judgment on what can be done with the signed apps -
it just verifies the signature with the data (real or made-up) that it has
on file.
Yes, but an administrator has to grant the signed code elevated permissions.
It is still up to the user to decide whether a company is trusted ("good")
or untrusted ("bad").

I don't see CAS as anything but Microsoft's attempt to expand the
"sandbox" idea of JAVA. It is not failsafe, and is still highly dependent
on the user - which means that the users will still allow "unsafe" code to
run, just like they run all of that "FREE" crap they download now.
Agreed, social engineering attacks are the easiest to perform generally, but
in a company where the users are not admins, the CAS can be effective.
Lot's of work for not much safety - as far as the common user and
programmer is concerned - IMHO.

But, again, I slept through that security stuff myself. They really
should've placed it AFTER telling us how to build a .Net app. Then, maybe
our minds could've gotten off of how to build .Net apps long enough to
care about protecting them.

It's like teaching your son about car safety when all he wants to do is
get behind the wheel and drive. Sure the sound vibrations hit his
ears.....but he didn't hear a thing.

Jim Hubbard

Jul 21 '05 #5
Jim Hubbard wrote:
Linkers have been around forever.......why can't we link all needed portions
of the .Net framework into a single EXE?


Look for ILMerge, it'll merge multiple assemblies together.

--
Joel Lucsy
"The dinosaurs became extinct because they didn't have a space program."
-- Larry Niven
Jul 21 '05 #6

"Joel Lucsy" <jj*****@usol.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
Jim Hubbard wrote:
Linkers have been around forever.......why can't we link all needed
portions
of the .Net framework into a single EXE?


Look for ILMerge, it'll merge multiple assemblies together.


Thanks for the link, but do you know of anything that merges everything into
a single EXE (including the .Net framework portions that it needs)?

Jul 21 '05 #7
"Jim Hubbard" <re***@groups.please> wrote in message
news:zI********************@giganews.com...

"Joel Lucsy" <jj*****@usol.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
Jim Hubbard wrote:
Linkers have been around forever.......why can't we link all needed
portions
of the .Net framework into a single EXE?


Look for ILMerge, it'll merge multiple assemblies together.


Thanks for the link, but do you know of anything that merges everything
into a single EXE (including the .Net framework portions that it needs)?


http://thinstall.com/help/index.html...tframework.htm
Jul 21 '05 #8
J L
Check the Stand Alone EXE thread...here we go again LOL

John

On Wed, 30 Mar 2005 14:10:01 +0200, "Sean Hederman"
<em*******@codingsanity.blogspot.com> wrote:
"Jim Hubbard" <re***@groups.please> wrote in message
news:zI********************@giganews.com...

"Joel Lucsy" <jj*****@usol.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
Jim Hubbard wrote:
Linkers have been around forever.......why can't we link all needed
portions
of the .Net framework into a single EXE?

Look for ILMerge, it'll merge multiple assemblies together.


Thanks for the link, but do you know of anything that merges everything
into a single EXE (including the .Net framework portions that it needs)?


http://thinstall.com/help/index.html...tframework.htm


Jul 21 '05 #9
"J L" <jo**@marymonte.com> wrote in message
news:8s********************************@4ax.com...
Check the Stand Alone EXE thread...here we go again LOL
<sigh>Tell me about it.</sigh>

Jim, Thinstall appears to completely bypass CAS, and verification. In
addition, your program will never be able to use any updates or patches to
..NET once it is installed. I personally feel that static linking is a major
mistake, but hell, it's not my call.

John

On Wed, 30 Mar 2005 14:10:01 +0200, "Sean Hederman"
<em*******@codingsanity.blogspot.com> wrote:
"Jim Hubbard" <re***@groups.please> wrote in message
news:zI********************@giganews.com...

"Joel Lucsy" <jj*****@usol.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
Jim Hubbard wrote:
> Linkers have been around forever.......why can't we link all needed
> portions
> of the .Net framework into a single EXE?

Look for ILMerge, it'll merge multiple assemblies together.
Thanks for the link, but do you know of anything that merges everything
into a single EXE (including the .Net framework portions that it needs)?


http://thinstall.com/help/index.html...tframework.htm

Jul 21 '05 #10
"Jim Hubbard" <re***@groups.please> wrote in message
news:ov********************@giganews.com...
Holy crap! I'm a 92!
Swine! I'm sure that test was rigged! I deserved more than a 68 ;-)
Jim Hubbard

Jul 21 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pankaj Bhagat | last post by:
Hi, This is in context with compiler and linker Can someone let me know 1) what is a binder? where is it needed? What does it do in a compiling process? ----------------- 2) When I have a...
12
by: Baloff | last post by:
Hello I have this linker error which makes me think that the definition file is not being seen by the linker, this code is taken from "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions...
1
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
9
by: Felix Kater | last post by:
Hi, if I link my code to other o-files: Does the linker include the whole o-file or does it use the needed functions from that only? Felix
5
by: Pradnyesh Rane | last post by:
Hi, I am encountering the following linker error on VC7. LINK : fatal error LNK1171: unable to load ole32.dll This error is only encountered for the "Debug" configuration. The project...
3
by: Steve Baer | last post by:
I recently read your whitepaper under the "extremely long link times" post and have a question that I was hoping you could answer. My question is based on the following paragraph: Directives...
9
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but...
1
by: Felix | last post by:
After porting a project from VC6 to VC.NET 2003 I have a very strange problem generating link error 1104 for import libraries. I just ported the project and made some small adaptions so it fits...
2
by: Oneironaut | last post by:
Hello friends, I have an issue with a linker warning. It is the warning LNK4089. I am working in MSVC6.0 I investigated and this warning tells that the import of the library to which it makes...
1
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.