find unused files in solution folders

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrus

    find unused files in solution folders

    C# 2008 Express folder tree for one solution contains .cs and other files
    which are not referenced by solution.

    How to find those dangling files ?

    There are large number of files and folder is solution so manual compare
    takes very long time.

    Andrus.

  • Ashutosh Bhawasinka

    #2
    Re: find unused files in solution folders

    Sometimes I follow this method (it's not a good one, but it works):

    Add the project to VSS using the Visual Studio. Move all files to
    another folder. Get all the files from VSS, do Re-build all in both
    debug & release mode. If it is successful, then you already done with
    it....if it gives any file error, copy from the moved location....

    Thanks & Regards,
    Ashutosh

    Andrus wrote:
    C# 2008 Express folder tree for one solution contains .cs and other
    files which are not referenced by solution.
    >
    How to find those dangling files ?
    >
    There are large number of files and folder is solution so manual
    compare takes very long time.
    >
    Andrus.

    Comment

    • Andrus

      #3
      Re: find unused files in solution folders

      Sometimes I follow this method (it's not a good one, but it works):
      >
      Add the project to VSS using the Visual Studio. Move all files to
      another folder. Get all the files from VSS, do Re-build all in both
      debug & release mode. If it is successful, then you already done with
      it....if it gives any file error, copy from the moved location....
      I use C# 2008 Express
      How this method can be used with Express ?

      Andrus.

      Comment

      • Ashutosh Bhawasinka

        #4
        Re: find unused files in solution folders

        If you don't have VSS then forget it. I am not sure if Express edition
        allows you to check in the files.

        Andrus wrote:
        >Sometimes I follow this method (it's not a good one, but it works):
        >>
        >Add the project to VSS using the Visual Studio. Move all files to
        >another folder. Get all the files from VSS, do Re-build all in both
        >debug & release mode. If it is successful, then you already done with
        >it....if it gives any file error, copy from the moved location....
        >
        I use C# 2008 Express How this method can be used with Express ?
        >
        Andrus.

        Comment

        Working...