eXpandFramework / eXpand

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

How to install Xpand.XAF.ModelEditor #810

Closed janesamanther closed 2 years ago

janesamanther commented 3 years ago

When l install and build i get this error

build\Xpand.XAF.ModelEditor.targets(4,9): error : Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET Copyright (C) Microsoft Corporation. All rights reserved. 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : Determining projects to restore... Paket version 4.8.8 Paket failed with: Could not find 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 'paket.dependencies'. To use Paket with this solution, please run 'paket init' first. If you have already run 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 'paket.init' then ensure that 'paket.dependencies' is located in the top level directory of your repository. Like 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : this: MySourceDir .paket paket.dependencies 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : C:\Users\User44.nuget\packages.paket\Paket.Restore.targets(165,5): error MSB3073: The command 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : ""C:\Users\User44.nuget\packages.paket\paket.exe" restore" exited with code 1. 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : [C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\ModelerLibDownloader\ModellerLibDownloader.csproj] 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : Build FAILED. C:\Users\User44.nuget\packages.paket\Paket.Restore.targets(165,5): error MSB3073: The command 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : ""C:\Users\User44.nuget\packages.paket\paket.exe" restore" exited with code 1. 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : [C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\ModelerLibDownloader\ModellerLibDownloader.csproj] 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 0 Warning(s) 1 Error(s) Time Elapsed 00:00:02.83 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at DownloadDependencies, C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Functions.ps1: line 14 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.ps1: line 51 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , : line 1 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , : line 1 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : At C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.ps1:66 char:5 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : + throw "$rn$($.ScriptStackTrace)" 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : + ~~~~~~~~ 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : + CategoryInfo : OperationStopped: (Microsoft (R) B...o file>: line 1:String) [], RuntimeException 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : + FullyQualifiedErrorId : Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET Copyright (C) Microsoft Cor 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : poration. All rights reserved. Determining projects to restore... Paket version 4.8.8 Paket failed with: 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : Could not find 'paket.dependencies'. To use Paket with this solution, please run 'paket init' first. If you hav 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : e already run 'paket.init' then ensure that 'paket.dependencies' is located in the top level directory of your rep 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : ository. Like this: MySourceDir .paket paket.dependencies C:\Users\User44.nuget\packages.paket\Paket.R 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : estore.targets(165,5): error MSB3073: The command ""C:\Users\User44.nuget\packages.paket\paket.exe" restore" exite 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : d with code 1. [C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\ModelerLibDownloader\ModellerLib 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : Downloader.csproj] Build FAILED. C:\Users\User44.nuget\packages.paket\Paket.Restore.targets(165,5): error MSB307 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 3: The command ""C:\Users\User44.nuget\packages.paket\paket.exe" restore" exited with code 1. [C:\Users\User44.nuge 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : t\packages\xpand.xaf.modeleditor\1.201.6\build\ModelerLibDownloader\ModellerLibDownloader.csproj] 0 Warning(s) 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 1 Error(s) Time Elapsed 00:00:02.83 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at DownloadDependencies, C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Functions.ps1: line 14 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.ps1: lin 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : e 51 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , : line 1 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : at , : line 1 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error : 1>C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.targets(4,9): error MSB3073: The command "powershell.exe โ€“NonInteractive โ€“ExecutionPolicy Unrestricted โ€“command "& { &'C:\Users\User44.nuget\packages\xpand.xaf.modeleditor\1.201.6\build\Xpand.XAF.ModelEditor.ps1' 'D:\dev\solution4\src\solution4.sln' 'D:\dev\solution4\src\solution4\solution4.csproj' 'bin\Debug\net461\' ''} '' " " exited with code 1.

mbogaerts commented 3 years ago

Tried this on clean systemen today and same issue... suggestions

apobekiaris commented 3 years ago

what exactly steps did u tried?

mbogaerts commented 3 years ago

Fresh Windows/Vs install created new 20.2 project installed the model editor nuget package thatโ€™s it

it seems al related to the paket stuff

From: Apostolis Bekiaris notifications@github.com Sent: Monday, 23 November 2020 23:35 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Comment comment@noreply.github.com Subject: Re: [eXpandFramework/eXpand] How to install Xpand.XAF.ModelEditor (#810)

what exactly steps did u tried?

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/810#issuecomment-732465345, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONRO6YFEQPHP5IYXW63SRLPTBANCNFSM4T5X6OOQ.

apobekiaris commented 3 years ago

We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.

  1. โ‡๏ธ Exclusive-Services
    1. โค Bronze Sponsor
    2. โค Sponsor
    3. โค Backer
    4. Installation
    5. ShowStopper
    6. Nuget
    7. Contribution
    8. BreakingChange
    9. ReproSample
    10. Deployment
    11. must-have

This case is prioritized.

mbogaerts commented 3 years ago

Hi Tolis, Any suggestions to get me started?

apobekiaris commented 3 years ago

hmm it more probably the distribution that fails, so cannot suggest much other find why it fails since u have already a repro. The project location is in the Tools folder of https://github.com/eXpandFramework/DevExpress.XAF

mbogaerts commented 3 years ago

It seems some files are missing from the nuget package related to paket (paket.* files)

once I got past that Iโ€™m stuck on

The package DevExpress.WindowsDesktop.XAF.Dashboards.Win 20.2.3-ctp can't be found in C:\DevExpress\20.2\Components\System\Components\Packages.

[cid:image003.jpg@01D6C281.E9E4BD20]

From: Apostolis Bekiaris notifications@github.com Sent: Tuesday, 24 November 2020 15:51 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Comment comment@noreply.github.com Subject: Re: [eXpandFramework/eXpand] How to install Xpand.XAF.ModelEditor (#810)

hmm it more probably the distribution that fails, so cannot suggest much other find why it fails since u have already a repro. The project location is in the Tools folder of https://github.com/eXpandFramework/DevExpress.XAF

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733023102, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONRSD2PMY4IVLEVVPILSRPB53ANCNFSM4T5X6OOQ.

apobekiaris commented 3 years ago

without researching it I cannot help much, why paket is a requirement? you can more easy strip out the source code and build the ModelEditor for you instead of nuget.

On Tue, Nov 24, 2020 at 5:51 PM Michael Bogaerts notifications@github.com wrote:

It seems some files are missing from the nuget package related to paket (paket.* files)

once I got past that Iโ€™m stuck on

The package DevExpress.WindowsDesktop.XAF.Dashboards.Win 20.2.3-ctp can't be found in C:\DevExpress\20.2\Components\System\Components\Packages.

[cid:image003.jpg@01D6C281.E9E4BD20]

From: Apostolis Bekiaris notifications@github.com Sent: Tuesday, 24 November 2020 15:51 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Comment < comment@noreply.github.com> Subject: Re: [eXpandFramework/eXpand] How to install Xpand.XAF.ModelEditor (#810)

hmm it more probably the distribution that fails, so cannot suggest much other find why it fails since u have already a repro. The project location is in the Tools folder of https://github.com/eXpandFramework/DevExpress.XAF

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733023102>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ADCLONRSD2PMY4IVLEVVPILSRPB53ANCNFSM4T5X6OOQ>.

โ€” You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733062567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG52BYVSD6OTJY54BOT23SRPI6VANCNFSM4T5X6OOQ .

-- Apostolis Bekiaris Frameworks Technical Evangelist @ DevExpress Blog @ http://apobekiaris.blogspot.com Skype/twitter: tolisss

mbogaerts commented 3 years ago

Paket is not a requirement for me but its all complaining about the paket stufโ€ฆ

my intention was to get it working otb using the nuget package ๐Ÿ˜Š

[cid:image002.jpg@01D6C283.1DFEA3E0]

From: Apostolis Bekiaris notifications@github.com Sent: Tuesday, 24 November 2020 16:56 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Comment comment@noreply.github.com Subject: Re: [eXpandFramework/eXpand] How to install Xpand.XAF.ModelEditor (#810)

without researching it I cannot help much, why paket is a requirement? you can more easy strip out the source code and build the ModelEditor for you instead of nuget.

On Tue, Nov 24, 2020 at 5:51 PM Michael Bogaerts notifications@github.com<mailto:notifications@github.com> wrote:

It seems some files are missing from the nuget package related to paket (paket.* files)

once I got past that Iโ€™m stuck on

The package DevExpress.WindowsDesktop.XAF.Dashboards.Win 20.2.3-ctp can't be found in C:\DevExpress\20.2\Components\System\Components\Packages.

[cid:image003.jpg@01D6C281.E9E4BD20]

From: Apostolis Bekiaris notifications@github.com<mailto:notifications@github.com> Sent: Tuesday, 24 November 2020 15:51 To: eXpandFramework/eXpand eXpand@noreply.github.com<mailto:eXpand@noreply.github.com> Cc: Michael Bogaerts Michael@3Way.be<mailto:Michael@3Way.be>; Comment < comment@noreply.github.commailto:comment@noreply.github.com> Subject: Re: [eXpandFramework/eXpand] How to install Xpand.XAF.ModelEditor (#810)

hmm it more probably the distribution that fails, so cannot suggest much other find why it fails since u have already a repro. The project location is in the Tools folder of https://github.com/eXpandFramework/DevExpress.XAF

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733023102>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ADCLONRSD2PMY4IVLEVVPILSRPB53ANCNFSM4T5X6OOQ>.

โ€” You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733062567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG52BYVSD6OTJY54BOT23SRPI6VANCNFSM4T5X6OOQ .

-- Apostolis Bekiaris Frameworks Technical Evangelist @ DevExpress Blog @ http://apobekiaris.blogspot.com Skype/twitter: tolisss

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/810#issuecomment-733065791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONQ56XLYOX4AXTBXDQTSRPJSZANCNFSM4T5X6OOQ.

apobekiaris commented 3 years ago

I do not know your status here but I would really recommend the ModelEditor from the VSIX as I have recently refactor it to support netcoreapp3.1, netstandard2.1 projects. Without the VSIX those models will fail, furthermore VSIX does not require XAF installation and can restore ME dependecies from the DX feed directly if found in your global nuget.config

apobekiaris commented 3 years ago

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

expand commented 2 years ago

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.