# Compile errors on win 11 MSBUILD etc.. UE 4.27.2

**URL:** <https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941>\
**Category:** Platform & Builds\
**Tags:** Builds, unreal-engine, UE4, question, UE4-27, troubleshooting\
**Created:** [April 2, 2022, 4:06pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941 "2022-04-02T16:06:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeathCode\_studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeathCode\_studio](https://forums.unrealengine.com/u/DeathCode_studio)\
**Post date:** [April 2, 2022, 4:06pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/1 "2022-04-02T16:06:13Z")

</div>

Hi we change our systems on win 11 pro and then start…  
we get msb3073 and exite with code 6. We download actual relase 4.27.2 from github we cant work now on our project.  
I try everything what i find from last 2 days, so what is wrong? its our systems or something missing? also unrealvs for vs22 looks like broken, we use vs22 but also we try on vs19 and this same 4 days ago we work normal on win 10 and compile work perfect without any changes, so please help thanks

 ![Zrzut ekranu (1)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/2/ab2ecb2b0c481a520e8380039b05494efb086565.jpeg)  
 ![Zrzut ekranu (2)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/5/1a56d4589b3fd045cf409eb144a166cc6bef3ebb.jpeg)  
 ![Zrzut ekranu (3)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/a/89a39a0f6b40af36c943f3e9fb3790a8e49ad055.jpeg)

| Ważność | Kod | Opis | Projekt | Plik | Wiersz | Stan pominięcia |
| --- | --- | --- | --- | --- | --- | --- |
| Błąd | MSB3073 | Polecenie „…\Build\BatchFiles\Build.bat -Target=UE4Editor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild” zostało zakończone przez kod 6. | UE4 | C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets | 44 | |
| Ostrzeżenie | C4996 | ‘FRemoteControlTarget::FRemoteControlTarget’: FRemoteControlTarget is deprecated. Expose properties directly on a remote control preset instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. | UE4 | C:\UE427k\Engine\Source\Runtime\Core\Public\Templates\Tuple.h | 93 | |
| Ostrzeżenie | C4191 | typ rzutowania: niebezpieczna konwersja z FARPROC do PFN\_HidP\_GetVersionInternal | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\hidpi.h | 2062 | |
| Błąd | C4668 | \_NOEXCEPT\_TYPES\_SUPPORTED nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 211 | |
| Błąd | C4668 | \_\_cpp\_noexcept\_function\_type nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 211 | |
| Błąd | C4668 | \_NOEXCEPT\_TYPES\_SUPPORTED nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 371 | |
| Błąd | C4668 | \_\_cpp\_noexcept\_function\_type nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 371 | |

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 2, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/2 "2022-04-02T17:02:20Z")

</div>

Configurations for Visual Studio aren’t that helpful, when we don’t know what the problem is.

What command are you actually giving?  
What failure are you actually seeing?  
If there’s an error message, what is the exact error message?

---

<div class="post-metadata">

**Author:** ![DeathCode\_studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeathCode\_studio](https://forums.unrealengine.com/u/DeathCode_studio)\
**Post date:** [April 2, 2022, 5:13pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/3 "2022-04-02T17:13:10Z")

</div>

we need wait to end next compilation 2/3 hours

---

<div class="post-metadata">

**Author:** ![DeathCode\_studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeathCode\_studio](https://forums.unrealengine.com/u/DeathCode_studio)\
**Post date:** [April 2, 2022, 6:43pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/4 "2022-04-02T18:43:39Z")

</div>

| Ważność | Kod | Opis | Projekt | Plik | Wiersz | Stan pominięcia |
| --- | --- | --- | --- | --- | --- | --- |
| Błąd | MSB3073 | Polecenie „…\Build\BatchFiles\Build.bat -Target=UE4Editor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild” zostało zakończone przez kod 6. | UE4 | C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets | 44 | |
| Ostrzeżenie | C4996 | ‘FRemoteControlTarget::FRemoteControlTarget’: FRemoteControlTarget is deprecated. Expose properties directly on a remote control preset instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. | UE4 | C:\UE427k\Engine\Source\Runtime\Core\Public\Templates\Tuple.h | 93 | |
| Ostrzeżenie | C4191 | typ rzutowania: niebezpieczna konwersja z FARPROC do PFN\_HidP\_GetVersionInternal | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\hidpi.h | 2062 | |
| Błąd | C4668 | \_NOEXCEPT\_TYPES\_SUPPORTED nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 211 | |
| Błąd | C4668 | \_\_cpp\_noexcept\_function\_type nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 211 | |
| Błąd | C4668 | \_NOEXCEPT\_TYPES\_SUPPORTED nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 371 | |
| Błąd | C4668 | \_\_cpp\_noexcept\_function\_type nie jest zdefiniowany jako preprocesor makra, zastepowanie za pomoca 0 dla #if/#elif | UE4 | C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h | 371 | |

---

<div class="post-metadata">

**Author:** ![devlyn811](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devlyn811](https://forums.unrealengine.com/u/devlyn811)\
**Post date:** [June 7, 2023, 9:51pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/5 "2023-06-07T21:51:53Z")

</div>

YEAH JUST GOT ALL THIS CRAP after installing windows 11 on a new PC -

BIG SURPRISE NO HELP!!!

---

<div class="post-metadata">

**Author:** ![devlyn811](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devlyn811](https://forums.unrealengine.com/u/devlyn811)\
**Post date:** [June 7, 2023, 9:54pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/6 "2023-06-07T21:54:44Z")

</div>

should used Unity…

---

<div class="post-metadata">

**Author:** ![devlyn811](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devlyn811](https://forums.unrealengine.com/u/devlyn811)\
**Post date:** [June 8, 2023, 12:04pm UTC](https://forums.unrealengine.com/t/compile-errors-on-win-11-msbuild-etc-ue-4-27-2/511941/7 "2023-06-08T12:04:43Z")

</div>

Please forgive my outburst. It wasn’t very Christian of me…

Solution is to uncheck UnrealFileServer as part of the build. It looks like UFS has been removed from UE5 and I forgot this as a solution for my current project which right now requires 4.27.2.

If anyone has this when they build the solution to fix this issue is

1. In the solution build configuration for each configuration, uncheck UnrealFileServer
2. Build the solution
3. It should build
