A
astroboy
How do I get project folder in .NET?
* "astroboy said:How do I get project folder in .NET?
Herfried K. Wagner said:* "astroboy said:How do I get project folder in .NET?
Are you referring to the application path?
\\\
Imports System.IO
Imports System.Reflection
.
.
.
Private Function ApplicationPath() As String
Return _
Path.GetDirectoryName([Assembly].GetExecutingAssembly().Location)
End Function
///
astroboy said:No not that I meant, I want to retrieve Project Folder or application path
location at compile time. If you go to Project-> xxx Properties->Common
Properties ->General
You would see Project folder, project file and output name in there, I would
like to get those infomation
Thx
Herfried K. Wagner said:* "astroboy said:How do I get project folder in .NET?
Are you referring to the application path?
\\\
Imports System.IO
Imports System.Reflection
.
.
.
Private Function ApplicationPath() As String
Return _
Path.GetDirectoryName([Assembly].GetExecutingAssembly().Location)
End Function
///