Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable nullable in identity templates #1656

Merged
merged 2 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/install-aspnet-codegenerator.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ set SRC_DIR=%cd%
set NUPKG=artifacts/packages/Debug/Shipping/
call taskkill /f /im dotnet.exe
call rd /Q /S artifacts
call dotnet build Scaffolding.slnf
call dotnet pack Scaffolding.slnf
call build
call dotnet tool uninstall -g dotnet-aspnet-codegenerator

call cd %DEFAULT_NUPKG_PATH%
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using Microsoft.AspNetCore.Mvc.RazorPages;

namespace @(Model.Namespace).Areas.Identity.Pages.Account
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Linq;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Text;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Text;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Threading.Tasks;
@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Linq;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Encodings.Web;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using Microsoft.AspNetCore.Mvc.Rendering;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Threading.Tasks;
@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

@{
var namespaceSet = new System.Collections.Generic.SortedSet<string>(
new string[]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase
#nullable disable

using System;
using System.Threading.Tasks;
@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
@inherits Microsoft.VisualStudio.Web.CodeGeneration.Templating.RazorTemplateBase;
#nullable disable

using System.Diagnostics;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
Expand Down