Closed rSeeFip closed 4 years ago
hmm i am not sure if go.ps1 works with no problems can you try
& .\tools\Build\BuildPipeline.ps1 -CustomVersion $DXVersion -dxapifeed $env:localDXFeed -branch "master"
the script i posted is used from AzureDevOps so it works for sure
I tried but i get another file not found exception
hmm the exception is clear a System
assembly is missing, When I run in my system
Get-XAFLatestMinors
Major Minor Build Revision
----- ----- ----- --------
19 2 5 0
19 1 8 0
18 2 11 0
The pipeline definition is loaded at the same folder BuildPipeline.yml and the Compatibity Matrix is green for 18.2.11 https://github.com/eXpandFramework/DevExpress.XAF#compatibility-matrix. The project does not use loca dependecies, they all come from Nuget.
Unfortunately i cannot tell why it fails in your system. Try adding the missing assembly to the GAC
what the version of XpandPwsh module?
get-module Xpandpwsh -ListAvailable
Directory: C:\Work\eXpandFramework\XpandPwsh
ModuleType Version Name PSEdition ExportedCommands
---------- ------- ---- --------- ----------------
Script 1.192.35 XpandPwsh Desk {New-GithubReleaseNotesTemplate, Close-GithubIssue, Update-NugetProjectVersion, Find-XpandNugetPackageโฆ}
try uninstall all version of XpandPwsh from your system and then run the build script
uninstall-module XpandPwsh -AllVersions
always miss System.ComponentModel.Annotations
I've installed it manually from nuget get in the Modules Extensions Project, but not helps.
actual installed XpandPwsh
first the latest version of XpandPwsh is
find-module xpandpwsh
Version Name Repository Description
------- ---- ---------- -----------
1.192.35 XpandPwsh PSGallery Various functions working with DevExpresโฆ
and you use .14
maybe there is
I've uninstall all and then run go.ps1
so thru go.ps1 old version get installed
ok i got what is happening now you unde powershell but this is designed to run over powershell.core so
dotnet tool install --global PowerShell
pwsh
& .\BuildPipeline.ps1
for note
i've uninstall XpandPwsh, manually install Version 1.192.35 sucessfully, after running go.ps1 i got two versions 1.192.35 and 1.92.14
.14 is correct version as it is installed with the latest source u can upgrade if u wish though by installing the latest XpandPwsh first and then running the build
it is not required to update to latest
i 've testet with .35 and .14 and both. Not work. With using of go.ps1 i get always folder C:\Program not exists, sure it calls C:\Program Files... by using of .\tools\Build\BuildPipeline.ps1 -CustomVersion $DXVersion -dxapifeed $env:localDXFeed -branch "master"
i got issue "miss System.ComponentModel.Annotations 4.2" which when i google is a steady problem in gac i have System.ComponentModel.Annotations 4.8
All what i have change from last sucessfully build 2 weeks ago id installing devexpress 19.2.5 and expand , no windows updates or something else
this why i'am surprised how can this happen
i've checked backup clone from production system last month ago their was too
System.ComponentModel.Annotations 4.8
in GAC, so it could not be to changing module from 4,2 to 4,8
it seems that u do not understand what I said in https://github.com/eXpandFramework/eXpand/issues/653#issuecomment-571606278
the Annotations problem is because you run the script from powershell.exe and not from pwsh.exe. pwsh.exe is the powershell.core version which u have to install in your system in order to run the scripts. Once install you Start/Run --> pwsh.exe and in the command prompt you run the scripts.
all other suggestions about GAC etc. are not valid
i understand i use pwsh.exe
check how is done in azure
copy paste the lines and explicity declare all parameters
the error u get says that the DX package source is not found which means that u either do not have DX installed or u installed it in a non default path
No, thats what i've checked in first topic in this chat, folder and files exists
did you tried to use your DX feed instead of your local folder as a source? e.g. https://nuget.devexpress.com/88luCgoeuPFT....
ok, i used as package Source my DX feed, it's little better . it found Web.Themes and Scheduler.Web libs but crash by finding Charts lib and further
so i'm not able to solve this, i must wait for next expand.lab build
still is on local source somehow try the following search and replace the C:\Program files... with your nuget feed to all paket.dependencies and paket.lock files found in the repo source
The DevExpress.XAF repository includes commits that relate to this task:
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
The DevExpress.XAF repository includes commits that relate to this task:
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
Use your DX nuget feed not @apobekiaris 's URL from above. Example:
More specifically in paket.lock where it says remote: C:\Program change to remote: <your DX nuget feed ending with /api>
@apobekiaris Please change paket.lock line to end with \ and wrap with. Like so:
https://github.com/eXpandFramework/eXpand/commit/18c20136af577e31a7d6a13a34d241eec5ad189e
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
Hello.
when i try to build Devexpress.XAF Modules i'm firstly run the go.ps1
But since actual Release i got File not found error the script should use path
C:\Program Files (x86)\DevExpress 19.2\Components\System\Components\packages
but it use only C:\Program and says path not found