Skip to content

Commit 272ede6

Browse files
authored
[AutoML] publish AutoML package (#3383)
* publish AutoML package * Only leave automl and mlnet tests to run * publish AutoML package * Only leave automl and mlnet tests to run * fix build issues when ml.net is not building
1 parent 8874994 commit 272ede6

File tree

8 files changed

+31
-41
lines changed

8 files changed

+31
-41
lines changed

build.proj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24+
<!-- <Project Include="Microsoft.ML.sln" /> -->
2425
<Project Include="Microsoft.ML.AutoML.sln" />
25-
<Project Include="Microsoft.ML.sln" />
2626
</ItemGroup>
2727

2828
<Import Project="dir.traversal.targets" />
@@ -34,7 +34,7 @@
3434
CreateOrUpdateCurrentVersionFile;
3535
RestoreProjects;
3636
BuildRedist;
37-
BuildNative;
37+
<!-- BuildNative; -->
3838
$(TraversalBuildDependsOn);
3939
DownloadExternalTestFiles;
4040
</TraversalBuildDependsOn>
@@ -68,7 +68,7 @@
6868
<Message Importance="High" Text="Building packages ..." />
6969

7070
<ItemGroup>
71-
<PkgProject Include="pkg\**\*.nupkgproj" />
71+
<PkgProject Include="pkg\Microsoft.ML.Auto\Microsoft.ML.Auto.nupkgproj" />
7272
</ItemGroup>
7373

7474
<MSBuild Projects="@(PkgProject)"

build/BranchInfo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</PropertyGroup>
2929
<PropertyGroup Condition="'$(IsStableProject)' != 'true'">
3030
<MajorVersion>0</MajorVersion>
31-
<MinorVersion>13</MinorVersion>
31+
<MinorVersion>2</MinorVersion>
3232
<PatchVersion>0</PatchVersion>
3333
<PreReleaseLabel>preview</PreReleaseLabel>
3434
</PropertyGroup>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Pack">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<PackageDescription>ML.NET AutoML: Optimizes an ML pipeline for your dataset, by automatically locating the best feature engineering, model, and hyperparameters</PackageDescription>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="Microsoft.ML" Version="1.0.0-preview" />
10+
<PackageReference Include="Microsoft.ML.LightGBM" Version="1.0.0-preview" />
11+
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="1.0.0-preview" />
12+
</ItemGroup>
13+
14+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project DefaultTargets="Pack">
2+
3+
<Import Project="Microsoft.ML.Auto.nupkgproj" />
4+
5+
</Project>

src/Microsoft.ML.Auto/Microsoft.ML.Auto.csproj

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,18 @@
66
<!-- TODO: make the code compliant and remove the following two lines: -->
77
<UseStyleCopAnalyzer>false</UseStyleCopAnalyzer>
88
<UseMLCodeAnalyzer>false</UseMLCodeAnalyzer>
9+
<IncludeInPackage>Microsoft.ML.Auto</IncludeInPackage>
910
</PropertyGroup>
1011

1112
<ItemGroup>
12-
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="2.1.0" />
1313
<PackageReference Include="Microsoft.ML" Version="1.0.0-preview" />
14-
<PackageReference Include="Microsoft.ML.LightGbm" Version="1.0.0-preview" />
14+
<PackageReference Include="Microsoft.ML.LightGBM" Version="1.0.0-preview" />
1515
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="1.0.0-preview" />
1616
</ItemGroup>
1717

18-
<PropertyGroup>
19-
<Authors>Microsoft</Authors>
20-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
21-
<PackageProjectUrl>https://dot.net/ml</PackageProjectUrl>
22-
<PackageIconUrl>https://aka.ms/mlnetlogo</PackageIconUrl>
23-
<PackageReleaseNotes>https://aka.ms/mlnetreleasenotes</PackageReleaseNotes>
24-
<!-- space separated -->
25-
<PackageTags>ML.NET ML Machine Learning AutoML</PackageTags>
26-
<AssemblyName>Microsoft.ML.Auto</AssemblyName>
27-
</PropertyGroup>
28-
2918
<PropertyGroup>
3019
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3120
</PropertyGroup>
3221

33-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
34-
<NoWarn>1701;1702</NoWarn>
35-
</PropertyGroup>
36-
37-
<ItemGroup Condition="'$(IncludeMLNetNotices)' != 'false'">
38-
<Content Include="$(RepoRoot)\THIRD-PARTY-NOTICES.TXT" Pack="true" PackagePath="" />
39-
<Content Include="$(RepoRoot)\LICENSE" Pack="true" PackagePath="" />
40-
</ItemGroup>
41-
22+
4223
</Project>

src/mlnet/mlnet.csproj

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,13 @@
2020
<PackageReference Include="System.CommandLine.Experimental" Version="0.2.0-alpha.19174.3" />
2121
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" />
2222
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.1" />
23+
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="2.1.0" />
2324
</ItemGroup>
2425

2526
<ItemGroup>
2627
<ProjectReference Include="..\Microsoft.ML.Auto\Microsoft.ML.Auto.csproj" />
2728
</ItemGroup>
2829

29-
<ItemGroup>
30-
<Reference Include="mscorlib">
31-
<HintPath>mscorlib</HintPath>
32-
</Reference>
33-
<Reference Include="System">
34-
<HintPath>System</HintPath>
35-
</Reference>
36-
<Reference Include="System.Core">
37-
<HintPath>System.Core</HintPath>
38-
</Reference>
39-
</ItemGroup>
40-
4130
<ItemGroup>
4231
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
4332
</ItemGroup>

test/Microsoft.ML.AutoML.Tests/Microsoft.ML.AutoML.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3838
</None>
3939
</ItemGroup>
40-
40+
4141
</Project>

test/run-tests.proj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
33

44
<ItemGroup>
5-
<Project Include="$(MSBuildThisFileDirectory)**\*.csproj" />
6-
<Project Include="$(MSBuildThisFileDirectory)**\*.fsproj" />
5+
<Project Include="$(MSBuildThisFileDirectory)\Microsoft.ML.AutoML.Tests\*.csproj" />
6+
<Project Include="$(MSBuildThisFileDirectory)\mlnet.Tests\*.csproj" />
7+
<!-- <Project Include="$(MSBuildThisFileDirectory)**\*.fsproj" /> -->
78
</ItemGroup>
89

910
<Target Name="RunTests">

0 commit comments

Comments
 (0)