Skip to content
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

How to build locally? #4199

Closed
thomhurst opened this issue Nov 29, 2024 · 4 comments
Closed

How to build locally? #4199

thomhurst opened this issue Nov 29, 2024 · 4 comments

Comments

@thomhurst
Copy link
Contributor

I'd like to build locally but just get compile errors:

C:\Users\Tom\.nuget\packages\msbuild.sdk.extras\3.0.44\Build\LanguageTargets\CheckMissing.targets(44,5): error : The sp
ecified language targets for uap10.0.16299 is missing. Ensure correct tooling is installed for 'uap'. Missing: 'C:\Prog
ram Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\WindowsXaml\v17.0\Microsoft.Windows.UI.Xaml.CSharp.t
argets' [C:\git\testfx\src\TestFramework\TestFramework.Extensions\TestFramework.Extensions.csproj::TargetFramework=uap1
0.0.16299]
C:\Users\Tom\.nuget\packages\msbuild.sdk.extras\3.0.44\Build\LanguageTargets\CheckMissing.targets(44,5): error : The sp
ecified language targets for uap10.0.16299 is missing. Ensure correct tooling is installed for 'uap'. Missing: 'C:\Prog
ram Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\WindowsXaml\v17.0\Microsoft.Windows.UI.Xaml.CSharp.t
argets' [C:\git\testfx\src\Adapter\MSTest.TestAdapter\MSTest.TestAdapter.csproj::TargetFramework=uap10.0.16299]
C:\Users\Tom\.nuget\packages\msbuild.sdk.extras\3.0.44\Build\LanguageTargets\CheckMissing.targets(44,5): error : The sp
ecified language targets for uap10.0.16299 is missing. Ensure correct tooling is installed for 'uap'. Missing: 'C:\Prog
ram Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\WindowsXaml\v17.0\Microsoft.Windows.UI.Xaml.CSharp.t
argets' [C:\git\testfx\src\Adapter\MSTestAdapter.PlatformServices\MSTestAdapter.PlatformServices.csproj::TargetFramewor
k=uap10.0.16299]
@Evangelink
Copy link
Member

Hi @thomhurst,

It's probably easier for you not to install UWP on your machine (required to build MSTest) so I'd recommend you to use .\Build.cmd /p:ProductsToBuild=testing-platform

@thomhurst
Copy link
Contributor Author

Wonder if it's worth splitting mstest and testing platform into different solutions?

I'll give that build command a go, but doesn't solve my IDE not being able to build it properly :(

@Evangelink
Copy link
Member

There are different slnf you can use already: https://github.com/microsoft/testfx/blob/main/Microsoft.Testing.Platform.slnf

@thomhurst
Copy link
Contributor Author

Ah yeah I missed that one. That builds for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants