Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Build error in VS2019 and VS2019 preview #343

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants