Skip to content

VMR build script errors for --test #4278

Closed
dotnet/installer
#19222
@ellahathaway

Description

@ellahathaway

When running ./build.sh --test, the following error appears:

root@cb7aa5f1f384:~/repos/dotnet# ./build.sh --test

/root/repos/dotnet/build.proj : error MSB4057: The target "RunSmokeTest" does not exist in the project.

Build FAILED.

/root/repos/dotnet/build.proj : error MSB4057: The target "RunSmokeTest" does not exist in the project.
    0 Warning(s)
    1 Error(s)

Looking at the build script for the test option:

    -test|-t)
      export NUGET_PACKAGES=$NUGET_PACKAGES/smoke-tests
      properties="$properties /t:RunSmokeTest"
      test=true
      ;;

The RunSmokeTest target exists in build.sourcebuild.targets.

It looks like dotnet/installer#18358 brought in the changes that are causing this error.

Metadata

Metadata

Assignees

Labels

area-testingImprovements in CI and testing

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions