472,784 Members | 907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 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 1819
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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.