Skip to content

Commit 401a1a2

Browse files
committed
Throw exception if a solution reference a not exist csproj.
1 parent 1a0e49c commit 401a1a2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Network/Network.sln

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KeyVault", "..\KeyVault\Key
4242
EndProject
4343
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Compute.Helpers", "..\Compute\Compute.Helpers\Compute.Helpers.csproj", "{52CDB340-C4E6-40AD-A85A-9206DEF7B3CA}"
4444
EndProject
45-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ContainerInstance", "..\ContainerInstance\ContainerInstance\ContainerInstance.csproj", "{0E11B67A-1257-40D0-BD33-8315759FDB01}"
46-
EndProject
4745
Global
4846
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4947
Debug|Any CPU = Debug|Any CPU

tools/CreateFilterMappings.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function Add-CsprojMappings
295295
}
296296
else
297297
{
298-
Throw "${ProjectNameFromSolution}: $ReferencedProject is not found!"
298+
Throw "${ProjectNameFromSolution}: $ReferencedProject.csproj is not found!"
299299
}
300300
}
301301
}

0 commit comments

Comments
 (0)