Skip to content

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

@kylesferrazza

Description

@kylesferrazza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions