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

Pass project file name when building before running tests #69743

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

JoeRobich
Copy link
Member

When multiple .sln or .csproj files are present in the same folder as the test project being built, dotnet errors asking for a specific file to build. Since we have the document which contains the tests, we can pass along the documents project when building.

MSBuild version 17.8.0-preview-23367-03+0ff2a83e9 for .NET

MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.

Error: Failed to run build, see test output for details

@JoeRobich JoeRobich requested a review from a team as a code owner August 28, 2023 22:56
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants