Skip to content

Instantly share code, notes, and snippets.

@sachins360
Created August 24, 2016 11:56
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 sachins360/2459fec99886dae317beecb1ec137806 to your computer and use it in GitHub Desktop.
Save sachins360/2459fec99886dae317beecb1ec137806 to your computer and use it in GitHub Desktop.
Last login: Wed Aug 24 17:01:54 on ttys000
800BC:~ xamarin23$ brew update
Already up-to-date.
800BC:~ xamarin23$ brew install openssl
Warning: openssl-1.0.2h_1 already installed
800BC:~ xamarin23$ ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
800BC:~ xamarin23$ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
800BC:~ xamarin23$ cd /Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample
800BC:XamFormsSample xamarin23$ dotnet new
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% 4007 ms
Expanding 100% 10940 ms
Creating new C# project failed, project already exists.
800BC:XamFormsSample xamarin23$ dotnet restore
log : Restoring packages for /Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/project.json...
log : Writing lock file to disk. Path: /Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/project.lock.json
log : /Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/project.json
log : Restore completed in 487ms.
800BC:XamFormsSample xamarin23$ xbuild XamFormsSample.csproj
XBuild Engine Version 14.0
Mono, Version 4.6.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 8/24/2016 5:23:32 PM.
__________________________________________________
Project "/Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/XamFormsSample.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /Library/Frameworks/Mono.framework/Versions/4.6.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/XamFormsSample.dll /resource:obj/Debug/XamFormsSample.MainPage.xaml /resource:obj/Debug/XamFormsSample.App.xaml App.xaml.cs MainPage.xaml.cs Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:/Users/xamarin23/.nuget/packages/System.Collections/4.0.11/ref/netstandard1.0/System.Collections.dll /reference:/Users/xamarin23/.nuget/packages/System.Collections.Concurrent/4.0.12/ref/netstandard1.1/System.Collections.Concurrent.dll /reference:/Users/xamarin23/.nuget/packages/System.Diagnostics.Debug/4.0.11/ref/netstandard1.0/System.Diagnostics.Debug.dll /reference:/Users/xamarin23/.nuget/packages/System.Diagnostics.Tools/4.0.1/ref/netstandard1.0/System.Diagnostics.Tools.dll /reference:/Users/xamarin23/.nuget/packages/System.Diagnostics.Tracing/4.1.0/ref/netstandard1.1/System.Diagnostics.Tracing.dll /reference:/Users/xamarin23/.nuget/packages/System.Globalization/4.0.11/ref/netstandard1.0/System.Globalization.dll /reference:/Users/xamarin23/.nuget/packages/System.IO/4.1.0/ref/netstandard1.0/System.IO.dll /reference:/Users/xamarin23/.nuget/packages/System.IO.Compression/4.1.0/ref/netstandard1.1/System.IO.Compression.dll /reference:/Users/xamarin23/.nuget/packages/System.Linq/4.1.0/ref/netstandard1.0/System.Linq.dll /reference:/Users/xamarin23/.nuget/packages/System.Linq.Expressions/4.1.0/ref/netstandard1.0/System.Linq.Expressions.dll /reference:/Users/xamarin23/.nuget/packages/System.Net.Http/4.1.0/ref/netstandard1.1/System.Net.Http.dll /reference:/Users/xamarin23/.nuget/packages/System.Net.Primitives/4.0.11/ref/netstandard1.1/System.Net.Primitives.dll /reference:/Users/xamarin23/.nuget/packages/System.ObjectModel/4.0.12/ref/netstandard1.0/System.ObjectModel.dll /reference:/Users/xamarin23/.nuget/packages/System.Reflection/4.1.0/ref/netstandard1.0/System.Reflection.dll /reference:/Users/xamarin23/.nuget/packages/System.Reflection.Extensions/4.0.1/ref/netstandard1.0/System.Reflection.Extensions.dll /reference:/Users/xamarin23/.nuget/packages/System.Reflection.Primitives/4.0.1/ref/netstandard1.0/System.Reflection.Primitives.dll /reference:/Users/xamarin23/.nuget/packages/System.Resources.ResourceManager/4.0.1/ref/netstandard1.0/System.Resources.ResourceManager.dll /reference:/Users/xamarin23/.nuget/packages/System.Runtime/4.1.0/ref/netstandard1.0/System.Runtime.dll /reference:/Users/xamarin23/.nuget/packages/System.Runtime.Extensions/4.1.0/ref/netstandard1.0/System.Runtime.Extensions.dll /reference:/Users/xamarin23/.nuget/packages/System.Runtime.InteropServices/4.1.0/ref/netstandard1.1/System.Runtime.InteropServices.dll /reference:/Users/xamarin23/.nuget/packages/System.Runtime.InteropServices.RuntimeInformation/4.0.0/ref/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll /reference:/Users/xamarin23/.nuget/packages/System.Runtime.Numerics/4.0.1/ref/netstandard1.1/System.Runtime.Numerics.dll /reference:/Users/xamarin23/.nuget/packages/System.Text.Encoding/4.0.11/ref/netstandard1.0/System.Text.Encoding.dll /reference:/Users/xamarin23/.nuget/packages/System.Text.Encoding.Extensions/4.0.11/ref/netstandard1.0/System.Text.Encoding.Extensions.dll /reference:/Users/xamarin23/.nuget/packages/System.Text.RegularExpressions/4.1.0/ref/netstandard1.0/System.Text.RegularExpressions.dll /reference:/Users/xamarin23/.nuget/packages/System.Threading/4.0.11/ref/netstandard1.0/System.Threading.dll /reference:/Users/xamarin23/.nuget/packages/System.Threading.Tasks/4.0.11/ref/netstandard1.0/System.Threading.Tasks.dll /reference:/Users/xamarin23/.nuget/packages/System.Xml.ReaderWriter/4.0.11/ref/netstandard1.0/System.Xml.ReaderWriter.dll /reference:/Users/xamarin23/.nuget/packages/System.Xml.XDocument/4.0.11/ref/netstandard1.0/System.Xml.XDocument.dll /reference:/Users/xamarin23/.nuget/packages/Xamarin.Forms/2.3.1.114/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Core.dll /reference:/Users/xamarin23/.nuget/packages/Xamarin.Forms/2.3.1.114/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Platform.dll /reference:/Users/xamarin23/.nuget/packages/Xamarin.Forms/2.3.1.114/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Xaml.dll /warn:4
App.xaml.cs(14,13): error CS0103: The name `InitializeComponent' does not exist in the current context
MainPage.xaml.cs(14,13): error CS0103: The name `InitializeComponent' does not exist in the current context
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/XamFormsSample.csproj".-- FAILED
Done building project "/Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/XamFormsSample/XamFormsSample/XamFormsSample.csproj".-- FAILED
Build FAILED.
Errors:
/Users/xamarin23/Downloads/SampleXamFormsWithNetStandard-master/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) ->
App.xaml.cs(14,13): error CS0103: The name `InitializeComponent' does not exist in the current context
MainPage.xaml.cs(14,13): error CS0103: The name `InitializeComponent' does not exist in the current context
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:01.2779650
800BC:XamFormsSample xamarin23$ xbuild XamFormsSample.csproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment