7 references to GetDirectivePreamble
aspire (7)
Projects\DotNetAppHostProject.cs (1)
1384
var preamble = FallbackProjectParser.
GetDirectivePreamble
(content);
Projects\FallbackProjectParser.cs (3)
31
=> PackageDirectiveRegex().Matches(
GetDirectivePreamble
(content)).Any(match =>
35
=> SdkDirectiveRegex().IsMatch(
GetDirectivePreamble
(content));
164
var fileContent =
GetDirectivePreamble
(File.ReadAllText(projectFile.FullName));
Projects\ProjectUpdater.cs (3)
1353
var match = SdkDirectiveRegex().Match(FallbackProjectParser.
GetDirectivePreamble
(fileContent));
1392
return LegacyAppHostPackageDirectiveRegex().IsMatch(FallbackProjectParser.
GetDirectivePreamble
(fileContent));
1415
var matches = LegacyAppHostPackageDirectiveRegex().Matches(FallbackProjectParser.
GetDirectivePreamble
(content));