Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Task "XamlG"
Using task XamlG from Xamarin.Forms.Build.Tasks.XamlG, Xamarin.Forms.Build.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Sources: MyPage.xaml
Language: C#
AssemblyName: EmbeddedResourcesFails
OutputFiles obj/Debug/MyPage.xaml.g.cs
/Users/alan/Desktop/EmbeddedResourcesFails/packages/Xamarin.Forms.1.3.0.6262-pre0/build/portable-win+net45+wp80+MonoAndroid10+MonoTouch10/Xamarin.Forms.targets: error : Error executing task XamlG: Could not find a part of the path "/Users/alan/Desktop/EmbeddedResourcesFails/obj/Debug/MyPage.xaml.g.cs".
Error executing task XamlG: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/alan/Desktop/EmbeddedResourcesFails/obj/Debug/MyPage.xaml.g.cs".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string)
at Xamarin.Forms.Build.Tasks.XamlG.GenerateCode (System.String rootType, System.String rootNs, System.CodeDom.CodeTypeReference baseType, IDictionary`2 namesAndTypes, System.String outFile) [0x00000] in <filename unknown>:0
at Xamarin.Forms.Build.Tasks.XamlG.GenerateFile (System.String xamlFile, System.String outFile) [0x00000] in <filename unknown>:0
at Xamarin.Forms.Build.Tasks.XamlG.Execute () [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename unknown>:0
Done building target "GenerateXamlG" in project "/Users/alan/Desktop/EmbeddedResourcesFails/EmbeddedResourcesFails.csproj" ("/Users/alan/Desktop/EmbeddedResourcesFails/packages/Xamarin.Forms.1.3.0.6262-pre0/build/portable-win+net45+wp80+MonoAndroid10+MonoTouch10/Xamarin.Forms.targets"); "Compile" depends on it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.