parent
0584fe3ecf
commit
49a3b6bcae
|
|
@ -77,8 +77,14 @@
|
|||
<Copy SourceFiles="$(LanguageServiceOutputPath)\%(LanguageServiceAssemblies.Identity)" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<Copy SourceFiles="$(AddinOutputPath)$(AddinName).dll" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
|
||||
<!-- We cannot use the ZipArchive task due to how it functions in CoreCLR. The archive it generates is unreadable by Visual Studio for Mac. -->
|
||||
<Exec Command="powershell.exe -NonInteractive -command "& { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::CreateFromDirectory('$(MPackIntermediateOutputPath)', '$(MPackOutputPath)') } "" />
|
||||
<ItemGroup>
|
||||
<MPackFiles Include="$(MPackIntermediateOutputPath)\*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ZipArchive
|
||||
File="$(MPackOutputPath)"
|
||||
SourceFiles="@(MPackFiles)"
|
||||
WorkingDirectory="$(MPackIntermediateOutputPath)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue