|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.--> |
| 3 | +<ProjectInitialTargets="CheckPropertiesArePassed"xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 4 | + <PropertyGroup> |
| 5 | + <FSharpSourcesRoot>$(MSBuildThisFileDirectory)..\..\..\src</FSharpSourcesRoot> |
| 6 | + <OutputArchitecture>neutral</OutputArchitecture> |
| 7 | + <OutputLocalized>false</OutputLocalized> |
| 8 | + <OutputType>vsix</OutputType> |
| 9 | + <IsPackage>true</IsPackage> |
| 10 | + <ConfigurationCondition="'$(Configuration)' == ''">Debug</Configuration> |
| 11 | + <BinariesFolder>$(FSharpSourcesRoot)\..\$(Configuration)</BinariesFolder> |
| 12 | + <PackagesFolder>$(FSharpSourcesRoot)\..\packages</PackagesFolder> |
| 13 | + <OutputPath>$(BinariesFolder)\insertion</OutputPath> |
| 14 | + <OutputName>Microsoft.FSharp.IDE</OutputName> |
| 15 | + <IntermediateOutputPath>$(MSBuildThisFileDirectory)obj</IntermediateOutputPath> |
| 16 | + </PropertyGroup> |
| 17 | + |
| 18 | + <ImportProject="$(FSharpSourcesRoot)\Microbuild.Settings.targets" /> |
| 19 | + |
| 20 | + <PropertyGroup> |
| 21 | + <PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);BinariesFolder=$(BinariesFolder)</PackagePreprocessorDefinitions> |
| 22 | + <PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);PackagesFolder=$(PackagesFolder)</PackagePreprocessorDefinitions> |
| 23 | + <PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);FSharpPackageVersion=$(FSharpPackageVersion)</PackagePreprocessorDefinitions> |
| 24 | + </PropertyGroup> |
| 25 | + |
| 26 | + <ItemGroup> |
| 27 | + <PackageInclude="Files.swr" /> |
| 28 | + <PackageInclude="Dependencies.swr" /> |
| 29 | + </ItemGroup> |
| 30 | + |
| 31 | + <TargetName="CheckPropertiesArePassed"> |
| 32 | + <ErrorCondition="'$(FSharpPackageVersion)' == ''"Text="A 'FSharpPackageVersion' property must be passed to the project." /> |
| 33 | + </Target> |
| 34 | + |
| 35 | + <TargetName="SignFiles"> |
| 36 | +<!-- Signing is handled by the RoslynSignTool--> |
| 37 | + </Target> |
| 38 | +</Project> |