PC Review


Reply
Thread Tools Rate Thread

.NET versions forward compatibility

 
 
Alexandra Stanns
Guest
Posts: n/a
 
      2nd Sep 2005
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?


 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      2nd Sep 2005
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.

"Alexandra Stanns" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>
>
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:(E-Mail Removed)...
>> 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>

>> ?
>>
>> "Alexandra Stanns" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>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?
>>>

>>
>>

>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sqlce versions, compatibility dev100 Microsoft Dot NET Compact Framework 4 27th May 2009 03:05 PM
sqlce versions, compatibility dev100 Microsoft Dot NET Compact Framework 0 27th May 2009 02:13 PM
Compatibility with prior versions capt couth Microsoft Frontpage 1 6th Feb 2009 04:22 PM
Compatibility of versions Dave Microsoft Powerpoint 2 26th Feb 2004 03:09 AM
ASP.Net Versions and Compatibility charles Microsoft ASP .NET 2 31st Oct 2003 11:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 PM.