How can we help you today? How can we help you today?

Unable to open project properties on generated .csproj file

I used Reflector 7 beta 4 to disassemble WaIISHost.exe from Azure SDK 1.3, which is a .NET 3.5 console EXE. The csproj file it generated opens successfully in Visual Studio 2010, however when I try to open the properties page for it I get
An error occurred trying to load the project properties window. Close the window and try again.
Error HRESULT E_FAIL has been returned from a call to a COM component.
evgeny
0

Comments

15 comments

  • alehandro
    usually it's related to your installed .net version(s)
    which one do you have?
    alehandro
    0
  • evgeny
    I have .NET 4.0 and I'm opening the project in Visual Studio 2010 Premium.
    evgeny
    0
  • alehandro
    Try to change your proj into .NET 4.0
    alehandro
    0
  • couldnotforget
    This bug has been existed for a long time.
    couldnotforget
    0
  • couldnotforget
    I had tested once again.

    I create a new WindowsForm Application,and don't write any code myself,and then compile it.

    No matter which TargetFrameworkVerion my program is , after decompiling, I will get this error from VS2010.
    couldnotforget
    0
  • couldnotforget
    I had installed vs2008 just now, and I found that there was no error in vs2008.

    So, this bug is only existed in vs2010
    couldnotforget
    0
  • alehandro
    report to MS? :)
    alehandro
    0
  • couldnotforget
    alehandro wrote:
    report to MS? :)

    No, this bug is from Reflector.

    The .csproj file created by Reflector is bad format for VS2010.
    couldnotforget
    0
  • couldnotforget
    Oh,my god ,I know;

    <PropertyGroup>
    <Configuration Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">Debug</Configuration>
    ......


    In Vs2010, "Configuration" is not a subnode

    like this:

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">

    .....
    couldnotforget
    0
  • Clive Tong
    Thanks for investigating that. I've logged it as RP-1133 and will take a look at it this week.
    Clive Tong
    0
  • Clive Tong
    I've changed the projects that are emitted to match that suggested format.
    Clive Tong
    0
  • couldnotforget
    Clive Tong wrote:
    I've changed the projects that are emitted to match that suggested format.

    in beta 5?
    couldnotforget
    0
  • Clive Tong
    I'm afraid not. I made the change after the beta went out. We may do another beta very soon.
    Clive Tong
    0
  • couldnotforget
    another question:

    I am from China, Chinese string can not be transformed when the language is not C# (such as VB.net,IL)

    string mystr="请选择目标进程"(C#)

    string mystr="\u8bf7\u9009\u62e9\u76ee\u6807\u8fdb\u7a0b" (Others)

    But ReflexIL can
    couldnotforget
    0
  • Clive Tong
    Thanks. I've logged the last one as RP-1177.
    Clive Tong
    0

Add comment

Please sign in to leave a comment.