Skip to content

System.Data.SqlClient.sln contains stresstest project that does not exist #19345

Closed

Description

@svick

System.Data.SqlClient.sln contains a project named stresstest, which does not exist. This causes an error loading the project when opening the solution in VS and also causes running msbuild on the solution to fail.

Instead of the single project, the tests/StressTests directory contains 4 projects. But when I tried to add them to the solution, they didn't build (which is why I'm not going to create a PR to fix this).

This seems to have been introduced in dotnet/corefx#10601.

CC: @saurabh500

Activity

  1. mellinoe commented on Nov 11, 2016

    @mellinoe
    Contributor

    Unfortunately, I expect that a lot of our solution files are out of sync. We need a tool that automatically re-generates them, or something of that sort. It's just a matter of spending the time to go and write that thing versus hacking up fixes to individual sln's as we go along.

  2. saurabh500 commented on Nov 11, 2016

    @saurabh500
    Contributor

    The StressTests folder projects are not building because of dotnet/corefx#12345

    @karajas I understand that you have consolidated all deps of tests in single project.json

    I think that to build the projects under the stresstests folder, I will have to have their independent project.json along with the csproj files.

    Can you revert the changes for the projects in StressTests folder which don't pick up the dependencies from the consolidated project.json ? I think the csproj ending with .Tests will pick up the dependencies from the project.json you have created, however the build system doesnt allow the other projects to build because they don't end with "tests"

  3. transferred this issue fromdotnet/corefxon Jan 31, 2020
  4. added this to the 2.0.0 milestone on Jan 31, 2020
  5. ghost locked as resolved and limited conversation to collaborators on Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions