package error

I complie unreal engine used source from github. unreal version is 4.16.1.
I complie complete, create a new C++ project. name is TestPackage,
But I package project failed. Package platform is win64.

develop envirment:
windows 10.
vs2015.

Logs.
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): CSC : error CS2012: Cannot open ‘D:\ue4\4.16\Engine\Source\Programs\DotNETCommon\DotNETUtilities\obj\Development\DotNETUtilities.dll’ for writing – ‘??·???
D:\ue4\4.16\Engine\Source\Programs\DotNETCommon\DotNETUtilities\obj\Development\DotNETUtilities.dll???ķ??ʱ??ܾ???’ [D:\ue4\4.16\Engine\Source\Programs\DotNETCommon
\DotNETUtilities\DotNETUtilities.csproj]
UATHelper: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool failed to compile.
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

Packaging or building project? They’re different processes. B-)

About your case: check what you have this files on your local drive. I am more than sure you’re not followed the Epics doc how to build Unreal Engine from Source (did you run Setup.bat first?)

Have you checked this files exists? Did you run Setup.bat?

Yes. I have run Setup.bat and GenerateProjectFiles.bat. The project run ok. But Package failed.

How are you packaging your project? From command line? From Editor?

From the editor. File->PackageProject->Windows->Win64

I have also same problem… unreal version 4.16.2, and VS2015

You can’t package from the Editor if you are running the Editor with Visual Studio attached as that locks various DLLs and such. Launch the Editor without debugging (SHIFT+F5 from within VS) and it’ll work.

Best video tutorial ever. Setting up Visual Studio with Unreal Engine 4 on Windows 7 | UECasts.com - YouTube