Closed volokos closed 9 months ago
delete all files from your bin and recompile
I deleted bin, obj folder, rebuild project and still have this problem. B.T.W. i see that in \Roaming\Xpand.XAF.ModelEditor.Win\Xpand.XAF.ModelEditor.Win folder all devexpress dll is 22.1 version. Is this ok?
for some reason ME did not upgrade it self this is done automatically by checking the contants of your C:\Users\Tolis\AppData\Roaming\Xpand.XAF.ModelEditor.Win\ to match the version of your project. So you cna try remoing all contents of C:\Users\Tolis\AppData\Roaming\Xpand.XAF.ModelEditor.Win\
if it persistnt you can also try configure the download sources. When ME opens the list of models there is a configure button whiche will allow u to se the ME download source Application/ModelEditor.
Also make sure your project does not reference by mistake any older version. You can look the DX versions on the bin after compile with ME run, there should be no older version there
or you can add the files from the the online repo manually delete the C:\Users\Tolis\AppData\Roaming\Xpand.XAF.ModelEditor.Win\ contents and add them from https://github.com/eXpandFramework/Reactive.XAF/releases/download/untagged-72017c7c694c6db0c95f/Xpand.XAF.ModelEditor.WinDesktop.zip
I use the lab versions locally but this shouldn't be the issues
So if i add content from https://github.com/eXpandFramework/Reactive.XAF/releases/download/4.222.1.1/Xpand.XAF.ModelEditor.WinDesktop.zip i'm getting error:
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Users\aleksandrs\AppData\Roaming\Xpand.XAF.ModelEditor.Win\\Xpand.XAF.ModelEditor.Win\Xpand.XAF.ModelEditor.Win.exe' with working directory 'C:\Program Files\JetBrains\JetBrains Rider 2022.1.2\jbr\bin'. The system cannot find the file specified. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(String fileName) at ModelEditor.XpandModelEditor.StartMEAsync() in C:\Work\Reactive.XAF\tools\Xpand.XAF.ModelEditor\IDE\XpandModelEditor.cs:line 34 at ReSharperPlugin.Xpand.XpandModelEditorAction.Execute(IDataContext context, DelegateExecute nextExecute) in C:\Work\Reactive.XAF\tools\Xpand.XAF.ModelEditor\IDE\Rider\src\dotnet\ReSharperPlugin.Xpand\XpandModelEditorAction.cs:line 34
because there is Xpand.XAF.ModelEditor.WinDesktop.exe file
maybe i need update rider extension?
hmm there is an issue on this
ME works with Rider 22.2.4 currently and not the latest Rider
BTW why you suggest me to try Xpand.XAF.ModelEditor.WinDesktop.exe but rider try to load Xpand.XAF.ModelEditor.Win.exe?
missuderstand sorry, there are two apps one acts as bootstrapper to load the second app. The first app the bootstrapper is XAF version agnostic and download the version dependent from the online repo.
In releases page of repo i see only platform dependent version of ModelEditor
the bootstrapper is embedded in the Rider plugin
when plugin starts it extracts and saves locally if not exists.
attaching all contents of my C:\Users\Tolis\AppData\Roaming\Xpand.XAF.ModelEditor.Win\ in case u wanna try them as is
https://e1.pcloud.link/publink/show?code=XZqafmZTO8xGsYMD2V3DiahJAmjxpbijHyy
there are many versions i just let them in
let me know so I can remove the link once u got it
Thanks, i will try
So, i'm getting this error on me loading now: The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\Projects\VolokosFramework\VolokosFramework.Win\VolokosFramework.Win.csproj
do u use the new SDK format on your csproj file?
Project Sdk="Microsoft.NET.Sdk" in csproj
and in global.json
{ "sdk": { "version": "6.0.0", "rollForward": "latestMajor", "allowPrerelease": true } }
The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\Projects\VolokosFramework\VolokosFramework.Win\VolokosFramework.Win.csproj
screenshot me how do u get this?
can u also share the top 10 lines of your csproj?
`0.01.23 17:19:23.392 Window closing: 10.01.23 17:19:23.393 Window closed: Xpand.XAF.ModelEditor.Win Error: 0 : 10.01.23 17:19:23.418 ================================================================================ The error occurred:
Type: InvalidProjectFileException
Message: The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\Projects\VolokosFramework\VolokosFramework.Win\VolokosFramework.Win.csproj
Data: 0 entries
Stack trace:
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List
1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
at Microsoft.Build.Evaluation.Evaluator4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult) at Microsoft.Build.Evaluation.Evaluator
4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport) at Microsoft.Build.Evaluation.Evaluator
4.Evaluate()
at Microsoft.Build.Evaluation.Evaluator4.Evaluate(IEvaluatorData
4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary1 environmentProperties, ILoggingService loggingService, IItemFactory
2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary
2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary2 globalProperties, String toolsVersion) at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, String toolsVersion) at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName) at Xpand.XAF.ModelEditor.Module.Win.MSBuildExtensions.<>c__DisplayClass1_0.<Projects>b__1(ProjectInSolution projectInSolution) in C:\Work\Reactive.XAF\tools\Xpand.XAF.ModelEditor\IDE\ModelEditor.Win\Xpand.XAF.ModelEditor.Module.Win\MSBuildExtensions.cs:line 23 at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Reactive.Linq.ObservableImpl.SelectMany
2.EnumerableSelector..OnNext(TSource value) in //Rx.NET/Source/src/System.Reactive/Linq/Observable/SelectMany.cs:line 1361
InnerException is null
`
`
looks like MSBuild framework has some issues and wondered if u used the unsupport non SDK format it looks fine. Can you try it in a non exe project also can u try it in a empty project as produced from the Xaf solution wizard
check Xpand ME version >22.2.4 not out yet
The pre-release 4.222.2.0 in the Reactive.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
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 these packages 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.
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
Cannot open xpand modeleditor after project upgrade to 22.2.3. I got error 'Multiple DevExpress versions found in \bin\debug' in rider