eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. ๐—น๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—ถ๐—ป.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ, ๐˜†๐—ผ๐˜‚๐˜๐˜‚๐—ฏ๐—ฒ.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ and ๐˜๐˜„๐—ถ๐˜๐˜๐—ฒ๐—ฟ @๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ and or simply ๐—ฆ๐˜๐—ฎ๐—ฟ/๐˜„๐—ฎ๐˜๐—ฐ๐—ต this repository and get notified from ๐—š๐—ถ๐˜๐—›๐˜‚๐—ฏ
http://expand.expandframework.com
Microsoft Public License
220 stars 114 forks source link

[23.2.4] Docker Build Exception #1048

Open allshib opened 6 months ago

allshib commented 6 months ago

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 commented 6 months ago

do you have powershell.exe in your container?

allshib commented 6 months ago

No, powershell is not in my container.

apobekiaris commented 6 months ago

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

allshib commented 6 months ago

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