Skip to content

Commit 7dbbdc7

Browse files
committed
fix official builds
1 parent 05acb93 commit 7dbbdc7

File tree

32 files changed

+111
-49
lines changed

32 files changed

+111
-49
lines changed

build/publish.proj

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
<Project>
2+
3+
<ItemGroup>
4+
<PackageReference Include="Microsoft.DotNet.BuildTools" Version="$(BuildToolsPackageVersion)" />
5+
</ItemGroup>
6+
27
<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
38

4-
<UsingTask TaskName="ExecWithRetriesForNuGetPush" AssemblyFile="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll" />
9+
<UsingTask TaskName="ExecWithRetriesForNuGetPush" AssemblyFile="$(NuGetPackageRoot)\microsoft.dotnet.buildtools\$(BuildToolsPackageVersion)\lib\Microsoft.DotNet.Build.Tasks.dll" />
510

611
<PropertyGroup>
712
<PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
813
<EnablePublishSymbols Condition="'$(EnablePublishSymbols)'==''" >true</EnablePublishSymbols>
914
<NuGetPushTimeoutSeconds Condition="'$(NuGetPushTimeoutSeconds)' == ''">600</NuGetPushTimeoutSeconds>
1015
</PropertyGroup>
1116

12-
<Import Project="$(PackagesDir)\$(PublishSymbolsPackage.ToLower())\$(PublishSymbolsPackageVersion)\build\PublishSymbols.targets" />
17+
<Import Project="$(NuGetPackageRoot)\$(PublishSymbolsPackage.ToLower())\$(MicrosoftSymbolUploaderBuildTaskVersion)\build\PublishSymbols.targets" />
1318

1419
<Target Name="PublishPackages">
1520
<Error Condition="'$(NuGetFeedUrl)' == ''" Text="Missing required property NuGetFeedUrl" />
1621
<Error Condition="'$(NuGetApiKey)' == ''" Text="Missing required property NuGetApiKey" />
1722

1823
<ItemGroup>
19-
<NuGetPackages Include="$(PackageOutputPath)**\*.nupkg"
20-
Exclude="$(PackageOutputPath)**\*.symbols.*nupkg" />
24+
<NuGetPackages Include="$(ArtifactsDir)packages\**\*.nupkg"
25+
Exclude="$(ArtifactsDir)packages\**\*.snupkg" />
2126

2227
<!--
2328
IgnorableErrorMessages applies to the "ExectWithRetriesForNuGetPush" task.
@@ -34,7 +39,7 @@
3439
<Message Text="Pushing ML.NET packages to $(NuGetFeedUrl)" />
3540

3641
<PropertyGroup>
37-
<DotnetToolCommand>$(ToolsDir)dotnetcli/dotnet</DotnetToolCommand>
42+
<DotnetToolCommand>$(MSBuildThisFileDirectory)..\.dotnet\dotnet</DotnetToolCommand>
3843
<NuGetPushCommand>$(DotnetToolCommand) nuget push --source $(NuGetFeedUrl) --api-key $(NuGetApiKey) --timeout $(NuGetPushTimeoutSeconds)</NuGetPushCommand>
3944
</PropertyGroup>
4045

@@ -46,7 +51,7 @@
4651
Condition="'$(EnablePublishSymbols)'=='true'"
4752
DependsOnTargets="SetupPublishSymbols">
4853
<Message Text="Attempting to Publish Symbols" />
49-
<Error Condition="!Exists('$(PackageOutputPath)')" Text="'PackageOutputPath' folder '$(PackageOutputPath)' does not exist."/>
54+
<Error Condition="!Exists('$(ArtifactsDir)packages')" Text="'PackageOutputPath' folder '$(PackageOutputPath)' does not exist."/>
5055
<Error Condition="'$(SymbolServerPath)'==''" Text="Missing property SymbolServerPath" />
5156
<Error Condition="'$(SymbolServerPAT)'==''" Text="Missing property SymbolServerPAT" />
5257
<CallTarget Targets="PublishSymbols" />
@@ -59,7 +64,7 @@
5964
</PropertyGroup>
6065

6166
<ItemGroup>
62-
<SymbolPackagesToPublish Include="$(PackageOutputPath)**\*.symbols.*nupkg" />
67+
<SymbolPackagesToPublish Include="$(ArtifactsDir)packages\**\*.snupkg" />
6368
</ItemGroup>
6469

6570
<Message Importance="High" Text="Publishing @(SymbolPackagesToPublish) to $(SymbolServerPath)"/>

build/vsts-ci.yml

+42-38
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@ phases:
2323
- agent.os -equals linux
2424
container: CentosContainer
2525
steps:
26+
- script: ./restore.sh
27+
displayName: restore all projects
28+
- script: ./build.sh -configuration $(BuildConfig) /p:SkipRIDAgnosticAssets=true -projects $(Build.SourcesDirectory)/src/Redist/Microsoft.ML.DnnImageFeaturizer.ModelRedist/Microsoft.ML.DnnImageFeaturizer.ModelRedist.proj
29+
displayName: build redist
2630
# Only build native assets to avoid conflicts.
27-
- script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
31+
- script: ./build.sh -configuration $(BuildConfig) -projects $(Build.SourcesDirectory)/src/Native/Native.proj /p:TargetArchitecture=x64
2832
displayName: Build
2933

3034
- task: PublishBuildArtifacts@1
3135
displayName: Publish Linux package assets
3236
inputs:
33-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
37+
pathToPublish: $(Build.SourcesDirectory)/artifacts/pkgassets
3438
artifactName: PackageAssets
3539
artifactType: container
3640

@@ -46,16 +50,26 @@ phases:
4650
queue:
4751
name: Hosted macOS
4852
steps:
49-
- script: brew update && brew install $(Build.SourcesDirectory)/build/libomp.rb && brew link libomp --force
53+
- script: |
54+
brew uninstall [email protected] |
55+
brew uninstall [email protected] |
56+
brew untap local/openssl |
57+
brew untap local/python2
58+
displayName: MacOS Homebrew bug Workaround
59+
- script: brew update && brew unlink [email protected] && brew install mono-libgdiplus && brew install $(Build.SourcesDirectory)/build/libomp.rb && brew link libomp --force
5060
displayName: Install build dependencies
61+
- script: ./restore.sh
62+
displayName: restore all projects
63+
- script: ./build.sh -configuration $(BuildConfig) /p:SkipRIDAgnosticAssets=true -projects $(Build.SourcesDirectory)/src/Redist/Microsoft.ML.DnnImageFeaturizer.ModelRedist/Microsoft.ML.DnnImageFeaturizer.ModelRedist.proj
64+
displayName: build redist
5165
# Only build native assets to avoid conflicts.
52-
- script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
66+
- script: ./build.sh -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x64
5367
displayName: Build
5468

5569
- task: PublishBuildArtifacts@1
5670
displayName: Publish macOS package assets
5771
inputs:
58-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
72+
pathToPublish: $(Build.SourcesDirectory)/artifacts/pkgassets
5973
artifactName: PackageAssets
6074
artifactType: container
6175

@@ -88,27 +102,26 @@ phases:
88102
continueOnError: false
89103
condition: and(succeeded(), in(variables._SignType, 'real', 'test'))
90104

105+
- script: ./restore.cmd
106+
displayName: restore all projects
107+
- script: ./build.cmd -configuration $(BuildConfig) /p:SkipRIDAgnosticAssets=true -projects $(Build.SourcesDirectory)/src/Redist/Microsoft.ML.DnnImageFeaturizer.ModelRedist/Microsoft.ML.DnnImageFeaturizer.ModelRedist.proj
108+
displayName: build redist
91109
# Only build native assets to avoid conflicts.
92-
- script: ./build.cmd -buildNative -$(BuildConfig) -buildArch=x86 -skipRIDAgnosticAssets
110+
- script: ./build.cmd -projects $(Build.SourcesDirectory)/src/Native/Native.proj -configuration $(BuildConfig) /p:TargetArchitecture=x86
93111
displayName: Build
94112

95-
- task: MSBuild@1
96-
displayName: Sign Windows_x86 Binaries
97-
inputs:
98-
solution: build/sign.proj
99-
msbuildArguments: /p:SignType=$(_SignType)
100-
msbuildVersion: 15.0
101-
continueOnError: false
113+
- script: ./sign.cmd -configuration $(BuildConfig) /p:TargetArchitecture=x86 /p:SignBinaries=true
114+
displayName: sign binaries
102115

103116
- task: PublishBuildArtifacts@1
104117
displayName: Publish Windows_x86 package assets
105118
inputs:
106-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
119+
pathToPublish: $(Build.SourcesDirectory)/artifacts/pkgassets
107120
artifactName: PackageAssets
108121
artifactType: container
109122

110123
# Terminate all dotnet build processes.
111-
- script: $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
124+
- script: $(Build.SourcesDirectory)/.dotnet/dotnet.exe build-server shutdown
112125
displayName: Dotnet Server Shutdown
113126

114127
################################################################################
@@ -141,7 +154,7 @@ phases:
141154
condition: and(succeeded(), in(variables._SignType, 'real', 'test'))
142155

143156
# Build both native and managed assets.
144-
- script: ./build.cmd -$(BuildConfig)
157+
- script: ./build.cmd -configuration $(BuildConfig) /p:TargetArchitecture=x64
145158
displayName: Build
146159

147160
- task: ComponentGovernanceComponentDetection@0
@@ -151,23 +164,18 @@ phases:
151164
alertWarningLevel: 'High'
152165

153166

154-
- task: MSBuild@1
155-
displayName: Sign Windows_x64 Binaries
156-
inputs:
157-
solution: build/sign.proj
158-
msbuildArguments: /p:SignType=$(_SignType)
159-
msbuildVersion: 15.0
160-
continueOnError: false
167+
- script: ./sign.cmd -configuration $(BuildConfig) /p:TargetArchitecture=x64 /p:SignBinaries=true
168+
displayName: sign binaries
161169

162170
- task: PublishBuildArtifacts@1
163171
displayName: Publish Windows_x64 package assets
164172
inputs:
165-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
173+
pathToPublish: $(Build.SourcesDirectory)/artifacts/pkgassets
166174
artifactName: PackageAssets
167175
artifactType: container
168176

169177
# Terminate all dotnet build processes.
170-
- script: $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
178+
- script: $(Build.SourcesDirectory)/.dotnet/dotnet.exe build-server shutdown
171179
displayName: Dotnet Server Shutdown
172180

173181
################################################################################
@@ -213,31 +221,27 @@ phases:
213221
displayName: Download package assets
214222
inputs:
215223
artifactName: PackageAssets
216-
downloadPath: $(Build.SourcesDirectory)/bin/obj/packages
224+
downloadPath: $(Build.SourcesDirectory)/artifacts/pkgassets
217225

218226
# Workaround https://github.com/Microsoft/vsts-tasks/issues/6739
219227
- task: CopyFiles@2
220228
displayName: Copy package assets to correct folder
221229
inputs:
222-
sourceFolder: $(Build.SourcesDirectory)/bin/obj/packages/PackageAssets
223-
targetFolder: $(Build.SourcesDirectory)/bin/obj/packages
230+
sourceFolder: $(Build.SourcesDirectory)/artifacts/pkgassets/PackageAssets
231+
targetFolder: $(Build.SourcesDirectory)/artifacts/pkgassets
224232

225-
- script: ./build.cmd -buildPackages
226-
displayName: Create Packages
233+
- script: ./build.cmd -pack -configuration $(BuildConfig)
234+
displayName: Build Packages
227235

228-
- task: MSBuild@1
229-
displayName: Sign Packages
230-
inputs:
231-
solution: build/sign.proj
232-
msbuildArguments: /p:SignType=$(_SignType) /p:SignNugetPackages=true
233-
msbuildVersion: 15.0
236+
- script: ./sign.cmd /p:SignNugetPackages=true
237+
displayName: sign packages
234238
continueOnError: false
235239

236240
- task: NuGetAuthenticate@0
237241
inputs:
238242
nuGetServiceConnections: machinelearning-dnceng-public-feed # To allow publishing to a feed of another organization
239243

240-
- script: Tools\dotnetcli\dotnet msbuild build\publish.proj /t:PublishPackages /p:NuGetFeedUrl=$(_AzureDevopsFeedUrl) /p:NuGetApiKey=AzureArtifacts
244+
- script: $(Build.SourcesDirectory)\.dotnet\dotnet.exe msbuild build\publish.proj /t:PublishPackages /p:NuGetFeedUrl=$(_AzureDevopsFeedUrl) /p:NuGetApiKey=AzureArtifacts
241245
displayName: Publish Packages to AzureDevOps Feed
242246

243247
- task: MSBuild@1
@@ -257,5 +261,5 @@ phases:
257261
continueOnError: true
258262

259263
# Terminate all dotnet build processes.
260-
- script: $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
264+
- script: $(Build.SourcesDirectory)/.dotnet/dotnet.exe build-server shutdown
261265
displayName: Dotnet Server Shutdown

eng/Signing.props

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<Project>
2-
<ItemGroup>
3-
<!-- <StrongNameSignInfo Include="$(RepoRoot)\Tools\Open.snk" PublicKeyToken="cc7b13ffcd2ddd51" CertificateName="Microsoft400" />
4-
<StrongNameSignInfo Include="$(RepoRoot)\Tools\Test.snk" PublicKeyToken="9d77cc7ad39b68eb" CertificateName="Microsoft400" /> -->
5-
</ItemGroup
2+
<ItemGroup Condition="'$(SignBinaries)' == 'true'">
3+
<ItemsToSign Remove="@(ItemsToSign)" />
4+
<ItemsToSign Include="$(ArtifactsDir)pkgassets\**\*.dll" />
5+
<FileExtensionSignInfo Include="*.dll" CertificateName="Microsoft400" />
6+
</ItemGroup>
7+
<ItemGroup Condition="'$(SignNugetPackages)' == 'true'">
8+
<ItemsToSign Remove="@(ItemsToSign)" />
9+
<ItemsToSign Include="$(ArtifactsDir)packages\**\*.nupkg" />
10+
<ItemsToSign Include="$(ArtifactsDir)packages\**\*.snupkg" />
11+
<FileExtensionSignInfo Include="*.nupkg" CertificateName="NuGet" />
12+
<FileExtensionSignInfo Include="*.snupkg" CertificateName="NuGet" />
13+
</ItemGroup>
614
</Project>

eng/Versions.props

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
<ReportGeneratorVersion>4.3.6</ReportGeneratorVersion>
3838
<MicrosoftDotNetApiCompatPackageVersion>1.0.0-beta.19225.5</MicrosoftDotNetApiCompatPackageVersion>
3939
<MicrosoftSourceLinkVersion>1.1.0-beta-20206-02</MicrosoftSourceLinkVersion>
40+
<BuildToolsPackageVersion>3.0.0-preview4-04926-01</BuildToolsPackageVersion>
4041

4142
<!-- Test-only Dependencies -->
4243
<BenchmarkDotNetVersion>0.12.0</BenchmarkDotNetVersion>

restore.cmd

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore -warnAsError 0 %*"
3+
exit /b %ErrorLevel%

restore.sh

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
SOURCE="${BASH_SOURCE[0]}"
6+
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
7+
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
8+
SOURCE="$(readlink "$SOURCE")"
9+
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
10+
done
11+
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
12+
13+
"$DIR/eng/common/build.sh" --restore --warnAsError false "$@"

sign.cmd

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -sign -warnAsError 0 %*"
3+
exit /b %ErrorLevel%

