dotnet-campus / SourceYard

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
MIT License
51 stars 12 forks source link

Auto ignore *.Source.SourceProject.props files. #26

Closed walterlv closed 5 years ago

walterlv commented 6 years ago

It's recommended to ignore *.Source.SourceProject.props files automatically.

What you should do is to add a .ignore file with content shown below:

/.gitignore
/*.Source.SourceProject.props

Tips:

  1. The / is necessary for ignoring files in this exact folder instead of ignoring files recursively.
  2. /.ignore is a necessary line to ignore the .ignore file itself.
  3. You should not use .gitignore name for the file, because you can't ignore it in our SourceYard project. This file can only have the target name after packing.
lindexi commented 6 years ago

https://github.com/dotnet-campus/SourceYard/projects/1#card-13415893