Skip to content

Commit 96300be

Browse files
authored
Fix vsix vs15 build error (#1413)
* Fix Rezip Error on VS2017 **Bug** In vs2017 using our build scripts against the newest VSsdk, the rezip of the vsix fails because the required `SourceManifest` file is not found. **Fix** Add this param. * Add empty itemstoconsider for rezip
1 parent 618c749 commit 96300be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Build/Common.Build.VSSDK.targets

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,11 @@
219219
<_Container>%(VSIX.Container)</_Container>
220220
</PropertyGroup>
221221

222-
<CreateZipPackage Files="@(_VSIXSourceItems)"
222+
<CreateZipPackage SourceManifest="%(VSIX.SourceDir)extension.vsixmanifest"
223+
Files="@(_VSIXSourceItems)"
223224
ZipPackage="$(_Container)"
224-
CompressionLevel="$(ZipPackageCompressionLevel)">
225+
CompressionLevel="$(ZipPackageCompressionLevel)"
226+
ItemsToConsider="@(None)">
225227
<Output TaskParameter="ZipPackage" ItemName="FileWrites" />
226228
</CreateZipPackage>
227229

0 commit comments

Comments
 (0)