src/Microsoft.Extensions.ML/Microsoft.Extensions.ML.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.Extensions.ML</IncludeInPackage>
67
<PackageDescription>An integration package for ML.NET models on scalable web apps and services.</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.AutoML</IncludeInPackage>
67
<PackageDescription>ML.NET AutoML: Optimizes an ML pipeline for your dataset, by automatically locating the best feature engineering, model, and hyperparameters</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.CodeGenerator/Microsoft.ML.CodeGenerator.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.CodeGenerator</IncludeInPackage>
67
<PackageDescription>ML.NET Code Generator</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.CpuMath/Microsoft.ML.CpuMath.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
6+
<IncludeInPackage>Microsoft.ML.CpuMath</IncludeInPackage>
67
<PackageDescription>Microsoft.ML.CpuMath contains optimized math routines for ML.NET.</PackageDescription>
78
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
89
<DefineConstants>$(DefineConstants);CPUMATH_INFRASTRUCTURE</DefineConstants>

src/Microsoft.ML.DataView/Microsoft.ML.DataView.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.DataView</IncludeInPackage>
67
<PackageDescription>Contains the IDataView system which is a set of interfaces and components that provide efficient, compositional processing of schematized data for machine learning and advanced analytics applications.</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.DnnImageFeaturizer.AlexNet/Microsoft.ML.DnnImageFeaturizer.AlexNet.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.DnnImageFeaturizer.AlexNet</IncludeInPackage>
67
<PackageDescription>ML.NET component for pretrained AlexNet image featurization</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.DnnImageFeaturizer.ResNet101/Microsoft.ML.DnnImageFeaturizer.ResNet101.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.DnnImageFeaturizer.ResNet101</IncludeInPackage>
67
<PackageDescription>ML.NET component for pretrained ResNet101 image featurization</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.DnnImageFeaturizer.ResNet18/Microsoft.ML.DnnImageFeaturizer.ResNet18.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.DnnImageFeaturizer.ResNet18</IncludeInPackage>
67
<PackageDescription>ML.NET component for pretrained ResNet18 image featurization</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.DnnImageFeaturizer.ResNet50/Microsoft.ML.DnnImageFeaturizer.ResNet50.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.DnnImageFeaturizer.ResNet50</IncludeInPackage>
67
<PackageDescription>ML.NET component for pretrained ResNet50 image featurization</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.Ensemble/Microsoft.ML.Ensemble.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.Ensemble</IncludeInPackage>
67
<PackageDescription>ML.NET component for Ensembles</PackageDescription>
78
<DefineConstants>CORECLR</DefineConstants>
89
</PropertyGroup>

src/Microsoft.ML.EntryPoints/Microsoft.ML.EntryPoints.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.EntryPoints</IncludeInPackage>
67
<PackageDescription>Microsoft.ML.EntryPoints contains the ML.NET entry point API catalog.</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.Experimental/Microsoft.ML.Experimental.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.Experimental</IncludeInPackage>
67
<PackageDescription>Microsoft.ML.Experimental contains experimental work such extension methods to access internal methods.</PackageDescription>
78
</PropertyGroup>
89

src/Microsoft.ML.FastTree/Microsoft.ML.FastTree.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IncludeInPackage>Microsoft.ML.FastTree</IncludeInPackage>
67
<PackageDescription>ML.NET component for FastTree</PackageDescription>
78
<DefineConstants>$(DefineConstants);USE_FASTTREENATIVE;NO_STORE;CORECLR</DefineConstants>
89
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

src/Microsoft.ML.Featurizers/Microsoft.ML.Featurizers.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFrameworks>netstandard2.0;netcoreapp2.1</TargetFrameworks>
6+
<IncludeInPackage>Microsoft.ML.Featurizers</IncludeInPackage>
67
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
78
<PackageDescription>ML.NET featurizers with native code implementation</PackageDescription>
89
</PropertyGroup>

0 commit comments

Comments
 (0)