-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Requesting help with building the repo #2866
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
Comments
Have you installed the workloads outlined at https://github.com/dotnet/wpf/blob/master/Documentation/developer-guide.md#machine-setup ? Fixing up the title. You may not be able to build yet, but the build not broken. We hope you will be able to build soon. |
@vatsan-madhavan Thanks for your help. Indeed, I had couple VS2019 components missing. However, I think you should fix a few things.
Probably for this reason, I’m unable to open visual studio projects, i.e. can only build from command-line. This is less than ideal, the main reason why I was setting this up is to use the IDE. BTW, my ultimate goal is fix this this issue in WPF, and I was thinking about replacing D3DImage framework class with a custom equivalent.
|
Good suggestions. We should probably update the link to https://github.com/dotnet/cli/blob/master/Documentation/project-docs/developer-guide.md. We do have to override that guidance and point out that building this repo actually requires this:
WPF repo always uses We refer to VS2019 in the README.md (https://github.com/dotnet/wpf) albeit in a slightly different context, but I think we should be clearer. In fact, global.json (https://github.com/dotnet/wpf/blob/master/global.json) lists These are uncontroversial and straightforward changes, I think. If you are able, please consider contributing 😄 For #2, something like #2307 might help. It's a work in progress. |
Is corefx still required to build the wpf repo or is it now required to build the runtime repo since it has migrated there? |
WPF local builds are working perfectly fine using |
Actual behavior:
build.cmd fails, prints pages of messages like this:
C:\Temp\wpf\src\Microsoft.DotNet.Wpf\src\DirectWriteForwarder\DirectWriteForwarder.vcxproj(28,5): error MSB4019: The im ported project "C:\Temp\wpf\.tools\msbuild\16.5.0-alpha\tools\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.Default.props" wa s not found. Confirm that the expression in the Import declaration "C:\Temp\wpf\.tools\msbuild\16.5.0-alpha\tools\MSBui ld\Microsoft\VC\v160\\Microsoft.Cpp.Default.props" is correct, and that the file exists on disk.
I've checked and indeed, there's no VC directory in that location. Your build.cmd has downloaded the msbuild with the following subfolders in MSBuild\Microsoft:
Microsoft.NET.Build.Extensions
NuGet
VisualStudio
None of them contains
Microsoft.Cpp.Default.props
file.Expected behavior:
Built.cmd should work.
Minimal repro:
Not available. Checkout the repository.
The text was updated successfully, but these errors were encountered: