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

Missing all .Net templates in .NET 8 RC2 for arm64 #7217

Open
1 task done
olafurfannsker opened this issue Oct 13, 2023 · 14 comments
Open
1 task done

Missing all .Net templates in .NET 8 RC2 for arm64 #7217

olafurfannsker opened this issue Oct 13, 2023 · 14 comments

Comments

@olafurfannsker
Copy link

olafurfannsker commented Oct 13, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Blazor Web App Template is not available in .NET 8 RC2 for arm64 when creating a new project in Visual Studio 17.8.0 Preview 3 in a Parallels Windows VM in Mac arm64.
create_blazor_project

Update:

It seems on closer inspection that none of the .NET 8 templates are being installed. I have reinstalled Visual Studio Preview 5.0 multiple times as well as .NET 8 SDK 8.0.100-rc.2.

Expected Behavior

I expected to see Blazor Web App in the list of available templates. I have it on my

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

@MackinnonBuck
Copy link
Member

@wtgodbe Do you have any ideas about what might be causing this?

@wtgodbe
Copy link
Member

wtgodbe commented Oct 18, 2023

I'm not sure, we didn't change anything with how that gets produced as far as I know - @marcpopMSFT @dsplaisted @vlada-shubina how do dotnet templates normally make it in to VS? Looks like this one's missing for arm64 in RC2

@joeloff
Copy link
Member

joeloff commented Oct 18, 2023

We build the installers for all the templates and VS should be picking those up. If they're missing from VS, I'd expect them to be missing from the standalone installations as well.

@marcpopMSFT
Copy link
Member

@MiYanni and @joeloff are current owners for templating. Does the template show up in the dotnet CLI? We build the template msis and insert them into VS. You could collect new project logs and see if there's some error in there but if we have any templates, we should have them all unless there's something in the msi creation.
SET VS_WTE_DIAGNOSTIC_MODE=File
SET VS_WTE_DIAGNOSTIC_VERBOSITY=2
SET VS_WTE_DIAGNOSTIC_TRACESWITCHES=ALL
SET VS_WTE_DIAGNOSTIC_OUTPUTFILE=%temp%\wte.log

@joeloff
Copy link
Member

joeloff commented Oct 18, 2023

We use the same target for all platforms: https://github.com/dotnet/installer/blob/c5ce95b250cc405443c5d740841f387215b0e903/src/redist/targets/BundledTemplates.targets#L193

and that should include the same nupkg. I looked at the template.json in the package because I thought maybe there were constraints, but at best it seems you can confine templates to a specific OS platform and there are no constraints for the Blazor templates.

@mkArtakMSFT
Copy link
Member

Looks like there are no reasons for the template to be missing, yet we have a customer who claims that it does. Do we have someone who can validate this and see if this is indeed the case?

@wtgodbe
Copy link
Member

wtgodbe commented Oct 26, 2023

Screenshot 2023-10-26 at 2 59 56 PM On my M2 mac, the Blazor Web App template is present from the CLI

@wtgodbe
Copy link
Member

wtgodbe commented Oct 26, 2023

The description in the original image is from the 7.0 template: https://github.com/dotnet/aspnetcore/tree/release/7.0/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp. It's since been renamed to BlazorWeb-CSharp (I think) - @mkArtakMSFT @SteveSandersonMS can you confirm? @olafurfannsker were you creating a 7.0 project or an 8.0 project?

@mkArtakMSFT
Copy link
Member

The rename to Blazor Web happened only in 8.0

@mkArtakMSFT
Copy link
Member

Ping @olafurfannsker

@olafurfannsker were you creating a 7.0 project or an 8.0 project?

@olafurfannsker
Copy link
Author

olafurfannsker commented Oct 30, 2023 via email

@wtgodbe
Copy link
Member

wtgodbe commented Oct 30, 2023

This sounds like a general templating issue in that case, transferring to dotnet/templating repo

@wtgodbe wtgodbe transferred this issue from dotnet/aspnetcore Oct 30, 2023
@wtgodbe
Copy link
Member

wtgodbe commented Oct 30, 2023

CC @MiYanni @joeloff

@wtgodbe wtgodbe changed the title Missing Blazor Web App Template in .NET 8 RC2 for arm64 Missing all .Net templates in .NET 8 RC2 for arm64 Oct 31, 2023
@mkArtakMSFT
Copy link
Member

Given that the .NET 8 shipped and we haven't heard more concerns about this I think this is not an issue impacting many customers.
That said, we still need to try to understand what's going on here.
Ping @MiYanni , @joeloff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants