File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 <EmbedUntrackedSources >true</EmbedUntrackedSources >
2121 <PublishRepositoryUrl >true</PublishRepositoryUrl >
2222 <NoWarn >NU1603</NoWarn >
23+
24+ <!-- Run custom target during pack to add dependency files into the package. -->
25+ <TargetsForTfmSpecificContentInPackage >$(TargetsForTfmSpecificContentInPackage);IncludeInternalDependenciesInPackage</TargetsForTfmSpecificContentInPackage >
2326 </PropertyGroup >
2427
2528 <ItemGroup >
5356 </PropertyGroup >
5457
5558 <ItemGroup >
56- <ProjectReference Include =" ..\Auth\Azure.DataApiBuilder.Auth.csproj" />
57- <ProjectReference Include =" ..\Config\Azure.DataApiBuilder.Config.csproj" />
58- <ProjectReference Include =" ..\Service.GraphQLBuilder\Azure.DataApiBuilder.Service.GraphQLBuilder.csproj" />
59+ <ProjectReference Include =" ..\Auth\Azure.DataApiBuilder.Auth.csproj" >
60+ <PrivateAssets Condition =" '$(PrivatizeAssets)' == 'true'" >all</PrivateAssets >
61+ </ProjectReference >
62+ <ProjectReference Include =" ..\Config\Azure.DataApiBuilder.Config.csproj" >
63+ <PrivateAssets Condition =" '$(PrivatizeAssets)' == 'true'" >all</PrivateAssets >
64+ </ProjectReference >
65+ <ProjectReference Include =" ..\Service.GraphQLBuilder\Azure.DataApiBuilder.Service.GraphQLBuilder.csproj" >
66+ <PrivateAssets Condition =" '$(PrivatizeAssets)' == 'true'" >all</PrivateAssets >
67+ </ProjectReference >
5968 </ItemGroup >
6069
6170 <ItemGroup >
6574 <None Include =" ..\..\nuget_core\NOTICE.txt" Pack =" true" PackagePath =" \" Condition =" Exists('..\..\nuget_core\NOTICE.txt')" />
6675 </ItemGroup >
6776
77+ <Target Name =" IncludeInternalDependenciesInPackage" >
78+ <ItemGroup >
79+ <_InternalAssembly Include =" $(OutputPath)Azure.DataApiBuilder.Auth.dll" />
80+ <_InternalAssembly Include =" $(OutputPath)Azure.DataApiBuilder.Config.dll" />
81+ <_InternalAssembly Include =" $(OutputPath)Azure.DataApiBuilder.Service.GraphQLBuilder.dll" />
82+ <_InternalAssembly Include =" $(OutputPath)Azure.DataApiBuilder.Product.dll" />
83+
84+ <TfmSpecificPackageFile Include =" @(_InternalAssembly)" PackagePath =" lib/$(TargetFramework)" />
85+ </ItemGroup >
86+ </Target >
87+
6888</Project >
You can’t perform that action at this time.
0 commit comments