c# - Why does Application.LocalUserAppDataPath throw System.NotSupportedException? -
in our environment development boxes in several flavors of windows desktop (7 & 8). our build server windows server 2012 r2. when build 1 of our applications on developer machine builds , runs fine on scheme (windows 7, 8, , 2012). when build on build server (2012), builds fine, not run on scheme (windows 7, 8, or 2012).
in debugging (on 2012 system), find application.localuserappdatapath throwing system.notsupportedexception.
any clues on why might happening?
i have seen elsewhere noted if running user not have profile, localuserappdatapath throw exception. however, user building (and running tests) have profile.
the reply path built in situation bad path.
the build machine had automated info added assembly info files. unaware of utilize of assemblycompany element in building paths. contents of element wrong path (contained ":" character).
props david a. white pointing reference code contains instructions on debugging .net code. allowed me see problem.
c# visual-studio-2010 windows-server-2012
No comments:
Post a Comment