Skip to content

Commit 544efd1

Browse files
committed
Use source generators to compile .razor files
1 parent f7e1712 commit 544efd1

File tree

57 files changed

+1276
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1276
-967
lines changed

AspNetCore.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Signal
15471547
EndProject
15481548
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testassets", "testassets", "{BB3D6EDD-AE71-4D25-B61B-7EBF7A1BA1D1}"
15491549
EndProject
1550+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorSourceGenerators", "src\Razor\SourceGenerator\src\RazorSourceGenerators.csproj", "{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}"
1551+
EndProject
15501552
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Analyzer.Testing", "src\Analyzers\Microsoft.AspNetCore.Analyzer.Testing\src\Microsoft.AspNetCore.Analyzer.Testing.csproj", "{399EF81E-C3B5-4D86-8BF1-DC7926252A63}"
15511553
EndProject
15521554
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Caching", "Caching", "{0F39820F-F4A5-41C6-9809-D79B68F032EF}"
@@ -7447,6 +7449,18 @@ Global
74477449
{399EF81E-C3B5-4D86-8BF1-DC7926252A63}.Release|x64.Build.0 = Release|Any CPU
74487450
{399EF81E-C3B5-4D86-8BF1-DC7926252A63}.Release|x86.ActiveCfg = Release|Any CPU
74497451
{399EF81E-C3B5-4D86-8BF1-DC7926252A63}.Release|x86.Build.0 = Release|Any CPU
7452+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
7453+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|Any CPU.Build.0 = Debug|Any CPU
7454+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|x64.ActiveCfg = Debug|Any CPU
7455+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|x64.Build.0 = Debug|Any CPU
7456+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|x86.ActiveCfg = Debug|Any CPU
7457+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Debug|x86.Build.0 = Debug|Any CPU
7458+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|Any CPU.ActiveCfg = Release|Any CPU
7459+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|Any CPU.Build.0 = Release|Any CPU
7460+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|x64.ActiveCfg = Release|Any CPU
7461+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|x64.Build.0 = Release|Any CPU
7462+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|x86.ActiveCfg = Release|Any CPU
7463+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36}.Release|x86.Build.0 = Release|Any CPU
74507464
{4FB95E16-918B-49C1-9F65-49D07CDE072C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
74517465
{4FB95E16-918B-49C1-9F65-49D07CDE072C}.Debug|Any CPU.Build.0 = Debug|Any CPU
74527466
{4FB95E16-918B-49C1-9F65-49D07CDE072C}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -8305,6 +8319,7 @@ Global
83058319
{C1CDD339-B51B-42BE-99F2-F39A4EC0D404} = {BB3D6EDD-AE71-4D25-B61B-7EBF7A1BA1D1}
83068320
{BB3D6EDD-AE71-4D25-B61B-7EBF7A1BA1D1} = {1A304CA0-7795-4684-88E5-E66402966927}
83078321
{399EF81E-C3B5-4D86-8BF1-DC7926252A63} = {05A169C7-4F20-4516-B10A-B13C5649D346}
8322+
{1822B2E7-2B15-44DA-BD6C-CF3DF66F3E36} = {DA9E1AB0-0094-4777-BF3F-BC5596C3CDA9}
83088323
{0F39820F-F4A5-41C6-9809-D79B68F032EF} = {017429CC-C5FB-48B4-9C46-034E29EE2F06}
83098324
{8DFA596B-BD00-404E-9445-BCFAC65BDC34} = {017429CC-C5FB-48B4-9C46-034E29EE2F06}
83108325
{4FB95E16-918B-49C1-9F65-49D07CDE072C} = {8DFA596B-BD00-404E-9445-BCFAC65BDC34}

eng/ProjectReferences.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<ProjectReferenceProvider Include="Microsoft.NET.Sdk.Razor" ProjectPath="$(RepoRoot)src\Razor\Microsoft.NET.Sdk.Razor\src\Microsoft.NET.Sdk.Razor.csproj" />
107107
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Razor.Runtime" ProjectPath="$(RepoRoot)src\Razor\Razor.Runtime\src\Microsoft.AspNetCore.Razor.Runtime.csproj" />
108108
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Razor" ProjectPath="$(RepoRoot)src\Razor\Razor\src\Microsoft.AspNetCore.Razor.csproj" />
109+
<ProjectReferenceProvider Include="RazorSourceGenerators" ProjectPath="$(RepoRoot)src\Razor\SourceGenerator\src\RazorSourceGenerators.csproj" />
109110
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.Abstractions" ProjectPath="$(RepoRoot)src\Mvc\Mvc.Abstractions\src\Microsoft.AspNetCore.Mvc.Abstractions.csproj" />
110111
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.ApiExplorer" ProjectPath="$(RepoRoot)src\Mvc\Mvc.ApiExplorer\src\Microsoft.AspNetCore.Mvc.ApiExplorer.csproj" />
111112
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.Core" ProjectPath="$(RepoRoot)src\Mvc\Mvc.Core\src\Microsoft.AspNetCore.Mvc.Core.csproj" />

eng/Versions.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
</PropertyGroup>
192192
<PropertyGroup Label="Manual">
193193
<!-- Packages from dotnet/roslyn -->
194-
<MicrosoftNetCompilersToolsetVersion>3.8.0-5.20519.18</MicrosoftNetCompilersToolsetVersion>
194+
<MicrosoftNetCompilersToolsetPackageVersion>3.9.0-2.20521.12</MicrosoftNetCompilersToolsetPackageVersion>
195195
<!-- DiagnosticAdapter package pinned temporarily until migrated/deprecated -->
196196
<MicrosoftExtensionsDiagnosticAdapterVersion>5.0.0-preview.4.20180.4</MicrosoftExtensionsDiagnosticAdapterVersion>
197197
<!-- Build tool dependencies -->
@@ -220,9 +220,9 @@
220220
<MicrosoftBuildFrameworkVersion>15.8.166</MicrosoftBuildFrameworkVersion>
221221
<MicrosoftBuildLocatorVersion>1.2.6</MicrosoftBuildLocatorVersion>
222222
<MicrosoftBuildUtilitiesCoreVersion>15.8.166</MicrosoftBuildUtilitiesCoreVersion>
223-
<MicrosoftCodeAnalysisCommonVersion>3.7.0</MicrosoftCodeAnalysisCommonVersion>
224-
<MicrosoftCodeAnalysisCSharpVersion>3.7.0</MicrosoftCodeAnalysisCSharpVersion>
225-
<MicrosoftCodeAnalysisCSharpWorkspacesVersion>3.7.0</MicrosoftCodeAnalysisCSharpWorkspacesVersion>
223+
<MicrosoftCodeAnalysisCommonVersion>3.8.0</MicrosoftCodeAnalysisCommonVersion>
224+
<MicrosoftCodeAnalysisCSharpVersion>3.8.0</MicrosoftCodeAnalysisCSharpVersion>
225+
<MicrosoftCodeAnalysisCSharpWorkspacesVersion>3.8.0</MicrosoftCodeAnalysisCSharpWorkspacesVersion>
226226
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.3.0</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
227227
<MicrosoftCodeAnalysisFxCopAnalyzersVersion>3.0.0</MicrosoftCodeAnalysisFxCopAnalyzersVersion>
228228
<MicrosoftCssParserVersion>1.0.0-20200708.1</MicrosoftCssParserVersion>

eng/Workarounds.targets

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@
2121
'$(GenerateRazorAssemblyInfo)' == 'true'" />
2222
</ItemGroup>
2323

24-
<!-- Workaround https://github.com/dotnet/aspnetcore/issues/7503. This chains GenerateSourceLinkFile before razor component targets run. -->
25-
<!-- Workaround https://github.com/dotnet/source-build/issues/1112. Source link is currently disabled in source build so do not apply this worksaround. -->
26-
<Target Condition="'$(DotNetBuildFromSource)' != 'true'"
27-
Name="_EnsureSourceLinkHappensBeforeRazorComponentGeneration"
28-
BeforeTargets="PrepareForRazorComponentGenerate"
29-
DependsOnTargets="GenerateSourceLinkFile" />
30-
3124
<!-- Workaround https://github.com/dotnet/source-build/issues/1112. Source link is currently disabled in source build so define this dummy target which is required for pack. -->
3225
<Import Condition="'$(DotNetBuildFromSource)' == 'true'" Project="WorkaroundsImported.targets" />
3326

src/Identity/UI/src/Microsoft.AspNetCore.Identity.UI.csproj

Lines changed: 4 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageTags>aspnetcore;identity;membership;razorpages</PackageTags>
99
<ProvideApplicationPartFactoryAttributeTypeName>Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory, Microsoft.AspNetCore.Mvc.Core</ProvideApplicationPartFactoryAttributeTypeName>
10-
<RazorCompileOnBuild>false</RazorCompileOnBuild>
11-
<RazorCompileOnPublish>false</RazorCompileOnPublish>
1210
<EnableDefaultRazorGenerateItems>false</EnableDefaultRazorGenerateItems>
13-
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
1411
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
12+
<RazorTargetName>Microsoft.AspNetCore.Identity.UI.Views.V4</RazorTargetName>
1513

1614
<DisableStaticWebAssetsBuildPropsFileGeneration>true</DisableStaticWebAssetsBuildPropsFileGeneration>
1715
<StaticWebAssetsDisableProjectBuildPropsFileGeneration>true</StaticWebAssetsDisableProjectBuildPropsFileGeneration>
@@ -21,9 +19,7 @@
2119
_UpdatedIdentityUIStaticWebAssets
2220
</GetCurrentProjectStaticWebAssetsDependsOn>
2321

24-
<IdentityUIFrameworkVersion Condition="'$(IdentityUIFrameworkVersion)' == ''">Bootstrap4</IdentityUIFrameworkVersion>
2522
<PackageThirdPartyNoticesFile>$(MSBuildThisFileDirectory)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
26-
2723
</PropertyGroup>
2824

2925
<ItemGroup>
@@ -47,113 +43,22 @@
4743
<SuppressBaselineReference Include="Newtonsoft.Json" />
4844
</ItemGroup>
4945

50-
<ItemGroup>
51-
<UIFrameworkVersionMoniker Include="V4" />
52-
</ItemGroup>
53-
54-
<ItemGroup>
55-
<Folder Include="build\" />
56-
</ItemGroup>
57-
58-
<!-- Source build doesn't build this package -->
59-
<Target Name="BuildRazorViews" DependsOnTargets="Compile" BeforeTargets="Build" Condition="'$(DotNetBuildFromSource)' != 'true'">
60-
<Message Text="Building razor views assemblies" Importance="High" />
61-
<MSbuild Projects="$(MSBuildThisFile)"
62-
Targets="BuildForUI"
63-
Properties="
64-
BuildProjectReferences=false;
65-
RazorCompileOnBuild=true;
66-
UIFrameworkVersion=%(UIFrameworkVersionMoniker.Identity);
67-
IntermediateOutputPath=$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\;" />
68-
69-
<Copy
70-
SourceFiles="$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).dll"
71-
DestinationFolder="$(OutDir)"
72-
SkipUnchangedFiles="$(SkipCopyUnchangedFiles)"
73-
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
74-
Retries="$(CopyRetryCount)"
75-
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
76-
UseHardlinksIfPossible="$(CreateHardLinksForCopyFilesToOutputDirectoryIfPossible)"
77-
UseSymboliclinksIfPossible="$(CreateSymbolicLinksForCopyFilesToOutputDirectoryIfPossible)">
78-
79-
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
80-
<Output TaskParameter="DestinationFiles" ItemName="_RazorAssembly"/>
81-
82-
</Copy>
83-
84-
<Copy
85-
SourceFiles="$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).pdb"
86-
DestinationFolder="$(OutDir)"
87-
SkipUnchangedFiles="$(SkipCopyUnchangedFiles)"
88-
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
89-
Retries="$(CopyRetryCount)"
90-
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
91-
UseHardlinksIfPossible="$(CreateHardLinksForCopyFilesToOutputDirectoryIfPossible)"
92-
UseSymboliclinksIfPossible="$(CreateSymbolicLinksForCopyFilesToOutputDirectoryIfPossible)">
93-
94-
<Output TaskParameter="DestinationFiles" ItemName="FileWrites" />
95-
</Copy>
96-
97-
<Message Importance="High" Text="$(MSBuildProjectName) -&gt; %(_RazorAssembly.FullPath)" />
98-
99-
</Target>
100-
101-
<PropertyGroup>
102-
<RazorTargetName>Microsoft.AspNetCore.Identity.UI.Views.$(UIFrameworkVersion)</RazorTargetName>
103-
</PropertyGroup>
104-
105-
<Target Name="SetupRazorInputs">
46+
<Target Name="SetupRazorInputs" BeforeTargets="ResolveRazorGenerateInputs">
10647
<ItemGroup>
107-
<_RazorGenerate Include="Areas\Identity\Pages\$(UIFrameworkVersion)\**\*.cshtml" />
48+
<_RazorGenerate Include="Areas\Identity\Pages\V4\**\*.cshtml" />
10849

10950
<RazorGenerate Include="@(_RazorGenerate)" Link="Areas\Identity\Pages\%(RecursiveDir)%(Filename)%(Extension)" />
11051
</ItemGroup>
11152
</Target>
11253

113-
<Target Name="BuildForUI" DependsOnTargets="SetupRazorInputs;RazorCompile" />
114-
115-
<Target Name="_GetRazorDlls" BeforeTargets="GetCopyToOutputDirectoryItems">
116-
117-
<ItemGroup>
118-
<_GeneratedRazorViews Include="$(TargetDir)$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).dll" />
119-
<_GeneratedRazorViews Include="$(TargetDir)$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).pdb" />
120-
121-
<AllItemsFullPathWithTargetPath Include="%(_GeneratedRazorViews.FullPath)">
122-
<TargetPath>%(FileName)%(Extension)</TargetPath>
123-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
124-
</AllItemsFullPathWithTargetPath>
125-
</ItemGroup>
126-
</Target>
127-
128-
<Target Name="_AddRazorDlls" BeforeTargets="BuiltProjectOutputGroup">
129-
<ItemGroup>
130-
<BuiltProjectOutputGroupOutput Include="$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).dll" />
131-
</ItemGroup>
132-
</Target>
133-
134-
<Target Name="_AddRazorPdbs" BeforeTargets="DebugSymbolsProjectOutputGroup">
135-
<ItemGroup>
136-
<DebugSymbolsProjectOutputGroupOutput Include="$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).pdb" />
137-
</ItemGroup>
138-
</Target>
139-
140-
<!-- Source build doesn't build this package -->
141-
<Target Name="VerifyBuildOutputs" AfterTargets="BuildRazorViews" Condition="'$(DotNetBuildFromSource)' != 'true'">
142-
<ItemGroup>
143-
<ExpectedOutputFile Include="$(TargetDir)Microsoft.AspNetCore.Identity.UI.Views.V4.dll" />
144-
</ItemGroup>
145-
146-
<Error Text="Unable to find precompiled view file %(ExpectedOutputFile.Identity)" Condition="!Exists('%(ExpectedOutputFile.Identity)')" />
147-
</Target>
148-
14954
<Target Name="_UpdatedIdentityUIStaticWebAssets">
15055

15156
<ItemGroup>
15257
<StaticWebAsset Remove="@(StaticWebAsset)" />
15358

15459
<_V4Content Include="wwwroot\V4\**" />
15560

156-
<StaticWebAsset Include="@(_V4Content->'%(FullPath)')" Condition="'$(IdentityUIFrameworkVersion)' == 'Bootstrap4'">
61+
<StaticWebAsset Include="@(_V4Content->'%(FullPath)')">
15762
<SourceType></SourceType>
15863
<SourceId>Microsoft.AspNetCore.Identity.UI</SourceId>
15964
<ContentRoot>$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)wwwroot/V4'))</ContentRoot>

src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/ViewComponentTagHelperDescriptorProvider.cs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
@@ -38,16 +38,21 @@ public void Execute(TagHelperDescriptorProviderContext context)
3838
var types = new List<INamedTypeSymbol>();
3939
var visitor = new ViewComponentTypeVisitor(vcAttribute, nonVCAttribute, types);
4040

41-
// We always visit the global namespace.
42-
visitor.Visit(compilation.Assembly.GlobalNamespace);
41+
if ((context.DiscoveryMode & TagHelperDiscoveryMode.CurrentAssembly) == TagHelperDiscoveryMode.CurrentAssembly)
42+
{
43+
visitor.Visit(compilation.Assembly.GlobalNamespace);
44+
}
4345

44-
foreach (var reference in compilation.References)
46+
if ((context.DiscoveryMode & TagHelperDiscoveryMode.References) == TagHelperDiscoveryMode.References)
4547
{
46-
if (compilation.GetAssemblyOrModuleSymbol(reference) is IAssemblySymbol assembly)
48+
foreach (var reference in compilation.References)
4749
{
48-
if (IsTagHelperAssembly(assembly))
50+
if (compilation.GetAssemblyOrModuleSymbol(reference) is IAssemblySymbol assembly)
4951
{
50-
visitor.Visit(assembly.GlobalNamespace);
52+
if (IsTagHelperAssembly(assembly))
53+
{
54+
visitor.Visit(assembly.GlobalNamespace);
55+
}
5156
}
5257
}
5358
}

src/Razor/Microsoft.AspNetCore.Razor.Language/src/CodeGeneration/DefaultDocumentWriter.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
@@ -124,6 +124,18 @@ public override void VisitDocument(DocumentIntermediateNode node)
124124
.WriteLine("// <auto-generated/>")
125125
.WriteLine("#pragma warning disable 1591");
126126

127+
if (Context.Options.GenerateDesignerIfDefs)
128+
{
129+
if (Context.Options.DesignTime)
130+
{
131+
Context.CodeWriter.WriteLine("#ifdef RAZOR_SOURCEGENERATED_DESIGNTIME");
132+
}
133+
else
134+
{
135+
Context.CodeWriter.WriteLine("#ifdef RAZOR_SOURCEGENERATED_RUNTIME");
136+
}
137+
}
138+
127139
VisitDefault(node);
128140

129141
Context.CodeWriter.WriteLine("#pragma warning restore 1591");

src/Razor/Microsoft.AspNetCore.Razor.Language/src/DefaultRazorCodeGenerationOptionsBuilder.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ public override RazorCodeGenerationOptions Build()
5252
SuppressMetadataAttributes,
5353
SuppressPrimaryMethodBody,
5454
SuppressNullabilityEnforcement,
55-
OmitMinimizedComponentAttributeValues);
55+
OmitMinimizedComponentAttributeValues)
56+
{
57+
GenerateDesignerIfDefs = GenerateDesignerIfDefs,
58+
};
5659
}
5760

5861
public override void SetDesignTime(bool designTime)

src/Razor/Microsoft.AspNetCore.Razor.Language/src/DefaultRazorDiagnostic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;

src/Razor/Microsoft.AspNetCore.Razor.Language/src/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Razor.OmniSharpPlugin.StrongNamed, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
66
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Razor.LanguageServer, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
77
[assembly: InternalsVisibleTo("rzc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
8+
[assembly: InternalsVisibleTo("RazorSourceGenerators, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
89
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Razor.GenerateTool, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
910
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Razor.Test.Common, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
1011
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Razor.LanguageServer.Common, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]

0 commit comments

Comments
 (0)