Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Visual Studio BuildError: The command copy / yxx VCEnd exited with code 1.

 

Error message when compiling:

The command "copy /y "C:\My_Project\bin\x86\Debug\*" "C:\ My_Project\ShareUX\Win32\" :VCEnd" exited with code 1.

 

 

Video to the solution

 

Occurrence:

The error occurs when a pre-build or post-build rendering of files is performed in a project.

 

Error source Project:

You can find the Copy command in Visual Studio when you switch to Project Properties: Properties in the current project or start project.

 

Under a Javascript (Universal Windows) properties in Configuration Properties-> Build Events-> Pre-Build Events-> Command Line

The setting:

Copy \ y "$ (SolutionDir) Win32 \ PhotoStoreDemo \ bin \ x86 \ $ (Configuration) \ *" "$ (ProjectDir)

 

Importance:

This statement copies all files from a Windows 32 Project (Windows Forms or WPF) to a UWP Bridge project before executing the build statement.

 

Check the missing files:

 

In the neighboring Win32 project you can activate the "Show All Files" option under Solution Explorer, which makes all files visible.

In the bin output path, the Windows 32 output files must also be present in the / bin / x86 / Debug folder.

 

Set output path for Windows Forms and WPF projects.

You set the output path in the Win32 project by selecting the Project-> Properties.

 

The output path is automatically adopted by setting the CPU type to x86 on the build toolbar, and by placing the project on the Windows Forms project.

 

After a subsequent build or rebuild the / bin / x86 / debug path is created and the output.exe files are inserted there.

 

Error message under Visual Studio

Severity

Code

Description

Error

MSB3073

The command "copy /y "C:\_Daten\Desktop\WinForms\_test\DesktopBridgeToUWP-Samples-master\Samples\WPFasShareTarget\PhotoStoreDemo\bin\x86\Debug\*" "C:\_Daten\Desktop\WinForms\_test\DesktopBridgeToUWP-Samples-master\Samples\WPFasShareTarget\ShareUX\Win32\" :VCEnd" exited with code 1.

 

Project

File

Line

Suppression State

ShareUX

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets

123

 

 

 

Subject: Windows 10 Bridge Centennial, Win32 desktop app to convert UWP, Winforms, WPF

Mobile
»
Gelöst: One or more projects in the solution were not loaded correctly
»
Resolved: Error message when installing Windows software, untrusted certificate
»
Asp.Net Core 2.1 Error: Publish prints too many files
»
Solved: Project file is incomplete. Expected imports are missing. .Net Core 2 Project
»
Visual Studio Error: GetDeploymentPathFromVsixManifest Task.System.IO.FileNotFoundException
»
Visual Studio Build Error: The command copy VCEnd exited with code 1
»
Package Manager Console: The operation failed for project aspCore03 could not be loaded.
»
Problem: Login To the Windows Store and Account under Visual Studio
»
Visual Studio: Driver Testing Could not load test information.
»
Gelöst: Visual Studio Entwurfsansicht von XAML wieder hergestellt

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de