Not satisfied with supportedRuntime syntax requirement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is just a comment.

MSDN states that the version must be:

<quote>
A String value that specifies the version of the .NET Framework that this
application supports. The string value must match the directory name found
under the .NET Framework installation root. The contents of the string value
are not parsed.
</quote>

I personally it's not scalable. I know the Microsoft guys had their
reasoning behind this, but would it be better to let me specify
version="2.0"? The change from requiredRuntime to supportedRuntime made me
think they are swaying between some ideas...
 
Again, this is just a comment.

Thanks. I know I can do that. But consider the following 2 real world
problems.

1. I have several applications already deployed to end users, *without*
specifying supportedRuntime in app.exe.config. When a new version of runtime
is installed, they will run on the newer version.
Say the newer version breaks compatibility, and my applications break.
The only thing I can do is that I have to update app.exe.config and *and*
correct supportedRuntime tag. Though it's quite simple, but doing it thru
autoupdate is like shooting a mosquito with a cannon. Doing it manually? I
have many end users... you know what I am describing here.

2. Suppose at first I already have supportedRuntime specified. But with a
new version of runtime installed, my apps won't benefit from speed
improvements and bug fixes provided by the new runtime. In this case, I need
again update the small app.exe.config.
Specifically, if the new runtime is 2.9.1234 and the previous one is
2.0.1111, I just hope I can specify <supportedRuntime version="2.*">

Just random thoughts.

Edward
 
When a new version of runtime
is installed, they will run on the newer version.

If the version you compiled against is present then that's the version you
get. You do not automatically get the latest version installed.
Specifically, if the new runtime is 2.9.1234 and the previous one is
2.0.1111, I just hope I can specify <supportedRuntime version="2.*">

Yes, I see what you're saying here. But again, if the version you compiled
against isn't present then you do automatically get the latest version installed.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top