I am facing one unique issue with building VSIX project in VS2015. Project build is successful when I build normally. But when choose the option ""Create VSIX container while build" in project property, I am getting following errors in VS2015. Please help me out.
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>