Skip to content

Trouble generating powershell.inc using the msbuild target from internals.md #7057

Closed

Description

Hi there, I am the maintainer of the powershell package for Arch Linux.

I was just working on updating the PKGBUILD for the latest version of dotnet, and encountered the following error message:

Unhandled Exception: System.ArgumentException: Cannot find the file that contains the reference list. The path '[build directory]/src/TypeCatalogGen/powershell.inc' doesn't exist.

After closer inspection, it seems that powershell.inc is not generated by the given msbuild target any more.

Is this an error on my end, or has the build process changed?

Steps to reproduce

Following the steps in docs/building/internals.md

dotnet msbuild src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj /t:_GetDependencies "/property:DesignTimeBuild=true;_DependencyFile=$(pwd)/src/TypeCatalogGen/powershell.inc" /nologo

Expected behavior

powershell.inc gets generated at src/TypeCatalogGen/powershell.inc.

Actual behavior

Powershell.inc is not created, but no errors are reported.

Activity

  1. added
    Issue-Question
    WG-Maintainers-Build
    on Jun 13, 2018
  2. rjmholt commented on Jun 13, 2018

    @rjmholt
    Collaborator

    Hi Kyle Sferrazza (@kylesferrazza)! How are you building PowerShell itself? I'm not very savvy on .inc files, but have you tried Start-PSBuild <other options> -TypeGen?

  3. iSazonov commented on Jun 13, 2018

    @iSazonov
    Collaborator
  4. kylesferrazza commented on Jun 13, 2018

    @kylesferrazza
    ContributorAuthor

    Ilya (@iSazonov) thanks! That fixed it.

  5. daxian-dbw commented on Jun 13, 2018

    @daxian-dbw
    Member

    I will update the document internals.md. Will close this issue along with the doc update.

  6. iSazonov commented on Jun 13, 2018

    @iSazonov
    Collaborator

    Kyle Sferrazza (@kylesferrazza) If you have automatically build indicator we could add it in our readme.md to see Arch Linux night build status.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-QuestionResolution-AnsweredWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions