| Author |
Message |
evgeny
Joined: 20 Feb 2011 Posts: 5
|
Posted: Mon Feb 21, 2011 12:10 am Post subject: 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
| Quote: |
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. |
|
|
| Back to top |
|
 |
alehandro
Joined: 16 Nov 2010 Posts: 35
|
Posted: Mon Feb 21, 2011 11:40 pm Post subject: |
|
|
usually it's related to your installed .net version(s)
which one do you have? |
|
| Back to top |
|
 |
evgeny
Joined: 20 Feb 2011 Posts: 5
|
Posted: Wed Feb 23, 2011 4:13 am Post subject: |
|
|
| I have .NET 4.0 and I'm opening the project in Visual Studio 2010 Premium. |
|
| Back to top |
|
 |
alehandro
Joined: 16 Nov 2010 Posts: 35
|
Posted: Wed Feb 23, 2011 8:00 pm Post subject: |
|
|
| Try to change your proj into .NET 4.0 |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Fri Feb 25, 2011 3:29 am Post subject: |
|
|
| This bug has been existed for a long time. |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Fri Feb 25, 2011 3:44 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Fri Feb 25, 2011 4:51 am Post subject: |
|
|
I had installed vs2008 just now, and I found that there was no error in vs2008.
So, this bug is only existed in vs2010 |
|
| Back to top |
|
 |
alehandro
Joined: 16 Nov 2010 Posts: 35
|
Posted: Sun Feb 27, 2011 9:35 pm Post subject: |
|
|
report to MS?  |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Mon Feb 28, 2011 10:05 am Post subject: Re: |
|
|
| alehandro wrote: |
report to MS?  |
No, this bug is from Reflector.
The .csproj file created by Reflector is bad format for VS2010. |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Mon Feb 28, 2011 10:26 am Post subject: |
|
|
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' ">
..... |
|
| Back to top |
|
 |
Clive Tong
Joined: 04 Dec 2008 Posts: 281
|
Posted: Mon Feb 28, 2011 1:18 pm Post subject: |
|
|
| Thanks for investigating that. I've logged it as RP-1133 and will take a look at it this week. |
|
| Back to top |
|
 |
Clive Tong
Joined: 04 Dec 2008 Posts: 281
|
Posted: Wed Mar 02, 2011 4:08 pm Post subject: |
|
|
| I've changed the projects that are emitted to match that suggested format. |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Thu Mar 03, 2011 1:10 pm Post subject: Re: |
|
|
| Clive Tong wrote: |
| I've changed the projects that are emitted to match that suggested format. |
in beta 5? |
|
| Back to top |
|
 |
Clive Tong
Joined: 04 Dec 2008 Posts: 281
|
Posted: Thu Mar 03, 2011 2:32 pm Post subject: |
|
|
| I'm afraid not. I made the change after the beta went out. We may do another beta very soon. |
|
| Back to top |
|
 |
couldnotforget
Joined: 19 Dec 2010 Posts: 12
|
Posted: Fri Mar 04, 2011 2:19 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|