Giter VIP home page Giter VIP logo

jrg-xamarin-experiments's Introduction

Readme

Experiments

XamlSamples

Adapted from https://github.com/jsuarezruiz/xamarin-forms-gtk-samples/tree/master/XamlSamples.

$ cd XamlSamples
$ dotnet restore
$ msbuild
$ mono ./XamlSamples.GTK/bin/Debug/net452/XamlSamples.GTK.exe

Omnisharp XamlCTask failure

[fail]: OmniSharp.MSBuild.ProjectLoader
        The "XamlCTask" task could not be instantiated from "~/.nuget/packages/xamarin.forms/3.0.0.446417/build/netstandard1.0/Xamarin.Forms.Build.Tasks.dll". 
System.IO.FileNotFoundException: Could not load the file 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
File name: 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, System.Boolean refonly, System.Threading.StackCrawlMark& stackMark) [0x00016] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.AppDomain.Load (System.String assemblyString) [0x00002] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00005] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.Runtime.Serialization.FormatterServices.LoadAssemblyFromString (System.String assemblyName) [0x00000] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.Reflection.MemberInfoSerializationHolder..ctor (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x0002a] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <76de7e475ebf461fa70313315a8e1a25>:0 
[fail]: OmniSharp.MSBuild.ProjectLoader
        The "XamlCTask" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '~/dev/jrg-xamarin-experiments/XamlSamples/XamlSamples.GTK/XamlSamples.GTK.csproj'.
~/dev/jrg-xamarin-experiments/XamlSamples/XamlSamples.GTK/XamlSamples.GTK.csproj
~/.nuget/packages/xamarin.forms/3.0.0.446417/build/netstandard1.0/Xamarin.Forms.targets(92,3): Error: The "XamlCTask" task could not be instantiated from "~/.nuget/packages/xamarin.forms/3.0.0.446417/build/netstandard1.0/Xamarin.Forms.Build.Tasks.dll". 
System.IO.FileNotFoundException: Could not load the file 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
File name: 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, System.Boolean refonly, System.Threading.StackCrawlMark& stackMark) [0x00016] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.AppDomain.Load (System.String assemblyString) [0x00002] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00005] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.Runtime.Serialization.FormatterServices.LoadAssemblyFromString (System.String assemblyName) [0x00000] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at System.Reflection.MemberInfoSerializationHolder..ctor (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x0002a] in <76de7e475ebf461fa70313315a8e1a25>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <76de7e475ebf461fa70313315a8e1a25>:0 
~/.nuget/packages/xamarin.forms/3.0.0.446417/build/netstandard1.0/Xamarin.Forms.targets(92,3): Error: The "XamlCTask" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.

[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: ~/dev/jrg-xamarin-experiments/XamlSamples/XamlSamples.GTK/XamlSamples.GTK.csproj

Issues

Nipkgs

Rep

Oudated mono

Broken monodevelop

jrg-xamarin-experiments's People

Contributors

jraygauthier avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.