diff --git a/pre_commit/languages/dotnet.py b/pre_commit/languages/dotnet.py
index 3983c6f0..310db3da 100644
--- a/pre_commit/languages/dotnet.py
+++ b/pre_commit/languages/dotnet.py
@@ -57,6 +57,16 @@ def install_environment(
),
)
+ with open(prefix.path('nuget.config'), 'w') as f:
+ f.write(
+ ''
+ ''
+ ' '
+ ' '
+ ' '
+ '',
+ )
+
# Determine tool from the packaged file ..nupkg
build_outputs = os.listdir(os.path.join(prefix.prefix_dir, build_dir))
for output in build_outputs: