-
Notifications
You must be signed in to change notification settings - Fork 261
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
Building testfx source code with VSCode / C# Dev Kit has issue with ExpandPriContent #1909
Comments
Hi @fforjan, I am only using VSCode as some advanced notepad so I have to admit I have never tried to build or run tests from there. Happy to get some contribution if you are still willing to help. Just want to confirm you only have some trouble from VSCode but CLI is working fine?! |
@Evangelink I have the same issue in command line, when using |
Oh yeah I remember having seen this issue when I took over but I don't see it documented... Could you try to run the script https://github.com/microsoft/testfx/blob/main/eng/Install-WindowsSDK.ps1. If that's not working then it's a missing workload/feature but I would have to spend some time looking it up. |
Hi @fforjan, Are you still interested in helping? |
@Evangelink I wanted to do this as part of a Christmas/Beginning of the year project but in the end, for personal reason, I could not free my time to do this. I'm afraid I need to remove my name from this :( |
@fforjan No worries! I hope everything is alright, take care! |
When cloning the repository and trying to build within VSCode/C# DevKit, i'm getting this issue :
The "Microsoft.Build.Packaging.Pri.Tasks.ExpandPriContent" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\8.0.100\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\8.0.100\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll'. The system cannot find the path specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\git\testfx\src\TestFramework\TestFramework.Extensions\TestFramework.Extensions.csproj::TargetFramework=net6.0-windows10.0.18362.0]
I found a workaround here : microsoft/WindowsAppSDK#3548 (comment)
And if added to Directory.Build.Local.Props, I can build and compile within VScode...
I would be happy to contribute (and update the documentation to use VSCode for building) to this but not sure exactly if you already have a plan/fix for this on your side ?
The text was updated successfully, but these errors were encountered: