Skip to content

Error when creating a package using .net core sdk 3.0.100-preview-009764 and arcade sdk 1.0.0-beta.18569.4 #1373

Closed

Description

@AdamYoblick

Hello,

I moved winforms up to 3.0.100-preview-009764 of dotnet, and I’m getting an error when running .\build -pack locally:

Successfully created package 'E:\src\repos\github\winforms\artifacts\packages\Debug\Shipping\Microsoft.Private.Winforms.1.0.0-dev.nupkg'.
E:\src\repos\github\winforms.dotnet\sdk\3.0.100-preview-009764\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(199,5): error NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead. [E:\src\repos\github\winforms\pkg\Microsoft.Private.Winforms.csproj]

Per email, it sounds like Arcade needs to use the new nuget properties.

To repro, set your global.json to this:

{
"tools": {
"dotnet": "3.0.100-alpha1-009703"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.18569.4"
}
}

Then run .\build -pack

Activity

  1. markwilkie commented on Dec 6, 2018

    @markwilkie
    Contributor

    @AdamYoblick - is this still an issue?

  2. AdamYoblick commented on Dec 6, 2018

    @AdamYoblick
    ContributorAuthor

    I believe so. I had to add <NoWarn>$(NoWarn);NU5125</NoWarn> to my package project for pack to work. If arcade has fixed this, it's news to me :)

  3. markwilkie commented on Dec 6, 2018

    @markwilkie
    Contributor

    @chcosta / @jcagme - do either of you guys know the current status of this?

  4. chcosta commented on Dec 6, 2018

    @chcosta
    Member

    There's a discussion with the Arcade working group. I believe @tmat is working to get this updated (currently making sure an update here won't break source build).

  5. tmat commented on Dec 6, 2018

    @tmat
    Member

    That's correct.

  6. markwilkie commented on Dec 12, 2018

    @markwilkie
    Contributor

    Any update on this @tmat?

  7. tmat commented on Dec 12, 2018

    @tmat
    Member

    Not yet.

  8. self-assigned this
    on Jan 16, 2019
  9. jcagme commented on Feb 7, 2019

    @jcagme
    Contributor

    Any updates here?

  10. tmat commented on Feb 7, 2019

    @tmat
    Member

    Do you see any?

  11. jcagme commented on Feb 7, 2019

    @jcagme
    Contributor

    So, going forward to avoid annoying @tmat when asking for updates, please make sure to to update this issue. I'll also check all the commits in the attempt to find a related one.

  12. tmat commented on Feb 7, 2019

    @tmat
    Member

    I'm sorry, but I don't like this constant polling on open issues. I will make sure I update the issue when I have made some progress.

  13. markwilkie commented on Feb 7, 2019

    @markwilkie
    Contributor

    Constant polling would be bad. I'm thinking a month is not constant though...

    And thanks @tmat - you're good at updating your issues for sure.

  14. AdamYoblick commented on Feb 7, 2019

    @AdamYoblick
    ContributorAuthor
  15. tmat commented on Feb 7, 2019

    @tmat
    Member

    Yes, I'm sorry. I shouldn't reacted that way.

  16. jcagme commented on Feb 7, 2019

    @jcagme
    Contributor

    All is good! Please keep this thread up to date whenever there are changes so we know what work is pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions