Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 安装错误:System.IO.PathTooLongException mvvm指示灯_Visual Studio 2010_Templates_Mvvm Light - Fatal编程技术网

Visual studio 2010 安装错误:System.IO.PathTooLongException mvvm指示灯

Visual studio 2010 安装错误:System.IO.PathTooLongException mvvm指示灯,visual-studio-2010,templates,mvvm-light,Visual Studio 2010,Templates,Mvvm Light,尝试在VS 2010中安装VSIX模板时,我收到一个安装错误:System.IO.PathTooLongException。一旦它接受我的默认扩展文件夹并添加“\Laurent Bugnon(GalaSoft)\MVVM Light Toolkit Templates\4.0.23.0\ItemTemplates\Silverlight for Windows Phone\MVVM\MvvmViewModelLocator.WP7.zip”,它就太长了,无法安装。有没有办法缩短这个问题的路径或方

尝试在VS 2010中安装VSIX模板时,我收到一个安装错误:System.IO.PathTooLongException。一旦它接受我的默认扩展文件夹并添加“\Laurent Bugnon(GalaSoft)\MVVM Light Toolkit Templates\4.0.23.0\ItemTemplates\Silverlight for Windows Phone\MVVM\MvvmViewModelLocator.WP7.zip”,它就太长了,无法安装。有没有办法缩短这个问题的路径或方法


提前感谢

我在安装Cosmopolitan模板时遇到了同样的问题

  • 将.vsix文件重命名为.zip
  • 打开它,会有一个扩展名为.vsixmanifest的文件,在记事本或其他编辑器中打开它
  • 查找节点
    某个很长的扩展名
    ,并将其缩短
    短名
  • 保存,关闭。将.zip重命名为.vsix,现在应该可以无错误地安装它了