Directory.GetCurrentDirectory

  • Thread starter Thread starter Zanna
  • Start date Start date
If you are trying to load an assembly from your app directory, takae a look
at the sample I posetd in reply to your previous post
 
Because the concept of current directory is not supported under Windows CE.
The method is included for desktop compatibility
 
Alex Feinman said:
Because the concept of current directory is not supported under Windows
CE.

Ah... this could make sense :)
The method is included for desktop compatibility

But... it wouldn't be better to remove this method if it doesn't work on
PPc?
Or maybe remapping on the Reflection...CodeBase?

Thanks angain for all your reply :)
 
Hi, this method throws "NotSupportedException" on current implementations
of Windows CE OS, please take a look at the ".NET Compact FrameWork
Platform note" on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemiodirectoryclassgetcurrentdirectorytopic.asp.

There have been some updates to the documentation since the release of
Visual Studio .NET 2003, so it's always a good idea to take a look at the
online documentation if you have internet access.

Hope this helps,
Fernando

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Zanna" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Directory.GetCurrentDirectory
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <[email protected]>
| Date: Sun, 08 Feb 2004 08:19:24 GMT
| NNTP-Posting-Host: 80.116.120.74
| X-Complaints-To: (e-mail address removed)
| X-Trace: news4.tin.it 1076228364 80.116.120.74 (Sun, 08 Feb 2004 09:19:24
MET)
| NNTP-Posting-Date: Sun, 08 Feb 2004 09:19:24 MET
| Organization: TIN
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!irazu.
switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.i
t!news4.tin.it.POSTED!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:45225
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
|
| > Because the concept of current directory is not supported under Windows
| CE.
|
| Ah... this could make sense :)
|
| > The method is included for desktop compatibility
|
| But... it wouldn't be better to remove this method if it doesn't work on
| PPc?
| Or maybe remapping on the Reflection...CodeBase?
|
| Thanks angain for all your reply :)
|
| --
| Math Parser : http://www.neodatatype.net
|
|
|
 
Back
Top