Skip to content

Commit 324a329

Browse files
committed
Add using alias to fix type name conflict in templates
These were missed in the previous set of changes.
1 parent ba0b720 commit 324a329

File tree

3 files changed

+3
-3
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content

3 files changed

+3
-3
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
using Microsoft.Extensions.DependencyInjection;
3333
using Microsoft.Extensions.Hosting;
3434
#if (GenerateGraph)
35-
using Microsoft.Graph;
35+
using Graph = Microsoft.Graph;
3636
#endif
3737
#if(MultiOrgAuth)
3838
using Microsoft.IdentityModel.Tokens;

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.Extensions.DependencyInjection;
1616
using Microsoft.Extensions.Hosting;
1717
#if (GenerateGraph)
18-
using Microsoft.Graph;
18+
using Graph = Microsoft.Graph;
1919
#endif
2020
#if (OrganizationalAuth || IndividualB2CAuth)
2121
using Microsoft.Identity.Web;

src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
using Microsoft.IdentityModel.Tokens;
2929
#endif
3030
#if (GenerateGraph)
31-
using Microsoft.Graph;
31+
using Graph = Microsoft.Graph;
3232
#endif
3333
#if (IndividualLocalAuth)
3434
using Company.WebApplication1.Data;

0 commit comments

Comments
 (0)