forked from dotnet/TorchSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTorchVision.csproj
More file actions
39 lines (32 loc) · 1.22 KB
/
TorchVision.csproj
File metadata and controls
39 lines (32 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<IncludeInPackage>TorchVision</IncludeInPackage>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseMLCodeAnalyzer>false</UseMLCodeAnalyzer>
<UseStyleCopAnalyzer>false</UseStyleCopAnalyzer>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup>
<PackDependsOn>
$(PackDependsOn);
RealPack
</PackDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\TorchVision.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Target Name="RealPack">
<MSBuild Projects="..\..\pkg\pack.proj" Targets="Pack" />
</Target>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
<Compile Include="..\TorchSharp\netstandard.cs" Link="netstandard.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SkiaSharp" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TorchSharp\TorchSharp.csproj" />
</ItemGroup>
</Project>