Skip to content

Pass template tests when project reference contains ".db" #53476

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
Jan 20, 2024

Conversation

halter73
Copy link
Member

This probably only affects the Blazor template test since it's the only one with the ProjectReference to the randomly named client, but I decided to update the pattern for MVC and Razor too.

Assert.DoesNotContain() Failure
Found:    .db
In value: <Project Sdk="Microsoft.NET.Sdk.Web">


        <PropertyGroup>
          <TargetFramework>net9.0</TargetFramework>
          <Nullable>enable</Nullable>
          <ImplicitUsings>enable</ImplicitUsings>
        </PropertyGroup>
      
        <ItemGroup>
          <ProjectReference Include="..AspNet.dbbwu3mcwvuc.ClientAspNet.dbbwu3mcwvuc.Client.csproj" />
          <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0-ci" />
        </ItemGroup>
      
      </Project>
   at Templates.Mvc.Test.BlazorTemplateTest.BlazorWebTemplate_Core(String[] args) in /_/src/ProjectTemplates/test/Templates.Mvc.Tests/BlazorTemplateTest.cs:line 80
--- End of stack trace from previous location ---

https://dev.azure.com/dnceng-public/public/_build/results?buildId=532631&view=ms.vss-test-web.build-test-results-tab&runId=12567162&resultId=123726&paneView=debug

@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Jan 19, 2024
@halter73 halter73 merged commit cc9cff3 into main Jan 20, 2024
@halter73 halter73 deleted the fix-flaky-db-check branch January 20, 2024 01:23
amcasey added a commit that referenced this pull request Mar 8, 2024
halter73 pushed a commit that referenced this pull request Mar 19, 2024
@danroth27 danroth27 added this to the 9.0-preview1 milestone Apr 29, 2024
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.

3 participants