Open dibarbet opened 3 months ago
We definitely need to work out how to avoid this and the NuGet issue which causes us to skip the C# tests. These are the only thing that validates our project system loads all the various project types.
We could perhaps have a job which generates all the templates and restores the generated projects. We could then cache the result, hopefully avoiding AVE and NuGet issues. The existing test job could be updated to load the latest version of the cache.
The tests could be updated to check for the pre-generated projects from an expected location and generate the project if it was missing.
For more information about caching: Blog: https://devblogs.microsoft.com/devops/caching-and-faster-artifacts-in-azure-pipelines/ Docs: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/caching?view=azure-devops
https://helix.dot.net/BuildAnalysis/SearchTests?error=&testName=Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateVisualBasicTemplateProjects&definition=roslyn-integration-CI&branch=main&dateValue=1&dateType=Day%28s%29
e.g.