Closed pjcunningham closed 8 months ago
I guess the fastest thing is to edit VersionConverter.ps1 and remove its contents
Thanks for getting back.
Except powershell.exe is being referenced in many (if not all) Xpand package *.targets
files. I deleted all of them using the command below and now my project compiles.
cd ~/.nuget/packages
find . -path "*xpand*" -name "*.targets" -delete
Can they be removed from the sources?
what is your suggestion? the build is designed to run on a windows machine
unfortunately i do not use or develop on linux thus testing your suggestion is very cost consuming for me. I can however merge any PR that contains a fix and test it that does not interfere with the windows build. So feel free to PR
to make it clear we cannot remove the targets they are there for a reason, we can conditionally skip them on Linux hoping for the best.
I develop and test XAF Blazor apps on Windows but use Linux for production.
Can you tell me (briefly) what the purpose of the *.targets are for and I can research whether skipping them on Linux (production build only) has any undesirable outcome and possibly find alternative syntax for you.
as you can see the CopySymbols.ps1 currently explicitly copies the pdb files to the bin and fixes microsoft.cognitiveservices.speech c# binding. However please note that the scirpts are a powerful tool we have to do anything when a project is build. Therefore instead of using native msbuild commands I chose powershell which is easier to debug and develop. So what we looking is somethid like a smart way to run powershell on Linux or skip it. Note that pscore is platform agnostic however I chose the standard version to avoid depdendencies.
Nothing is that simple as it looks there is a history of cases we have to consider but in any case i am open to suggestion and will post my thoughts considerations then
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
๐๐ฒ๐๐ฐ๐ฟ๐ถ๐ฏ๐ฒ ๐๐ต๐ฒ ๐ฏ๐๐ด Compiling a XAF 22.2.4 project on Linux
results in the following error:
๐ง๐ผ ๐ฅ๐ฒ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐ฒ
๐๐ ๐ฝ๐ฒ๐ฐ๐๐ฒ๐ฑ ๐ฏ๐ฒ๐ต๐ฎ๐๐ถ๐ผ๐ฟ The project to compile