Red Gate forums :: View topic - Unable to open project properties on generated .csproj file
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.NET Reflector 7 EAP
.NET Reflector 7 EAP forum

Unable to open project properties on generated .csproj file

Search in .NET Reflector 7 EAP forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Go to page 1, 2  Next
Author Message
evgeny



Joined: 20 Feb 2011
Posts: 5

PostPosted: Mon Feb 21, 2011 12:10 am    Post subject: Unable to open project properties on generated .csproj file Reply with quote

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
View user's profile Send private message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Mon Feb 21, 2011 11:40 pm    Post subject: Reply with quote

usually it's related to your installed .net version(s)
which one do you have?
Back to top
View user's profile Send private message
evgeny



Joined: 20 Feb 2011
Posts: 5

PostPosted: Wed Feb 23, 2011 4:13 am    Post subject: Reply with quote

I have .NET 4.0 and I'm opening the project in Visual Studio 2010 Premium.
Back to top
View user's profile Send private message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Wed Feb 23, 2011 8:00 pm    Post subject: Reply with quote

Try to change your proj into .NET 4.0
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Fri Feb 25, 2011 3:29 am    Post subject: Reply with quote

This bug has been existed for a long time.
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Fri Feb 25, 2011 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Fri Feb 25, 2011 4:51 am    Post subject: Reply with quote

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
View user's profile Send private message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Sun Feb 27, 2011 9:35 pm    Post subject: Reply with quote

report to MS? Smile
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Mon Feb 28, 2011 10:05 am    Post subject: Re: Reply with quote

alehandro wrote:
report to MS? Smile


No, this bug is from Reflector.

The .csproj file created by Reflector is bad format for VS2010.
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Mon Feb 28, 2011 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Mon Feb 28, 2011 1:18 pm    Post subject: Reply with quote

Thanks for investigating that. I've logged it as RP-1133 and will take a look at it this week.
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Wed Mar 02, 2011 4:08 pm    Post subject: Reply with quote

I've changed the projects that are emitted to match that suggested format.
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Thu Mar 03, 2011 1:10 pm    Post subject: Re: Reply with quote

Clive Tong wrote:
I've changed the projects that are emitted to match that suggested format.


in beta 5?
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Thu Mar 03, 2011 2:32 pm    Post subject: Reply with quote

I'm afraid not. I made the change after the beta went out. We may do another beta very soon.
Back to top
View user's profile Send private message
couldnotforget



Joined: 19 Dec 2010
Posts: 12

PostPosted: Fri Mar 04, 2011 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Go to page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group