在vs2015中构建vsix容器时出错

时间:2017-06-23 09:55:55

标签: c# visual-studio-2015 vsix

我面临着在VS2015中构建VSIX项目的一个独特问题。当我正常构建时,项目构建是成功的。但是当选择选项""在构建时创建VSIX容器"在项目属性中,我在VS2015中遇到以下错误。请帮帮我。

Error       The "CreateZipPackage" task failed unexpectedly.

System.InvalidOperationException: Cannot create file because the specified file name is already in use.
   at MS.Internal.IO.Zip.ZipArchive.AddFile(String zipFileName, CompressionMethodEnum compressionMethod, DeflateOptionEnum deflateOption)
   at System.IO.Packaging.ZipPackage.ContentTypeHelper.SaveToFile()
   at System.IO.Packaging.ZipPackage.Dispose(Boolean disposing)
   at System.IO.Packaging.Package.System.IDisposable.Dispose()
   at Microsoft.VsSDK.Build.Tasks.CreateZipPackage.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>

0 个答案:

没有答案