locked
CS0117 'Path' does not contain a definition for 'Combine', how can solve this? RRS feed

  • Question

  • User311987 posted

    Why comes this error? what should do now?

    Thursday, August 10, 2017 12:50 PM

Answers

  • User311987 posted

    I don't know what is the real solution for this problem. but I could solve that problem copy this code section(package use). using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.Threading; using Android.Webkit; using System.IO; using SQLite; using System.Collections.Generic; using System.Linq; I think sometimes it is helpful beginners likewise me. And also thanks @DeepakDeeps

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, August 15, 2017 11:08 AM

All replies

  • User331858 posted

    @SampathTharanga you must have given wrong namespace for Path.Combine

    Try this System.IO.Path.Combine

    Hope it helps.

    Thursday, August 10, 2017 2:12 PM
  • User311987 posted

    I don't know what is the real solution for this problem. but I could solve that problem copy this code section(package use). using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.Threading; using Android.Webkit; using System.IO; using SQLite; using System.Collections.Generic; using System.Linq; I think sometimes it is helpful beginners likewise me. And also thanks @DeepakDeeps

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, August 15, 2017 11:08 AM