|
22 | 22 |
|
23 | 23 | <ItemGroup>
|
24 | 24 | <PackageReference Include="Google.LongRunning" Version="1.0.0" />
|
25 |
| - <PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" /> |
26 | 25 | <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0-preview.2" />
|
27 | 26 | </ItemGroup>
|
28 | 27 |
|
29 |
| - <!-- For details on configuring ILRepack see https://www.phillipsj.net/posts/using-ilrepack-with-dotnet-core-sdk-and-dotnet-standard --> |
30 |
| - <Target Name="ILRepack" AfterTargets="Pack" Condition="'$(Configuration)' == 'Release' "> |
31 |
| - <PropertyGroup> |
32 |
| - <WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\netstandard1.6</WorkingDirectory> |
33 |
| - </PropertyGroup> |
34 |
| - |
35 |
| - <ItemGroup> |
36 |
| - <InputAssemblies Include="Improbable.SpatialOS.Platform.dll" /> |
37 |
| - <InputAssemblies Include="Google.Api.CommonProtos.dll" /> |
38 |
| - <InputAssemblies Include="Google.Api.Gax.Grpc.dll" /> |
39 |
| - <InputAssemblies Include="Google.Api.Gax.dll" /> |
40 |
| - <InputAssemblies Include="Google.Apis.Auth.PlatformServices.dll" /> |
41 |
| - <InputAssemblies Include="Google.Apis.Auth.dll" /> |
42 |
| - <InputAssemblies Include="Google.Apis.Core.dll" /> |
43 |
| - <InputAssemblies Include="Google.Apis.dll" /> |
44 |
| - <InputAssemblies Include="Google.LongRunning.dll" /> |
45 |
| - <InputAssemblies Include="Google.Protobuf.dll" /> |
46 |
| - <InputAssemblies Include="Google.Protobuf.dll" /> |
47 |
| - <InputAssemblies Include="Grpc.Auth.dll" /> |
48 |
| - <InputAssemblies Include="Grpc.Core.dll" /> |
49 |
| - <InputAssemblies Include="Newtonsoft.Json.dll" /> |
50 |
| - <InputAssemblies Include="System.Interactive.Async.dll" /> |
51 |
| - </ItemGroup> |
52 |
| - |
53 |
| - <!-- These DLLs are not internalised because they contains types that are user-facing. Internalising would mess up the namespace. --> |
54 |
| - <ItemGroup> |
55 |
| - <InternalizeExcludeAssemblies Include="Improbable.SpatialOS.Platform" /> |
56 |
| - <InternalizeExcludeAssemblies Include="Google.Api.Gax" /> |
57 |
| - <InternalizeExcludeAssemblies Include="Google.LongRunning" /> |
58 |
| - <InternalizeExcludeAssemblies Include="Google.Protobuf.WellKnownTypes" /> |
59 |
| - <InternalizeExcludeAssemblies Include="Grpc.Core" /> |
60 |
| - </ItemGroup> |
61 |
| - |
62 |
| - <ILRepack Parallel="true" OutputType="$(OutputType)" MainAssembly="$(AssemblyName).dll" OutputAssembly="$(AssemblyName).dll" InputAssemblies="@(InputAssemblies)" InternalizeExcludeAssemblies="@(InternalizeExcludeAssemblies)" Internalize="true" WorkingDirectory="$(WorkingDirectory)" /> |
63 |
| - |
64 |
| - <ItemGroup> |
65 |
| - <AssembliesToDelete Include="$(WorkingDirectory)/%(InputAssemblies.Identity)" /> |
66 |
| - </ItemGroup> |
67 |
| - |
68 |
| - <Delete Files="@(AssembliesToDelete)" /> |
69 |
| - |
70 |
| - </Target> |
71 |
| - |
72 | 28 | </Project>
|
0 commit comments