Skip to content

Instantly share code, notes, and snippets.

@Mohit-Kheterpal
Created August 19, 2016 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mohit-Kheterpal/02fbf085a707c5f2d84f5fda13703cb2 to your computer and use it in GitHub Desktop.
Save Mohit-Kheterpal/02fbf085a707c5f2d84f5fda13703cb2 to your computer and use it in GitHub Desktop.
Last login: Fri Aug 19 23:19:33 on ttys001
Xamarin77Macmini:~ xamarin77$ cd Desktop/GIT/SampleXamFormsWithNetStandard/
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$ git clean -xfd
Removing XamFormsSample.userprefs
Removing XamFormsSample/.DS_Store
Removing XamFormsSample/XamFormsSample.iOS/.DS_Store
Removing XamFormsSample/XamFormsSample/bin/
Removing XamFormsSample/XamFormsSample/obj/
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$ git pull
Already up-to-date.
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$ cd XamFormsSample
Xamarin77Macmini:XamFormsSample xamarin77$ cd XamFormsSample
Xamarin77Macmini:XamFormsSample xamarin77$ dotnet restore project.json
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at Interop.CryptoInitializer.EnsureOpenSslInitialized()
at Interop.CryptoInitializer..cctor()
--- End of inner exception stack trace ---
at Interop.Crypto..cctor()
--- End of inner exception stack trace ---
at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num)
at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount)
at System.IO.Path.GetRandomFileName()
at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor()
at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory()
at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor()
at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
Abort trap: 6
Xamarin77Macmini:XamFormsSample xamarin77$ cd ..
Xamarin77Macmini:XamFormsSample xamarin77$ cd ..
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$ xbuild :/tv:14.0
XBuild Engine Version 14.0
Mono, Version 4.6.0.0
Copyright (C) 2005-2013 Various Mono authors
MSBUILD: error MSBUILD0000: Project file ':/tv:14.0' not found.
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$ xbuild /tv:14.0
XBuild Engine Version 14.0
Mono, Version 4.6.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 19-08-2016 23:34:34.
__________________________________________________
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.WinPhone/XamFormsSample.WinPhone.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v12.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.UWP/XamFormsSample.UWP.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v14.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.Windows/XamFormsSample.Windows.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v12.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
Project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Ad-Hoc|Any CPU".
Target Build:
Project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/XamFormsSample.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: AnyCPU
Created directory "bin/Release/"
Created directory "obj/Release/"
Target CopyNonResxEmbeddedResources:
Copying file from '/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/MainPage.xaml' to '/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/obj/Release/XamFormsSample.MainPage.xaml'
Copying file from '/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/App.xaml' to '/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/obj/Release/XamFormsSample.App.xaml'
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /Library/Frameworks/Mono.framework/Versions/4.6.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/XamFormsSample.dll /resource:obj/Release/XamFormsSample.MainPage.xaml /resource:obj/Release/XamFormsSample.App.xaml App.xaml.cs MainPage.xaml.cs Properties/AssemblyInfo.cs obj/Release/.NETPortable,Version=v5.0.AssemblyAttribute.cs /target:library /define:TRACE /nostdlib /warn:4
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/XamFormsSample.csproj".-- FAILED
Done building project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/XamFormsSample.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample.sln".-- FAILED
Done building project "/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample.sln".-- FAILED
Build FAILED.
Warnings:
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.WinPhone/XamFormsSample.WinPhone.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v12.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.UWP/XamFormsSample.UWP.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v14.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample.Windows/XamFormsSample.Windows.csproj: warning : Could not find project file /Library/Frameworks/Mono.framework/External/xbuild/Microsoft/WindowsXaml/v12.0/Microsoft.Windows.UI.Xaml.CSharp.targets, to import. Ignoring.
Errors:
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample.sln (default targets) ->
(Build target) ->
/Users/xamarin77/Desktop/GIT/SampleXamFormsWithNetStandard/XamFormsSample/XamFormsSample/XamFormsSample.csproj (default targets) ->
/Library/Frameworks/Mono.framework/Versions/4.6.0/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
3 Warning(s)
31 Error(s)
Time Elapsed 00:00:01.3139340
Xamarin77Macmini:SampleXamFormsWithNetStandard xamarin77$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment