๐Ÿ˜œ

์ญˆ๋‚˜์•„๋น  ๋ธ”๋กœ๊ทธ

JUNA
STUDIO

[C#] 'Could not find a part of the path...' Error When Publishing a Project

๋ฐœํ–‰์ผ: Feb, 2025
์กฐํšŒ์ˆ˜: 2
๋‹จ์–ด์ˆ˜: 95

The main cause is that the file path is too long. Therefore, you can reduce the length of the path name by shortening the project folder name and placing it in a higher-level folder. However, if you inevitably need to place it in a folder with a long name and deep level, there is a way to change the Windows Registry.

Registry Editor Image

Go to the registry path below

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

Set LongPathsEnabled to 1 to solve the problem.

If the property does not exist, create a new DWORD type and set the value to 1. (No reboot required)

Tags: #C##file path#Windows Registry#LongPathsEnabled
JUNA BLOG VISITORS
Today
7
 (
updown
-7
)
Total
657
 (
updown
+7
)

ยฉ 2025 juniyunapapa@gmail.com.