windows - How to move .dnx directory out of %USERPROFILE% -


dnvm installs .dnx directory in c:\users\myusername\.dnx (in %userprofile%).

unfortunately, user profile limited 30 mb policies.

how can move directory somewhere else, e.g. c:\.dnx?

i tried creating symbolic link c:\users\myusername\.dnx c:\.dnx, seems visual studio not follow symlinks when building solution, build errors such this:

could not find part of path 'c:\users\myusername\.dnx\packages\system.io\4.0.10-beta-22816\lib\contract\system.io.dll'.

i'm using visual studio community 2015 rc .net 4.6 under windows 7 professional.

i had issue come employer blocking .exe files executing in user profile directories.

i moved c:\users\%userprofile%.dnx folder c:\program files.dnx , created symlink following command:

mklink /d c:\users\%myprofilename%\.dnx "c:\program files\.dnx" 

so far, seems working , , running.


Comments