Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Controll examples are semi-working on Linux #13

Open
5 of 12 tasks
srdjanmarjanovic opened this issue May 7, 2021 · 1 comment
Open
5 of 12 tasks

Controll examples are semi-working on Linux #13

srdjanmarjanovic opened this issue May 7, 2021 · 1 comment

Comments

@srdjanmarjanovic
Copy link

srdjanmarjanovic commented May 7, 2021

I have cloned this repository and used Visual Studio Code to build it with CTRL + F5.
Some categories are working as expected, some are not working at all.
The situation is as following:

  • Overview
  • Basic Input
  • Collections
  • Date And Time
  • Layout
  • Media
  • Menus
  • Navigation
  • Scrolling
  • Status and Info
  • Styles
  • Text

Here's the OmniSharp Log from output:

Starting OmniSharp server at 5/7/2021, 3:59:02 PM
    Target: /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.sln

OmniSharp server started.
    Path: /home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/run
    PID: 223717

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on pop 20.10 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.9.0 - "/home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.9.0 - "/home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin
            CscToolPath = /home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/home/srdjan/Projects/Private/csharp/XamlControlsGallery'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery/XamlControlsGallery.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.NetCore/XamlControlsGallery.NetCore.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/home/srdjan/Projects/Private/csharp/XamlControlsGallery'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/home/srdjan/Projects/Private/csharp/XamlControlsGallery' on host 223391.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj'.
/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "/home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Confirm that the expression in the Import declaration "/home/srdjan/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets" is correct, and that the file exists on disk.  /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1,T2] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0, T2 arg1) [0x00003] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1,T2] (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0, T2 arg1) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpression (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.String unescapedExpression, System.Boolean throwOnFileNotExistsError, System.Collections.Generic.List`1[Microsoft.Build.Construction.ProjectRootElement]& imports) [0x0068b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpressionConditioned (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.Collections.Generic.List`1[Microsoft.Build.Construction.ProjectRootElement]& projects, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult, System.Boolean throwOnFileNotExistsError) [0x003d2] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult) [0x00027] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate () [0x00139] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData`4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary`1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory`2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCacheBase projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext, System.Boolean interactive) [0x00047] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00063] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00035] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00007] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Initialize (System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00127] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00073] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion) [0x000f7] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.String toolsVersion) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] projectConfigurationsInSolution) [0x00160] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectLoader.BuildProject (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] configurationsInSolution) [0x0000d] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectIdInfo projectIdInfo, OmniSharp.MSBuild.ProjectLoader loader, System.Guid sessionId, OmniSharp.Services.DotNetInfo dotNetInfo) [0x00023] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass31_0.<LoadProject>b__0 () [0x00000] in <8fe908208c34498399bee743e9537395>:0 
  at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`3[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray`1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic],OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs]].invoke_TResult()
  at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func`1[TResult] loader) [0x0001b] in <8fe908208c34498399bee743e9537395>:0 

[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery/XamlControlsGallery.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery/XamlControlsGallery.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery/XamlControlsGallery.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.NetCore/XamlControlsGallery.NetCore.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.NetCore/XamlControlsGallery.NetCore.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlsGallery.NetCore/XamlControlsGallery.NetCore.csproj'
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: /home/srdjan/Projects/Private/csharp/XamlControlsGallery/XamlControlGallery.iOS/XamlControlGallery.iOS.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: XamlControlsGallery
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: XamlControlsGallery.NetCore
@maxkatz6
Copy link
Member

maxkatz6 commented May 7, 2021

These pages are empty. Duplicate of #10

For complete control examples take a look at ControlCatalog:
https://github.com/AvaloniaUI/Avalonia/tree/master/samples/ControlCatalog.NetCore

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants