Skip to content

Conversation

marcpopMSFT
Copy link
Member

@marcpopMSFT marcpopMSFT commented May 19, 2025

@marcpopMSFT marcpopMSFT requested a review from a team as a code owner May 19, 2025 22:56
- bash: >
$(Build.SourcesDirectory)/.dotnet/dotnet $(Build.SourcesDirectory)/artifacts/bin/Microsoft.TemplateSearch.TemplateDiscovery/Debug/net10.0/Microsoft.TemplateSearch.TemplateDiscovery.dll --basePath $(System.DefaultWorkingDirectory)/NugetDownloadDirectory --allowPreviewPacks -v --test --diff $(EnableDiffMode)
$(Build.SourcesDirectory)/.dotnet/dotnet $(Build.SourcesDirectory)/artifacts/bin/Microsoft.TemplateSearch.TemplateDiscovery/Debug/net8.0/Microsoft.TemplateSearch.TemplateDiscovery.dll --basePath $(System.DefaultWorkingDirectory)/NugetDownloadDirectory --allowPreviewPacks -v --test --diff $(EnableDiffMode)
Copy link
Member

@ViktorHofer ViktorHofer May 20, 2025

Choose a reason for hiding this comment

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

Thanks for fixing this. I see a few low cost solutions to avoid the hard coded TFM:

  • Use dotnet run to build and run the application without supplying a TFM value (my preferred solution)
  • Set AppendTargetFrameworkToOutputPath false in the project. Feels hacky to me.

@marcpopMSFT
Copy link
Member Author

Let me get this merged to unblock the pipeline and then I'll explore options for making it more resilient in the future.

@marcpopMSFT marcpopMSFT enabled auto-merge May 21, 2025 18:59
@marcpopMSFT marcpopMSFT merged commit 5c86301 into main May 21, 2025
10 checks passed
@marcpopMSFT marcpopMSFT deleted the marcpopMSFT-findtemplatediscovery branch August 1, 2025 18:15
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

Successfully merging this pull request may close these issues.

3 participants