Skip to content

How to pack language specific custom license file #9680

Open
@archanasoni

Description

Hi,

We have library which is targeting Net Standard 2.1, As PackageLicenseUrl tag is deprecated, we have to pack license file in text format.

Now my simple question is- how can we pack license file different locale, so that When Nuget package gets installed it will open License file for respective Locale..
For example: If system locale is spanish, while installing Nuget package it should open spanish license file..
Currently we are using below tag to specify license file.
<PackageLicenseFile>Lic_en.txt</PackageLicenseFile>

Then we bundle like below:
<None Include="..\Licenses\IBM.EntityFrameworkCore\Lic_en.txt" Pack="true" PackagePath="Lic_en.txt"/>

Thanks,
Archana

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions