Red Gate forums :: View topic - Reflecting classes with names forbidden on Win filesystem
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product support center
.Net Reflector and .NET Reflector Pro
.Net Reflector and .NET Reflector Pro forum

Reflecting classes with names forbidden on Win filesystem

Search in .Net Reflector and .NET Reflector Pro forum
Post new topic   Reply to topic
Jump to:  
Author Message
ksafonov



Joined: 09 Jul 2010
Posts: 3

PostPosted: Fri Jul 09, 2010 5:42 pm    Post subject: Reflecting classes with names forbidden on Win filesystem Reply with quote

Hello all,

I'm trying to use Reflector Visual Studio plugin (v.6.1.0.11) to debug TFS client API.

When I try to add Microsoft.TeamFoundation.dll assembly as a debugged one, I get the following error while 'Saving decompiled assembly to debug store':

System.ArgumentException: FileStream will not open Win32 devices such as disk partitions and tape drives. Avoid use of "\\.\" in the path. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6324, offset:851 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6322, offset:223

The reason I see is that the assembly contains class named
'Microsoft.TeamFoundation.Server.Aux', and Reflector tries to create file named 'Aux.cs' or similar during decompilation. Surely, Windows won't allow that: http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx?PHPSESSID=c0b8b2e8ed0e1bb5852e06dadac5d1a9#naming_conventions

Is there any way to workaround this?
This really stops my further work Crying or Very sad

Thanks in advance,
Kirill
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 182

PostPosted: Sat Jul 10, 2010 5:17 pm    Post subject: Reply with quote

Hi.

Thanks for reporting that. I don't know of any workaround, but on Monday I'll have a look at putting a fix into the next EAP of Reflector 6.5.

Clive
Back to top
View user's profile Send private message
ksafonov



Joined: 09 Jul 2010
Posts: 3

PostPosted: Sat Jul 10, 2010 5:21 pm    Post subject: Re: Reply with quote

Hi Clive,

Thanks for quick response,

Looking very much to that since it's really a blocker for me.

Many thanks,
Kirill
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 182

PostPosted: Mon Jul 12, 2010 9:09 am    Post subject: Reply with quote

I put a fix into the Reflector 6.5.0.123 EAP which you can download from the EAP forum.

http://www.red-gate.com/messageboard/viewforum.php?f=117
Back to top
View user's profile Send private message
ksafonov



Joined: 09 Jul 2010
Posts: 3

PostPosted: Mon Jul 12, 2010 10:06 am    Post subject: Reply with quote

Hello Clive,

Thanks a lot for such a quick fix,

I can confirm it works for me now. Will report if something arises.

The best wishes to continue developing such a great product!

Many regards,
Kirill
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT
Page 1 of 1

 
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