8 references to FindMsBuildProject
dotnet-user-secrets (2)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
37projectFile = finder.FindMsBuildProject(project);
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
82return finder.FindMsBuildProject(name);
Microsoft.Extensions.SecretManager.Tools.Tests (6)
MsBuildProjectFinderTest.cs (6)
25Assert.Equal(Path.Combine(files.Root, filename), finder.FindMsBuildProject(null)); 36Assert.Throws<FileNotFoundException>(() => finder.FindMsBuildProject(null)); 48Assert.Throws<FileNotFoundException>(() => finder.FindMsBuildProject(null)); 61Assert.Throws<FileNotFoundException>(() => finder.FindMsBuildProject(null)); 72Assert.Throws<FileNotFoundException>(() => finder.FindMsBuildProject("test.csproj")); 82Assert.Throws<FileNotFoundException>(() => finder.FindMsBuildProject(null));