Target a different .NET Framework version

  • Thread starter Mircea Pleteriu
  • Start date
M

Mircea Pleteriu

Hi,

I have developed for my customer a .NET Windows Forms control using the .NET
Framework 1.1.
Now, my customer wants to have the control running on Windows 2003 Server OS
which has a newer version (1.1.4322.2032) of the mscoree.dll assembly. The
development platform's assembly version is 1.1.4322.573.

How to tell the control to support the new version of mscoree.dll as long as
the class library which implements the control does not have its own
configuration file?

Thank you,
Mircea
 
S

Steven Cheng[MSFT]

Hi Mircea,

Welcome to ASP.NET newsgroup.
As for the Targeting .net framework version for Custom Control assembly
problem you mentioned, here are some of my understandings:

1. As for .net framework version targeting, this is configurable at
Application level through the app.config.

#Targeting a .NET Framework Version
http://msdn.microsoft.com/library/en-us/cpguide/html/cpcontargetingnetframew
orkversion.asp?frame=true

So which version to load is specified by the application's configure file.
Our custom control/components' assembly don't need , also can not provide
such information. What version of framework to load is determined by the
application's setting.

2. Since your control is a winform control, is it used in winform app or
will also be used in web page as IE hosted control? In winform app, we can
just use app.exe.config to specify runtime version info. If it is used in
IE (web page), it'll be a bit difficult to specify the version to use since
the IE hosted control are all running in the IE brower's applicaiton
instance, we need to provide a app.config for the iexplore.exe file
("iexplore.exe.config), and this is not quite possible in most scenario.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top