DEV Community

Cover image for .NET Core project .gitignore file
Alexandre Freire
Alexandre Freire

Posted on • Updated on

.NET Core project .gitignore file

A default .NET Core project .gitignore file - or just type dotnet new gitignore. By github.com/vmandic

# From .NET Core 3.0 you can use the command: `dotnet new gitignore` to generate a customizable .gitignore file

*.swp
*.*~
project.lock.json
.DS_Store
*.pyc

# Visual Studio Code
.vscode

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
msbuild.log
msbuild.err
msbuild.wrn

# Visual Studio 2015
.vs/
Enter fullscreen mode Exit fullscreen mode

Top comments (0)