Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2005

Tip: Looking for answers? Try searching our database.

.NET versions forward compatibility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexandra Stanns - 02 Sep 2005 02:47 GMT
I posted this originally in
microsoft.public.dotnet.framework.windowsforms -- but this is probably a
better place...

I am developing with VS 2003 -- .NET framework 1.1
I want my app to also run on .NET framework 1.0, so I define a .config file
with the following:
<configuration>
  <startup>
      <supportedRuntime version="v1.1.4322" />
      <supportedRuntime version="v1.0.3705" />
  </startup>
</configuration>

As a test, I am doing this on a plain-vanilla Windows app -- with a single
form and a single textbox.
But it does not work, on a .NET framework 1.0.

Is there a way to debug a config file? Where should I look to make progress?
Lloyd Dupont - 02 Sep 2005 07:13 GMT
Your mail is a bit confusing....

Anyway 1st you should know that 1.1 is a debuged version of 1.0, so it's
safer to use 1.1
Furthermore I'm not quite sure you could compile against 1.1 and run with
1.0

Also "debuging" a config file has no meaningfull meaning. You don't "debug"
a config file as no there is no code in a config file.

If you want to be sure to run on 1.0, why not set your app as supporting
only 1.0 while testing, like that:
> <configuration>
>   <startup>
>       <supportedRuntime version="v1.0.3705" />
>   </startup>
> </configuration>
?

>I posted this originally in
>microsoft.public.dotnet.framework.windowsforms -- but this is probably a
[quoted text clipped - 17 lines]
> Is there a way to debug a config file? Where should I look to make
> progress?
Alexandra Stanns - 02 Sep 2005 14:41 GMT
Sorry if my mail was confusing.... I may also have messed up a bit with
version  numbers :-(
Basically, I develop my app on VS 2003  - v1.1.4322 - and want it to also
run on v1.3.0.705

Therefore I created a config file -- but my app does not load on v1.3.0.705
(it looks for mscorwks.dll in v.1.1.4322)

So my question is -- how do I make progress here? How can I find what is
wrong (the config file, the installation, ....)?

Thanks a lot,
Alexandra.

> Your mail is a bit confusing....
>
[quoted text clipped - 37 lines]
>> Is there a way to debug a config file? Where should I look to make
>> progress?
Norman Yuan - 02 Sep 2005 15:23 GMT
In VS2003's Solution explorer, right-click the app project->Properties. Then
in "Common Properties->General->Supported Runtime", click "..." button, it
gives you 3 options for the .NET runtime version.

> Sorry if my mail was confusing.... I may also have messed up a bit with
> version  numbers :-(
[quoted text clipped - 51 lines]
>>> Is there a way to debug a config file? Where should I look to make
>>> progress?
Alexandra Stanns - 03 Sep 2005 03:43 GMT
Thanks a lot -- now it works.
The setting actually creates a config file with the same <startup> section
as the one I wrote, however it also adds a bunch of element under the
<runtime> section -- and that does the trick.

> In VS2003's Solution explorer, right-click the app project->Properties.
> Then in "Common Properties->General->Supported Runtime", click "..."
[quoted text clipped - 55 lines]
>>>> Is there a way to debug a config file? Where should I look to make
>>>> progress?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.