|
11 | 11 | <NoDefaultExcludes>true</NoDefaultExcludes>
|
12 | 12 | </PropertyGroup>
|
13 | 13 |
|
| 14 | + <PropertyGroup> |
| 15 | + <ArcadeSdkDir Condition="'$(ArcadeSdkDir)' == ''">$(NuGetPackageRoot)microsoft.dotnet.arcade.sdk\$(ArcadeSdkVersion)\</ArcadeSdkDir> |
| 16 | + <_BuildReleasePackagesTargets>$(ArcadeSdkDir)tools\BuildReleasePackages.targets</_BuildReleasePackagesTargets> |
| 17 | + </PropertyGroup> |
| 18 | + |
| 19 | + <Import Project="$(_BuildReleasePackagesTargets)" /> |
| 20 | + |
14 | 21 | <ItemGroup>
|
15 | 22 | <NuspecProperty Include="fSharpCorePreviewPackageVersion=$(FSCorePackageVersionValue)-$(VersionSuffix)" />
|
16 | 23 | <NuspecProperty Include="fSharpCorePackageVersion=$(FSCorePackageVersionValue)" />
|
|
19 | 26 | <NuspecProperty Include="artifactsPackagesDir=$(ArtifactsPackagesDir)" />
|
20 | 27 | </ItemGroup>
|
21 | 28 |
|
22 |
| - <Target Name="Build" /> |
| 29 | + <ItemGroup> |
| 30 | + <ProjectReference Include="$(MSBuildThisFileDirectory)..\fsi\fsiProject\fsi.fsproj" /> |
| 31 | + <ProjectReference Include="$(MSBuildThisFileDirectory)..\fsc\fscProject\fsc.fsproj" /> |
| 32 | + </ItemGroup> |
| 33 | + |
| 34 | + <ItemGroup> |
| 35 | + <DependentProjects Include="$(MSBuildThisFileDirectory)..\FSharp.Core\FSharp.Core.fsproj"> |
| 36 | + <AdditionalProperties>TargetFrameworks=netstandard2.1;netstandard2.0</AdditionalProperties> |
| 37 | + </DependentProjects> |
| 38 | + <DependentProjects Include="$(MSBuildThisFileDirectory)..\FSharp.Build\FSharp.Build.fsproj"> |
| 39 | + <AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties> |
| 40 | + </DependentProjects> |
| 41 | + <DependentProjects Include="$(MSBuildThisFileDirectory)..\FSharp.Compiler.Interactive.Settings\FSharp.Compiler.Interactive.Settings.fsproj"> |
| 42 | + <AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties> |
| 43 | + </DependentProjects> |
| 44 | + <DependentProjects Include="$(MSBuildThisFileDirectory)..\FSharp.DependencyManager.Nuget\FSharp.DependencyManager.Nuget.fsproj"> |
| 45 | + <AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties> |
| 46 | + </DependentProjects> |
| 47 | + <DependentProjects Include="$(MSBuildThisFileDirectory)..\Compiler\FSharp.Compiler.Service.fsproj"> |
| 48 | + <AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties> |
| 49 | + </DependentProjects> |
| 50 | + </ItemGroup> |
| 51 | + |
| 52 | + <Target Name="PackDependentProjectsCore"> |
| 53 | + <MSBuild Projects="@(DependentProjects)" Targets="Pack" Properties="Restore=true;Pack=true;BUILD_PUBLICSIGN=$(BUILD_PUBLICSIGN)" /> |
| 54 | + </Target> |
| 55 | + |
| 56 | + <Target Name="PackDependentProjects" |
| 57 | + BeforeTargets="Build" |
| 58 | + DependsOnTargets="PackDependentProjectsCore;PackageReleasePackages"> |
| 59 | + </Target> |
23 | 60 |
|
24 | 61 | </Project>
|
0 commit comments