Skip to content

Error when building the project #678

@JMG74

Description

@JMG74

I'm trying to build the PowerApps-TestEngine project on my PC (Windows 11).

I've followed the instructions given in the README.md:

  • Although I already have ".NET Core 9.0.x SDK" on my PC, I've installed the required version: ".NET Core 8.0.128 SDK"
  • I've defined the system environment variable MSBuildSDKsPath to: C:\Program Files\dotnet\sdk\8.0.x\Sdks

Once I run "dotnet build", I'm getting 2 warnings an 1 error (see details in the attached log file).
The error is :

error MSB4018: The "CreateAppHost" task failed unexpectedly. [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]
error MSB4018: System.MissingMethodException: Method not found: 'Boolean Microsoft.NET.HostModel.ResourceUpdater.IsSupportedOS()'. [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]
error MSB4018:    at Microsoft.NET.Build.Tasks.CreateAppHost.ExecuteCore() [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]
error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]
error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]
error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [C:\data\TestAutomation\PowerApps-TestEngine\src\PowerAppsTestEngine\PowerAppsTestEngine.csproj]

installation.log

What is wrong ? Can you tell me if some settings are missing ?

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    newAn Issue created that needs to be looked at by the team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions