.Net Compiler doesn't understand long source paths

Modified on 2013/02/13 18:18 by Administrator — Categorized as: MWSF, OS

컴파일러는 소스코드 폴더가 길면 이해할수 없으므로 가상드라이버를 만들어서 컴파일해야함.

you need to make virtual drive for source code folder 소스폴더가 C:\Source\folder1\folder2\folder3\www 라면

subst z: C:\Source\folder1\folder2\folder3\www

from this moment you can see Z: drive in the system

then you compile the source

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p Z:\ -u C:\compile\targetfolder

then you remove the drive

subst z: /d

SUBST

http://en.wikipedia.org/wiki/SUBST