PC Review


Reply
Thread Tools Rate Thread

bad experience with 2.0 final release?

 
 
Lloyd Dupont
Guest
Posts: n/a
 
      13th Nov 2005
I downloaded C# express final release last friday.
Previously I was working with 2.0 beta 2.

I had a few libraries which crashed. Presumably because of some missing
function incompatibilities.
Anyway I went over these but now I really hit a wall.

I have, in my project, 1 windows form application and a few dll.
All of them recompiled from scratch.


There is a method I call a few times.
On the 3rd time I get:
BadImageFormatException
An attempt was made to load a program with an incorrect format. (Exception
from HRESULT: 0x8007000B)
at Cook.GUI.RecipeIngredientGridModel.get_NumRows()
at NGui.Grid.GridView.GetPreferredSize(Size proposed) in
F:\MyWork\eCookBook\NGui\Grid\GridView.cs:line 303

Now the documentation from MSDN makes me wonder.. how come such an exception
(BadImageFormat) is thrown from a function in a DLL
1. which is part of my project, I mean the C# source I just compiled
2. which I alread called successfully a few times before this exception!

I though the beta were quite allright, but it seems to me the final release
are not!


 
Reply With Quote
 
 
 
 
Frans Bouma [C# MVP]
Guest
Posts: n/a
 
      13th Nov 2005
Lloyd Dupont wrote:

> I downloaded C# express final release last friday.
> Previously I was working with 2.0 beta 2.
>
> I had a few libraries which crashed. Presumably because of some
> missing function incompatibilities.
> Anyway I went over these but now I really hit a wall.
>
> I have, in my project, 1 windows form application and a few dll.
> All of them recompiled from scratch.
>
>
> There is a method I call a few times.
> On the 3rd time I get:
> BadImageFormatException
> An attempt was made to load a program with an incorrect format.
> (Exception from HRESULT: 0x8007000B)
> at Cook.GUI.RecipeIngredientGridModel.get_NumRows()
> at NGui.Grid.GridView.GetPreferredSize(Size proposed) in
> F:\MyWork\eCookBook\NGui\Grid\GridView.cs:line 303
>
> Now the documentation from MSDN makes me wonder.. how come such an
> exception (BadImageFormat) is thrown from a function in a DLL
> 1. which is part of my project, I mean the C# source I just compiled
> 2. which I alread called successfully a few times before this
> exception!
>
> I though the beta were quite allright, but it seems to me the final
> release are not!


Did you follow the precise explanation how to remove beta2 from your
system prior to install the RTM version? It's key you remove beta2
correctly before installing RTM.

Frans

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      13th Nov 2005
> Did you follow the precise explanation how to remove beta2 from your
> system prior to install the RTM version? It's key you remove beta2
> correctly before installing RTM.
>

I used the (optional) uninstall tool.
Anyway I'm going to try to write a simple sample and I'll submit to the
feedback center..


 
Reply With Quote
 
Wiktor Zychla [C# MVP]
Guest
Posts: n/a
 
      14th Nov 2005

Użytkownik "Lloyd Dupont" <net.galador@ld> napisał w wiadomości
news:%(E-Mail Removed)...
>> Did you follow the precise explanation how to remove beta2 from your
>> system prior to install the RTM version? It's key you remove beta2
>> correctly before installing RTM.
>>

> I used the (optional) uninstall tool.
> Anyway I'm going to try to write a simple sample and I'll submit to the
> feedback center..


when you have it please share it with rest of us.
since I have found this:

http://forums.microsoft.com/MSDN/Sho...25454&SiteID=1

I am really interested if similar bug exists in the c# compiler.

Wiktor Zychla


 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      14th Nov 2005
here you go:
http://lab.msdn.microsoft.com/produc...c-1c9c944ec03e


"Wiktor Zychla [C# MVP]" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
>
> Użytkownik "Lloyd Dupont" <net.galador@ld> napisał w wiadomości
> news:%(E-Mail Removed)...
>>> Did you follow the precise explanation how to remove beta2 from your
>>> system prior to install the RTM version? It's key you remove beta2
>>> correctly before installing RTM.
>>>

>> I used the (optional) uninstall tool.
>> Anyway I'm going to try to write a simple sample and I'll submit to the
>> feedback center..

>
> when you have it please share it with rest of us.
> since I have found this:
>
> http://forums.microsoft.com/MSDN/Sho...25454&SiteID=1
>
> I am really interested if similar bug exists in the c# compiler.
>
> Wiktor Zychla
>



 
Reply With Quote
 
Wiktor Zychla [C# MVP]
Guest
Posts: n/a
 
      14th Nov 2005
> here you go:
> http://lab.msdn.microsoft.com/produc...c-1c9c944ec03e
>


thanks, I confirm the bug and I've validated it on the mdsn page.
Wiktor


 
Reply With Quote
 
=?Utf-8?B?Tm9OaWNrbmFtZQ==?=
Guest
Posts: n/a
 
      14th Nov 2005
The only problem that I found was when I tried to debug a web service from
VS2003 I was unable to attach to the iis asp_net process. I have not found a
workaround to this yet.

"Lloyd Dupont" wrote:

> I downloaded C# express final release last friday.
> Previously I was working with 2.0 beta 2.
>
> I had a few libraries which crashed. Presumably because of some missing
> function incompatibilities.
> Anyway I went over these but now I really hit a wall.
>
> I have, in my project, 1 windows form application and a few dll.
> All of them recompiled from scratch.
>
>
> There is a method I call a few times.
> On the 3rd time I get:
> BadImageFormatException
> An attempt was made to load a program with an incorrect format. (Exception
> from HRESULT: 0x8007000B)
> at Cook.GUI.RecipeIngredientGridModel.get_NumRows()
> at NGui.Grid.GridView.GetPreferredSize(Size proposed) in
> F:\MyWork\eCookBook\NGui\Grid\GridView.cs:line 303
>
> Now the documentation from MSDN makes me wonder.. how come such an exception
> (BadImageFormat) is thrown from a function in a DLL
> 1. which is part of my project, I mean the C# source I just compiled
> 2. which I alread called successfully a few times before this exception!
>
> I though the beta were quite allright, but it seems to me the final release
> are not!
>
>
>

 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      18th Nov 2005
Yeepee....
They have finally acknowledged the bug.
But are still investiagting (looks like it's difficult to fix).
At least I now know for sure they are motivated to fix it.
I hope they will have a downloadable bug fix under 1 month :S

"Wiktor Zychla [C# MVP]" <wzychla_ii.uni.wroc.pl> wrote in message
news:%(E-Mail Removed)...
>> here you go:
>> http://lab.msdn.microsoft.com/produc...c-1c9c944ec03e
>>

>
> thanks, I confirm the bug and I've validated it on the mdsn page.
> Wiktor
>



 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      18th Nov 2005
Here is a post from Microsoft:
Our investigation is still continuing but we have identified a possible
workaround.

The bug occurs while processing the "where T:class" constraints. Commenting
out
the two "where T:class" clauses from your simplified repro gets us past the
ImageFormat
exception. Avoiding the use of "where" should allow you work around this bug
while we address the runtime issue.

Thanks for alerting us to this issue.


"Lloyd Dupont" <net.galador@ld> wrote in message
news:(E-Mail Removed)...
> Yeepee....
> They have finally acknowledged the bug.
> But are still investiagting (looks like it's difficult to fix).
> At least I now know for sure they are motivated to fix it.
> I hope they will have a downloadable bug fix under 1 month :S
>
> "Wiktor Zychla [C# MVP]" <wzychla_ii.uni.wroc.pl> wrote in message
> news:%(E-Mail Removed)...
>>> here you go:
>>> http://lab.msdn.microsoft.com/produc...c-1c9c944ec03e
>>>

>>
>> thanks, I confirm the bug and I've validated it on the mdsn page.
>> Wiktor
>>

>
>



 
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
Re: Does anyone know when the release of final dvd will be out ? nicholas hall Windows Vista General Discussion 4 12th Jan 2007 06:12 PM
Re: Does anyone know when the release of final dvd will be out ? Colin Barnhorst Windows Vista General Discussion 0 11th Jan 2007 09:04 PM
Final release? Mike Spyware Discussion 5 23rd Apr 2005 04:47 AM
When is final release Jack Beck Anti-Spyware Installation 1 12th Jan 2005 05:21 AM
SP2 Final Release???? User Windows XP Configuration 1 19th Jun 2004 11:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 AM.