UE_5.4\Engine\Source\Programs\AutomationTool\XLocLocalization\XLocService\XLocApiService.cs(2088,46,2088,54): error CS0234: The type or namespace name ‘Channels’ does not exist in the namespace ‘System.ServiceModel’ (are you missing an assembly reference?)
3>E:\UE_5.4\Engine\Source\Programs\AutomationTool\XLocLocalization\XLocService\XLocApiService.cs(2088,92,2088,107): error CS0234: The type or namespace name ‘EndpointAddress’ does not exist in the namespace ‘System.ServiceModel’ (are you missing an assembly reference?)
3>Done building project “XLocLocalization.Automation.csproj” – FAILED.
List item
I have UE 5.4.4 and updated the VS 2022 to 17.12.3 this error occurred… please help
It looks like the System.ServiceModel namespace, which includes Channels and EndpointAddress, is not being recognized in your project. This typically happens if the required WCF (Windows Communication Foundation) libraries are missing. To resolve this issue, try the following steps:
Install Required NuGet Packages:
Use the NuGet Package Manager in Visual Studio and install the following packages:
System.ServiceModel.Primitives
System.ServiceModel.Http (if HTTP-based bindings are used)
These packages provide support for the System.ServiceModel namespace.
Verify Target Framework:
Ensure your project is targeting a compatible .NET version. Right-click on your project in Visual Studio, select Properties, and make sure the Target Framework is set to .NET Core, .NET 5+, or .NET Framework as required.
Manual Reference (if needed):
If you’re using an older framework or the package is not sufficient, add a reference manually:
Right-click the project in Solution Explorer.
Choose Add > Reference.
Look for System.ServiceModel and add it.
Rebuild the Project:
Clean the solution (Build > Clean Solution) and rebuild it (Build > Rebuild Solution).
Since you’re working with Unreal Engine, ensure that the dependencies align with Unreal’s requirements for the Automation Tool project. Also, double-check the UE 5.4.4 documentation for any specific configuration guidelines when using Visual Studio 2022.
Let me know if these steps resolve your issue or if more assistance is needed!