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

Build error in VS2019 and VS2019 preview #343

Open
mediabuff opened this issue Jan 28, 2020 · 3 comments
Open

Build error in VS2019 and VS2019 preview #343

mediabuff opened this issue Jan 28, 2020 · 3 comments

Comments

@mediabuff
Copy link

:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4545,5): error MSB3030: Could not copy the file "Microsoft\WindowsCompositionSamples\SamplesCommon\SamplesCommon\bin\x86\Debug\SamplesCommon\CompositionShadow.xbf" because it was not found.
4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4545,5): error MSB3030: Could not copy the file "Microsoft\WindowsCompositionSamples\SamplesCommon\SamplesCommon\bin\x86\Debug\SamplesCommon\LightControl.xbf" because it was not found.
4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4545,5): error MSB3030: Could not copy the file "Microsoft\WindowsCompositionSamples\SamplesCommon\SamplesCommon\bin\x86\Debug\SamplesCommon\ColorMixer.xbf" because it was not found.
4>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4545,5): error MSB3030: Could not copy the file "Microsoft\WindowsCompositionSamples\SamplesCommon\SamplesCommon\bin\x86\Debug\SamplesCommon\SamplesCommon.xr.xml" because it was not found.

@DRAirey1
Copy link

DRAirey1 commented Mar 3, 2020

Doesn't compile with VS2019. Too many errors to sort through.

@thespooler
Copy link

I did get it to build with VS2019, but it crashes instantly. Here are a couple pointers:

  1. In the SamplesNative project properties, change Platform Toolset to Visual Studio 2019 (v142)
  2. Manage NuGet packages for the solution and update Win2D.uwp to 1.25 and Microsoft.Xaml.Behaviors.Uwp.Managed to whatever version is available and then Microsoft.NETCore.UniversalWindowsPlatform to 6.2.12

Run... aaannnd crash...

@hawkerm
Copy link

hawkerm commented Mar 12, 2021

I needed to try a sample and better understand it, so I was able to get it to build in VS 2019. Submitted PR #350

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

Successfully merging a pull request may close this issue.

4 participants