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

Execute GetTestsProject msbuild task if IsTestApplication property is true #44158

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

mariam-abdulla
Copy link
Member

This pull request includes a small but important change to the src/Layout/redist/MSBuildImports/Current/Microsoft.Common.targets/ImportAfter/Microsoft.TestPlatform.ImportAfter.targets file. The change modifies the condition for the _GetTestsProject target to include an additional check for IsTestApplication.

Most important change:

There was a bug that required us to build in CLI (dotnet build) before running dotnet test in case the project wasn't built before.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Oct 14, 2024
@nohwnd nohwnd enabled auto-merge (squash) October 14, 2024 14:22
@mariam-abdulla mariam-abdulla removed the untriaged Request triage from a team member label Oct 14, 2024
@nohwnd nohwnd merged commit 1f74ef6 into main Oct 14, 2024
36 checks passed
@nohwnd nohwnd deleted the dev/mabdullah/FixIssueWithNonBuiltProjectsInDotnetTest branch October 14, 2024 16:14
@Evangelink
Copy link
Member

Relates to #45927

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

Successfully merging this pull request may close these issues.

3 participants