Change GenerateMPACK ItemGroup names to be non-plural.
This commit is contained in:
parent
83c31f611f
commit
7490b4413c
|
|
@ -58,36 +58,36 @@
|
|||
</XmlPeek>
|
||||
|
||||
<ItemGroup>
|
||||
<AddinInfoLines Include="<Addin id="$(AddinId)" namespace="$(AddinNamespace)" version="$(AddinVersion)" name="$(AddinDetailedName)" author="$(Authors)" description="$(Description)" category="$(AddinCategory)">" />
|
||||
<AddinInfoLines Include=" <Runtime>" />
|
||||
<AddinInfoLines Include=" <Import assembly="%(LanguageServiceAssemblyNames.Identity)" />" />
|
||||
<AddinInfoLines Include=" <Import assembly="$(AddinName).dll" />" />
|
||||
<AddinInfoLines Include=" </Runtime>" />
|
||||
<AddinInfoLines Include=" <Dependencies>" />
|
||||
<AddinInfoLines Include=" %(AddinDependencies.Identity)" />
|
||||
<AddinInfoLines Include=" </Dependencies>" />
|
||||
<AddinInfoLines Include="</Addin>" />
|
||||
<AddinInfoLine Include="<Addin id="$(AddinId)" namespace="$(AddinNamespace)" version="$(AddinVersion)" name="$(AddinDetailedName)" author="$(Authors)" description="$(Description)" category="$(AddinCategory)">" />
|
||||
<AddinInfoLine Include=" <Runtime>" />
|
||||
<AddinInfoLine Include=" <Import assembly="%(LanguageServiceAssemblyNames.Identity)" />" />
|
||||
<AddinInfoLine Include=" <Import assembly="$(AddinName).dll" />" />
|
||||
<AddinInfoLine Include=" </Runtime>" />
|
||||
<AddinInfoLine Include=" <Dependencies>" />
|
||||
<AddinInfoLine Include=" %(AddinDependencies.Identity)" />
|
||||
<AddinInfoLine Include=" </Dependencies>" />
|
||||
<AddinInfoLine Include="</Addin>" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<LanguageServiceAssemblies Include="$(LanguageServiceOutputPath)%(LanguageServiceAssemblyNames.Identity)" />
|
||||
<LanguageServicePDBs Include="%(LanguageServiceAssemblies.RootDir)%(Directory)%(FileName).pdb" Condition="Exists('%(LanguageServiceAssemblies.RootDir)%(Directory)%(FileName).pdb')" />
|
||||
<LanguageServiceAssembly Include="$(LanguageServiceOutputPath)%(LanguageServiceAssemblyNames.Identity)" />
|
||||
<LanguageServicePDB Include="%(LanguageServiceAssembly.RootDir)%(Directory)%(FileName).pdb" Condition="Exists('%(LanguageServiceAssembly.RootDir)%(Directory)%(FileName).pdb')" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Generate the addin.info and gather sources for mpack zipping-->
|
||||
<WriteLinesToFile File="$(AddinInfoFilePath)" Lines="@(AddinInfoLines)" Overwrite="true" />
|
||||
<Copy SourceFiles="%(LanguageServiceAssemblies.Identity)" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<Copy SourceFiles="%(LanguageServicePDBs.Identity)" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<WriteLinesToFile File="$(AddinInfoFilePath)" Lines="@(AddinInfoLine)" Overwrite="true" />
|
||||
<Copy SourceFiles="%(LanguageServiceAssembly.Identity)" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<Copy SourceFiles="%(LanguageServicePDB.Identity)" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<Copy SourceFiles="$(AddinOutputPath)$(AddinName).dll" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
<Copy SourceFiles="$(AddinOutputPath)$(AddinName).pdb" DestinationFolder="$(MPackIntermediateOutputPath)" />
|
||||
|
||||
<ItemGroup>
|
||||
<MPackFiles Include="$(MPackIntermediateOutputPath)\*" />
|
||||
<MPackFile Include="$(MPackIntermediateOutputPath)\*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ZipArchive
|
||||
File="$(MPackOutputPath)"
|
||||
SourceFiles="@(MPackFiles)"
|
||||
SourceFiles="@(MPackFile)"
|
||||
WorkingDirectory="$(MPackIntermediateOutputPath)" />
|
||||
</Target>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue