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

Flaky BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works #30880

Closed
jkotalik opened this issue Mar 12, 2021 · 2 comments
Closed

Flaky BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works #30880

jkotalik opened this issue Mar 12, 2021 · 2 comments
Labels
area-razor.compiler This issue is related to the Razor compiler (now external) test-failure

Comments

@jkotalik
Copy link
Contributor

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1033440&view=ms.vss-test-web.build-test-results-tab&runId=32069676&resultId=125312&paneView=debug

Project new blazorwasm  -ho -au SingleOrg --domain my-domain --tenant-id tenantId --client-id clientId --default-scope full --app-id-uri ApiUri --api-client-id 1234123413241324 failed to publish. Exit code 1.
dotnet publish --no-restore -c Release /bl \nStdErr: \nStdOut: Microsoft (R) Build Engine version 16.10.0-preview-21126-01+6819f7ab0 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

C:\h\w\C17809FC\w\98900888\e\sdk401\x64\sdk\6.0.100-preview.3.21160.5\MSBuild.dll -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\h\w\C17809FC\w\98900888\e\sdk401\x64\sdk\6.0.100-preview.3.21160.5\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\h\w\C17809FC\w\98900888\e\sdk401\x64\sdk\6.0.100-preview.3.21160.5\dotnet.dll -maxcpucount -property:Configuration=Release -target:Publish -verbosity:m /bl .\AspNet.3asabssdkl0.sln
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
AspNet.3asabssdkl0.Shared -> C:\h\w\C17809FC\w\98900888\e\Templates\BaseFolder\AspNet.3asabssdkl0\Shared\bin\Release\net6.0\AspNet.3asabssdkl0.Shared.dll
AspNet.3asabssdkl0.Shared -> C:\h\w\C17809FC\w\98900888\e\Templates\BaseFolder\AspNet.3asabssdkl0\Shared\bin\Release\net6.0\publish

CSC : warning CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'AggregateException' with message 'One or more errors occurred. (Object reference not set to an instance of an object.)' [C:\h\w\C17809FC\w\98900888\e\Templates\BaseFolder\AspNet.3asabssdkl0\Client\AspNet.3asabssdkl0.Client.csproj]
C:\h\w\C17809FC\w\98900888\e\Templates\BaseFolder\AspNet.3asabssdkl0\Client\Program.cs(19,40): error CS0246: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?) [C:\h\w\C17809FC\w\98900888\e\Templates\BaseFolder\AspNet.3asabssdkl0\Client\AspNet.3asabssdkl0.Client.csproj]

Expected: True
Actual:   False
@jkotalik jkotalik added test-failure area-blazor Includes: Blazor, Razor Components labels Mar 12, 2021
@javiercn javiercn added area-razor.compiler This issue is related to the Razor compiler (now external) and removed area-blazor Includes: Blazor, Razor Components labels Mar 15, 2021
@javiercn
Copy link
Member

@jkotalik thanks reporting it.

@pranavkm @captainsafia seems related to the new generator approach

@captainsafia
Copy link
Member

@javiercn Yep -- tracking this issues via #30851. Closing this issue in favor of that one.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-razor.compiler This issue is related to the Razor compiler (now external) test-failure
Projects
None yet
Development

No branches or pull requests

3 participants