1

我刚刚安装了 Windowsazure SDK 1.5 和 Visualstudio 2010 的相应工具。但是当我运行计算模拟器时,它给了我以下异常:

遇到意外错误不支持给定路径的格式。在 System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) 在 System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) 在 System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionA 访问权限, AccessControlActions 控件, String[] pathListOrig, Boolean check ForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO。 Microsoft.ServiceHosting.Tools.DevelopmentFabric.DevFabric 中 Microsoft.ServiceHosting.Tools.Utility.SDKPaths.get_CSRunStateDirectory() 中的 Path.GetFullPath(字符串路径)。

这个奇怪的异常的解决方法是什么?

4

1 回答 1

1

我修好了它。问题是我的环境变量有一些无效的位置,并且在尝试解析计算模拟器时失败。

于 2011-11-15T23:25:45.240 回答