You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support multiple dotnet tool manifest locations and update Resharper
- Support both .config/dotnet-tools.json and dotnet-tools.json paths
- Add TryFindConfigFile helper to check multiple locations
- Update Resharper to 2025.3.2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
// Use a named mutex to prevent race conditions when multiple parallel builds
@@ -67,7 +70,7 @@ public bool Install( BuildContext context )
67
70
try
68
71
{
69
72
// 1. Create the dotnet tool manifest.
70
-
if(!File.Exists(configFilePath))
73
+
if(!TryFindConfigFile(outvarconfigFilePath))
71
74
{
72
75
// Use --output to explicitly specify where to create the manifest.
73
76
// Without this, dotnet will skip creation if a manifest exists in a parent directory.
@@ -81,10 +84,11 @@ public bool Install( BuildContext context )
81
84
}
82
85
83
86
// Verify the manifest was created where expected.
84
-
if(!File.Exists(configFilePath))
87
+
if(!TryFindConfigFile(outconfigFilePath))
85
88
{
86
89
context.Console.WriteError(
87
-
$"The 'dotnet new tool-manifest' command succeeded but the manifest was not created at the expected location: '{configFilePath}'. "+
90
+
$"The 'dotnet new tool-manifest' command succeeded but the manifest was not created at the expected locations: '{string.Join(", ",configFilePaths)}'. "
91
+
+
88
92
$"Working directory was: '{baseDirectory}'.");
89
93
90
94
returnfalse;
@@ -166,6 +170,25 @@ public bool Install( BuildContext context )
0 commit comments