Error when building the project
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- build-system
Research direction
Start with README.md's build prerequisites and src/PowerAppsTestEngine/PowerAppsTestEngine.csproj, then inspect installation.log and reproduce dotnet build on Windows 11 with the stated SDK and MSBuildSDKsPath settings. Compare the configured SDK with the reported CreateAppHost and MissingMethodException; done means identifying the incompatible or missing setting and achieving a successful build.
Written by the indexing model from the issue text.
Description
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
MSBuildSDKsPathto: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]
What is wrong ? Can you tell me if some settings are missing ?
Thanks for your help.
- Dominant language
- C#
- Stars
- 150
- Forks
- 55
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PowerApps-TestEngine
-
new
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
new
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
question
Difficulty 3/5 1-2 days Newbie friendliness 25/100
microsoft/PowerApps-TestEngine#671 · 1 comment ·
All issues in microsoft/PowerApps-TestEngine
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·