Skip to content

Enable nullable references in project templates #34007

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

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

DamianEdwards
Copy link
Member

Enable nullable references in project templates

Contributes to #33947

@DamianEdwards DamianEdwards requested review from pranavkm and HaoK July 1, 2021 20:03
@DamianEdwards DamianEdwards requested review from Pilchie and a team as code owners July 1, 2021 20:03
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Jul 1, 2021
@pranavkm pranavkm requested a review from jmarolf July 1, 2021 20:14
@DamianEdwards DamianEdwards merged commit 891b212 into main Jul 1, 2021
@DamianEdwards DamianEdwards deleted the damian/template-updates-33947 branch July 1, 2021 21:59
@ghost ghost added this to the 6.0-preview7 milestone Jul 1, 2021
@@ -25,7 +25,8 @@
".template.config/**"
],
"copyOnly": [
"wwwroot/**"
"wwwroot/**",
"ClientApp/package-lock.json"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DamianEdwards can you clarify why you did this?

Is it because of the template engine bug that appeared a few days ago?

I believe the package-lock.json needs to be processed by the template engine, since it contains stuff like Company1.Webapplication that needs to "potentially" match your project name?

I bring this up because @HaoK is investigating an issue, and we are trying to lock down on it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah Hao reached out to me. I hit the issue while testing this and made this change at @pranavkm's suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants