푸터: Path.Combine 네임스페이스 명시
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
string versionText = "unknown";
|
string versionText = "unknown";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var versionPath = Path.Combine(AppContext.BaseDirectory, "wwwroot", "version.txt");
|
var versionPath = System.IO.Path.Combine(AppContext.BaseDirectory, "wwwroot", "version.txt");
|
||||||
if (System.IO.File.Exists(versionPath))
|
if (System.IO.File.Exists(versionPath))
|
||||||
{
|
{
|
||||||
var lines = System.IO.File.ReadAllLines(versionPath);
|
var lines = System.IO.File.ReadAllLines(versionPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user