### VisualStudio ###
# Tool Runtime Dir
-.dotnet/
-.packages/
-.tools/
+# note: there is no trailing slash so if these are symlinks (which are seen as files,
+# instead of directories), git will still ignore them.
+.dotnet
+.dotnet-mono
+.packages
+.tools
# User-specific files
*.suo
msbuild.log
msbuild.err
msbuild.wrn
-msbuild.binlog
+*.binlog
.deps/
.dirstamp
.libs/
*_i.c
*_p.c
-*_i.h
*.ilk
*.meta
*.obj
*.svclog
*.scc
+# Special file
+!src/coreclr/.nuget/_.pdb
+
# Chutzpah Test files
_Chutzpah*
*.metaproj.tmp
bin.localpkg/
+# cscope, tags
+cscope.*
+tags
+
# RIA/Silverlight projects
Generated_Code/
!**/.vscode/c_cpp_properties.json
### MonoDevelop ###
-
-*.pidb
*.userprefs
### Windows ###
*.un~
Session.vim
.netrwhist
-*~
# Visual Studio Code
.vscode/
prime/
stage/
-# CLR prebuilt generated files
-!src/pal/prebuilt/idl/*_i.c
-
# Valid 'debug' folder, that contains CLR debugging code
-!src/debug
+!src/coreclr/debug
# Ignore folders created by the CLR test build
TestWrappers_x64_[d|D]ebug
TestWrappers_arm64_[d|D]ebug
TestWrappers_arm64_[c|C]hecked
TestWrappers_arm64_[r|R]elease
-tests/src/common/test_runtime/project.json
Vagrantfile
.vagrant
CMakeFiles/
cmake_install.cmake
CMakeCache.txt
-Makefile
# Cross compilation
cross/rootfs/*
*.pyc
# JIT32 files
-src/jit32
+jit32
# performance testing sandbox
sandbox
#IL linker for testing
linker
+
+# Symbolic link for the shared portion of CoreLib to make grep/findstr work for runtime devs
+#
+# On Windows, make your own by running these commands from the repo root:
+# mklink /D src\coreclr\System.Private.CoreLib\shared %CD%\src\libraries\System.Private.CoreLib\src
+# mklink /D src\coreclr\System.Private.CoreLib\common %CD%\src\libraries\Common\src
+#
+# On Unix, make your own by running these commands from the repo root:
+# ln -s $(pwd)/src/libraries/System.Private.CoreLib/src src/coreclr/System.Private.CoreLib/shared
+# ln -s $(pwd)/src/libraries/Common/src src/coreclr/System.Private.CoreLib/common
+src/coreclr/System.Private.CoreLib/shared
+src/coreclr/System.Private.CoreLib/common
+
+# Exceptions to the exclusions
+!src/coreclr/.nuget/_.pdb
+!src/coreclr/inc/obj/
+!src/coreclr/vm/.vscode/
+!src/coreclr/vm/.vscode/c_cpp_properties.json