# Error: The type or namespace name "SocketId" could not be found 

**URL:** <https://forums.unrealengine.com/t/error-the-type-or-namespace-name-socketid-could-not-be-found/2858290>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [April 12, 2025, 2:10am UTC](https://forums.unrealengine.com/t/error-the-type-or-namespace-name-socketid-could-not-be-found/2858290 "2025-04-12T02:10:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 12, 2025, 2:10am UTC](https://forums.unrealengine.com/t/error-the-type-or-namespace-name-socketid-could-not-be-found/2858290/1 "2025-04-12T02:10:18Z")

</div>

I am having trouble following the tutorial posted in the docs: [https://onlineservices.epicgames.com/en-US/news/setting-up-a-c-solution-for-eos-in-visual-studio-2019\#eos-sdk-initialization](https://onlineservices.epicgames.com/en-US/news/setting-up-a-c-solution-for-eos-in-visual-studio-2019%5C#eos-sdk-initialization)

I am using rider as my editor and Godot as my engine so I can’t follow along exactly. Right now I am getting compilation errors such as the following: Error CS0246 : The type or namespace name ‘SocketId’ could not be found (are you missing a using directive or an assembly reference?). I think the issue is that it can’t find the dll or I messed up on step 9 where you set target platform. Here is my edited csproj:

````auto
```<Project Sdk="Godot.NET.Sdk/4.4.1">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <EnableDynamicLoading>true</EnableDynamicLoading>
    <LangVersion>latest</LangVersion>
    <Nullable>enable</Nullable>
    <RootNamespace>NetworkedDodgeball</RootNamespace>
    <!-- Catch compiler-mismatch issues with the Introspection generator as early as possible -->
    <WarningsAsErrors>CS9057</WarningsAsErrors>
    <!-- Required for some nuget packages to work -->
    <!-- godotengine/godot/issues/42271#issuecomment-751423827 -->
    <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
    <!-- To show generated files -->
    <!-- <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> -->
    <!--
      <CompilerGeneratedFilesOutputPath>.generated</CompilerGeneratedFilesOutputPath>
    -->
  <!-- Trying to implement step 9 in Setting up own C# project -->
      <DefineConstants>$(DefineConstants);EOS_PLATFORM_WINDOWS_64</DefineConstants>
      <PlatformTarget>x64</PlatformTarget>
      <DebugType>portable</DebugType>
      <DebugSymbols>true</DebugSymbols>
      <Title>NetworkedDodgeball</Title>
      <Version>1.0.0</Version>
      <Description>NetworkedDodgeball</Description>
      <Copyright>© 2024</Copyright>
      <Authors></Authors>
      <Company></Company>
    <!-- Don't include unit tests in release builds. -->
    <DefaultItemExcludes Condition="'$(Configuration)' == 'ExportRelease'">
      $(DefaultItemExcludes);test/**/*
    </DefaultItemExcludes>
    <Configurations>Debug;ExportDebug;ExportRelease</Configurations>
    <Platforms>AnyCPU;win-x64;x64</Platforms>
  </PropertyGroup>
  <ItemGroup Condition=" '$(Configuration)' == 'Debug' or '$(Configuration)' == 'ExportDebug' ">
    <!-- Test dependencies go here! -->
    <!-- Dependencies added here will not be included in release builds. -->
    <PackageReference Include="Chickensoft.GoDotTest" Version="1.6.4" />
    <!-- Used to drive test scenes when testing visual code -->
    <PackageReference Include="Chickensoft.GodotTestDriver" Version="3.0.2" />
    <!-- Bring your own assertion library for tests! -->
    <!-- We're using Shouldly for this example, but you can use anything. -->
    <PackageReference Include="Shouldly" Version="4.3.0" />
    <!-- LightMock is a mocking library that works without reflection. -->
    <PackageReference Include="LightMock.Generator" Version="1.2.2" />
    <!-- LightMoq is a Chickensoft package which makes it more like Moq. -->
    <PackageReference Include="LightMoq" Version="0.1.0" />
  </ItemGroup>
  <ItemGroup>
    <!-- Production dependencies go here! -->
    <PackageReference Include="Chickensoft.GameTools" Version="2.0.6" />
    <Compile Include="..\SDK\Source\Core\**\*.cs">
      <Link>SDK\Core\%(RecursiveDir)%(Filename)%(Extension)</Link>
    </Compile>
    <Compile Include="..\SDK\Source\Generated\**\*.cs">
      <Link>SDK\Generated\%(RecursiveDir)%(Filename)%(Extension)</Link>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="EOSSDK-Win64-Shipping.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <None Include="EOSSDK-Win64-Shipping.dll" />
  </ItemGroup>
</Project>

````

---

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [April 24, 2025, 9:49am UTC](https://forums.unrealengine.com/t/error-the-type-or-namespace-name-socketid-could-not-be-found/2858290/2 "2025-04-24T09:49:44Z")

</div>

Hello! This tutorial was written for EOS SDK 1.14.1, but newer versions of the EOS SDK have an additional folder in the Source directory that will also need to be included.

Please update the PackageReference ItemGroup to include “..\SDK\Source\Overrides\*\*\*.cs”, which includes the SocketId struct definition.
