You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package contains many files that are attached to the project as content files. If my project using this package is a library that I also pack into NuGet then my package contains all the contents of the GDAL.Native package.
It would be sufficient to change the msbuild script GDAL.Native.targets, replacing Content with None:
<ItemGroup Condition="'$(ContentGDALInteropFiles)' != '' And '$(ContentGDALInteropFiles)' != 'false' And '@(GDALInteropFiles)' != ''"> <None Include="@(GDALInteropFiles)">. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>. <CopyToOutputDirectory>Always</CopyToOutputDirectory>. </None>. </ItemGroup>.
Would you do that for feature release of GDAL.Native package.
You can reproduce my problem by creating netstandard library project, adding GDAL.Native package into it and use Pack command in Visual Studio. Result package of this new library has GDAL.Native as dependency and also whole content of GDAL.Native inside.
The text was updated successfully, but these errors were encountered:
The package contains many files that are attached to the project as content files. If my project using this package is a library that I also pack into NuGet then my package contains all the contents of the GDAL.Native package.
It would be sufficient to change the msbuild script GDAL.Native.targets, replacing Content with None:
<ItemGroup Condition="'$(ContentGDALInteropFiles)' != '' And '$(ContentGDALInteropFiles)' != 'false' And '@(GDALInteropFiles)' != ''"> <None Include="@(GDALInteropFiles)">. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>. <CopyToOutputDirectory>Always</CopyToOutputDirectory>. </None>. </ItemGroup>.
Would you do that for feature release of GDAL.Native package.
You can reproduce my problem by creating netstandard library project, adding GDAL.Native package into it and use Pack command in Visual Studio. Result package of this new library has GDAL.Native as dependency and also whole content of GDAL.Native inside.
The text was updated successfully, but these errors were encountered: