summaryrefslogtreecommitdiff
path: root/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/VisualStudio.SetupPackage.swixproj
blob: b728f97bae0ea69b41e67bb247cd6e91103f9fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project>
  <!--
    Required variables:
      SwrProperties               Properties and their values ("Prop1=Value1;Prop2=Value2;...") to be substituted in the swr files.
      SwrFiles                    Files to be included.
      SwrPackageName              Name of the component (VSIX)
      IntermediateOutputPath      Intermediate output path.
      SwixBuildPath               SwixBuild package path.
  -->

  <PropertyGroup>
    <OutputArchitecture>neutral</OutputArchitecture>
    <OutputLocalized>false</OutputLocalized>
    <OutputType>vsix</OutputType>
    <IsPackage>true</IsPackage>
    <OutputName>$(SwrPackageName)</OutputName>
  </PropertyGroup>

  <Import Project="$(SwixBuildPath)build\MicroBuild.Plugins.*.props" />

  <ItemGroup>
    <_SwrProperties Include="$([MSBuild]::Unescape($(SwrProperties)))" />
  </ItemGroup>

  <PropertyGroup>
    <PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);@(_SwrProperties)</PackagePreprocessorDefinitions>
    <OutputPath>$(IntermediateOutputPath)</OutputPath>
  </PropertyGroup>

  <ItemGroup>
    <Package Include="$(SwrFiles)" />
  </ItemGroup>

  <Import Project="$(SwixBuildPath)build\MicroBuild.Plugins.*.targets" />
</Project>