File tree 3 files changed +42
-0
lines changed
3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 14
14
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
15
15
</ItemGroup>
16
16
17
+ <ItemGroup>
18
+ <Content Include="build\**\*" Pack="true" PackagePath="build" />
19
+ </ItemGroup>
17
20
</Project>
Original file line number Diff line number Diff line change
1
+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2
+
3
+ <!--
4
+ NuGet packages.config doesn't support native assemblies automatically,
5
+ so copy the native assemblies to the output directory.
6
+ -->
7
+ <ItemGroup Condition =" Exists('packages.config') OR
8
+ Exists('$(MSBuildProjectName).packages.config') OR
9
+ Exists('packages.$(MSBuildProjectName).config')" >
10
+ <Content Include =" $(MSBuildThisFileDirectory)\..\runtimes\win-x64\native\*.dll"
11
+ Condition =" '$(PlatformTarget)' == 'x64'" >
12
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
13
+ <Visible >false</Visible >
14
+ </Content >
15
+ </ItemGroup >
16
+
17
+ </Project >
Original file line number Diff line number Diff line change
1
+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2
+
3
+ <PropertyGroup >
4
+ <EnableMLUnsupportedPlatformTargetCheck Condition =" '$(EnableMLUnsupportedPlatformTargetCheck)' == ''" >true</EnableMLUnsupportedPlatformTargetCheck >
5
+ </PropertyGroup >
6
+
7
+ <Target Name =" _CheckForUnsupportedPlatformTarget"
8
+ Condition =" '$(EnableMLUnsupportedPlatformTargetCheck)' == 'true'"
9
+ AfterTargets =" _CheckForInvalidConfigurationAndPlatform" >
10
+
11
+ <!--
12
+ Special case .NET Core portable applications. When building a portable .NET Core app,
13
+ the PlatformTarget is empty, and you don't know until runtime (i.e. which dotnet.exe)
14
+ what processor architecture will be used.
15
+ -->
16
+ <Error Condition =" '$(PlatformTarget)' != 'x64' AND
17
+ ('$(OutputType)' == 'Exe' OR '$(OutputType)'=='WinExe') AND
18
+ !('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(PlatformTarget)' == '')"
19
+ Text =" Microsoft.ML currently supports 'x64' processor architectures. Please ensure your application is targeting 'x64'." />
20
+ </Target >
21
+
22
+ </Project >
You can’t perform that action at this time.
0 commit comments