Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't build 4.18.1 with BuildGraph

I have a clean source build of 4.18.1, and am trying to package a binary build of the engine using Build Graph.

Unfortunately, it always seems to get to the same point in the build and fails, and it seems related to iPhonePackager.csproj - complaining that DotNetUtililities.dll is in use by another process.

Here is the relevant section of the log:

 Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\UnrealControls\UnrealControls.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /nologo
     UnrealControls -> C:\GIT\UnrealEngine\Engine\Binaries\DotNET\UnrealControls.dll
 Took 0.6531676s to run MSBuild.exe, ExitCode=0
 Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe C:\GIT\UnrealEngine\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /target:Rebuild /verbosity:minimal /nologo
   C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4604,5): warning MSB3061: Unable to delete file "C:\GIT\UnrealEngine\Engine\Binaries\DotNET\DotNETUtilities.dll". Access to the path 'C:\GIT\UnrealEngine\Engine\Binaries\DotNET\DotNETUtilities.dll' is denied. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]
   C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): warning MSB3026: Could not copy "obj\Development\DotNETUtilities.dll" to "..\..\..\..\Binaries\DotNET\DotNETUtilities.dll". Beginning retry 2 in 1000ms. The process cannot access the file '..\..\..\..\Binaries\DotNET\DotNETUtilities.dll' because it is being used by another process. [C:\GIT\UnrealEngine\Engine\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]

The build then fails. I can't seem to get this to work no matter what I try. I'm building for Windows PC and PS4, so I don't even know why iPhonePackager is being included anyway (it seems like there is some kind of core dependency on it, which is really annoying :/)

Any clues on how to fix this?

Product Version: UE 4.18
more ▼

asked Nov 16 '17 at 02:51 PM in C++ Programming

avatar image

815 57 96 140

avatar image BFuller Nov 16 '17 at 10:36 PM

This post is to add to the previous Unreal Engine user (sorry couldn't find an appropriate word to use), As I am having similar difficulties on my HP Pavilion laptop. I've recently downloaded 4.18.1 and it was working up until a point but then the errors and the code started going haywire. I've recorded a whole lot of errors with the recent update 4.18.1 I thought it was strange that all these errors was appearing in the filter panel within Unreal Engine 4.18.1 AND (capital letters) Visual Studio Community 2017! Laptop is a brand new HP laptop. Nothing wrong with the laptop! (Sorry for my English syntax, I'm physically disabled and my right arm is tired of thinking and typing at the same time!) Hope these issues can be resolved very soon!

alt text alt text alt text alt text alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I have discovered the solution to my issue.

It was caused because I was invoking AutomationTool.exe directly - when in fact you should be invoking AutomationToolLauncher.exe which copies the required dependencies (including DotNetUtilities.dll) into a shadow directory.


@BFuller - that looks like a different issue entirely, I would suggest making another thread.

more ▼

answered Nov 24 '17 at 09:00 AM

avatar image

815 57 96 140

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question