locked
.Net standard project does not hide meta files. How to hide them? RRS feed

All replies

  • User48866 posted

    You need to hide those files by adding the following ItemGroup manually in the project file.

              <ItemGroup>
                <None Remove="\PlantMapViewModel.cs"/>
              </ItemGroup>
    
    Wednesday, January 2, 2019 9:55 AM
  • User247716 posted

    thanx @PrabakaranRamasamy for reply.

    Do I have to write it for every file? It never used to happen in PCL.

    and funny thing is that if i remove or delete this meta file, the Visual studio create it again and asks to override earlier file. I am realy fed up of this issue brother.

    Wednesday, January 2, 2019 9:59 AM
  • User48866 posted

    If all the files have the same extension, you can remove exclude it using the extension name, otherwise, you have to add it for each file.

    Remove by extension from all the folders None Remove="*\*.txt"

    "txt" is the extension name.

    Wednesday, January 2, 2019 10:09 AM
  • User247716 posted

    Please provide code snippet.

    Wednesday, January 2, 2019 10:12 AM
  • User48866 posted

    For some reason, the code is not properly formatted, hope you understand it.

    Wednesday, January 2, 2019 10:14 AM