Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.2.4] Docker Build Exception #1048

Open
allshib opened this issue Feb 14, 2024 · 4 comments
Open

[23.2.4] Docker Build Exception #1048

allshib opened this issue Feb 14, 2024 · 4 comments
Labels

Comments

@allshib
Copy link

allshib commented Feb 14, 2024

Hello! I'm trying to build my application container and during the last stage of the build I get the following error lines. I can assume that the problem is that the Xpand.VersionConverter version is not equal to 4.232.4. Currently I have XAF version 23.2.4 and Xpand version 4.23.2.403.

/root/.nuget/packages/xpand.versionconverter/4.232.3/build/Xpand.VersionConverter.targets(4,9): error : /bin/sh: 2: /tmp/MSBuildTemproot/tmp7b4769144a3d4df6955a68433d00190b.exec.cmd: powershell.exe: not found [/src/MyProjectName.Module/MyProjectName.Module.csproj]

/root/.nuget/packages/xpand.versionconverter/4.232.3/build/Xpand.VersionConverter.targets(4,9): error MSB3073: The command "powershell.exe –NonInteractive –ExecutionPolicy Unrestricted –command "& { &'/root/.nuget/packages/xpand.versionconverter/4.232.3/build/\Xpand.VersionConverter.ps1' '/src/MyProjectName.Module/MyProjectNameModule.csproj' '' '' '' '' '/app/build/' } " " exited with code 127. [/src/MyProjectName.Module/MyProjectName.Module.csproj]

@apobekiaris
Copy link
Member

do you have powershell.exe in your container?

@allshib
Copy link
Author

allshib commented Feb 14, 2024

No, powershell is not in my container.

@apobekiaris
Copy link
Member

in general this framework uses powershell for all automation, you need it for the build

@allshib
Copy link
Author

allshib commented Feb 14, 2024

Thanks for the answer. I'll try adding powerShell to my container.

@apobekiaris apobekiaris removed their assignment Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants