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

QuickBuild script error #1036

Closed beneton2003 closed 8 months ago

beneton2003 commented 8 months ago

𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻 Hi guys, i am trying to build Reactive.XAF using QuickBuild.ps with following comand

$p=@{
 DXApiFeed="C:\Program Files\DevExpress 23.1\Components\System\Components\packages"
 SourcePath="D:\apps_sharp\Reactive.XAF"
 GitHubUserName="beneton2003"
 GitHubToken="***"
 Force=$true
}
D:\apps_sharp\Reactive.XAF\QuickBuild.ps1 @p

but i am getting following error:

Starting full restore process.
Downloading Azure.Core 1.18
Downloading Microsoft.AspNetCore.Server.IIS 2.2
Downloading Polly 7.2.2
Downloading System.Net.Http 4.3.4
Something went wrong while downloading DevExpress.RichEdit.Core 23.1.6
Message: The package DevExpress.RichEdit.Core 23.1.6 can't be found in C:\Program. (The directory doesn't exist.)
Please check the feed definition in your paket.dependencies file.
  ==> Trying again
Something went wrong while downloading DevExpress.RichEdit.Core 23.1.6
Message: The package DevExpress.RichEdit.Core 23.1.6 can't be found in C:\Program. (The directory doesn't exist.)
Please check the feed definition in your paket.dependencies file.
  ==> Last trial
Total time taken: 0 milliseconds
Paket failed with
-> The package DevExpress.RichEdit.Core 23.1.6 can't be found in C:\Program. (The directory doesn't exist.)
   Please check the feed definition in your paket.dependencies file.
----------
Exception:
----------
ScriptHalted
ScriptHalted
At C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1:14 char:13
+             throw
+             ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

-----------
StackTrace:
-----------
at Approve-LastExitCode<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1: line 14
at Invoke-Script<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Invoke-Script.ps1: line 24
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Invoke-PaketRestore.ps1: line 38
at Get-PaketDependenciesPath<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Get-PaketDependenciesPath.ps1: line 28
at Invoke-PaketRestore<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Invoke-PaketRestore.ps1: line 21
at <ScriptBlock>, D:\apps_sharp\Reactive.XAF\QuickBuild.ps1: line 76
at <ScriptBlock>, <No file>: line 8
ScriptHalted
At C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1:14 char:13
+             throw
+             ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

Can you please help me to fix this error. BTW i am using Windows 11. I found the similar issue in the history but this solution isn't working for me

apobekiaris commented 8 months ago

it is about the space in the path try move your packages to a shorter no space path e.g. # DXApiFeed="C:\dx\Latest"

beneton2003 commented 8 months ago

I created shortcut image

But i am getting another error:

Starting full restore process.
Downloading Polly 7.2.2
Downloading Azure.Core 1.18
Downloading Microsoft.AspNetCore.Server.IIS 2.2
Downloading System.Net.Http 4.3.4
Something went wrong while downloading DevExpress.RichEdit.Core 23.1.6
Message: The package DevExpress.RichEdit.Core 23.1.6 can't be found in D:\apps_sharp\DXApiFeed\. (The directory doesn't exist.)
Please check the feed definition in your paket.dependencies file.
  ==> Trying again
Something went wrong while downloading DevExpress.RichEdit.Core 23.1.6
Message: The package DevExpress.RichEdit.Core 23.1.6 can't be found in D:\apps_sharp\DXApiFeed\. (The directory doesn't exist.)
Please check the feed definition in your paket.dependencies file.
  ==> Last trial
Total time taken: 0 milliseconds
Paket failed with
-> The package DevExpress.RichEdit.Core 23.1.6 can't be found in D:\apps_sharp\DXApiFeed\. (The directory doesn't exist.)
   Please check the feed definition in your paket.dependencies file.
----------
Exception:
----------
ScriptHalted
ScriptHalted
At C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1:14 char:13
+             throw
+             ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

-----------
StackTrace:
-----------
at Approve-LastExitCode<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1: line 14
at Invoke-Script<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Invoke-Script.ps1: line 24
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Invoke-PaketRestore.ps1: line 38
at Get-PaketDependenciesPath<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Get-PaketDependenciesPath.ps1: line 28
at Invoke-PaketRestore<Process>, C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\Nuget\Paket\Invoke-PaketRestore.ps1: line 21
at <ScriptBlock>, D:\apps_sharp\Reactive.XAF\QuickBuild.ps1: line 69
at <ScriptBlock>, <No file>: line 1
ScriptHalted
At C:\Program Files\WindowsPowerShell\Modules\XpandPwsh\1.221.0.10\public\System\Approve-LastExitCode.ps1:14 char:13
+             throw
+             ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted
apobekiaris commented 8 months ago

just copy the files under your C:\Program Files\DevExpress 23.1\Components\System\Components\packages no shortcuts

apobekiaris commented 8 months ago

or use your dx nuget feed if u prefer

beneton2003 commented 8 months ago

I just copied all packages to the folder which not contain spaces. Everything start downloading. But now i am getting error while compiling tests, i will try to resolve it.