I started modding a while ago and I alway get the problem that I can't acces a class I want to use. I already added a few depencies to Visual studio but I am still missing a few. So I want to ask what depencies I need.
that's my .csproj so far
I just download anything from NuGet I can find and sounds like it could be related to Rust modding
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Oxide.Core" Version="2.0.3982" />
<PackageReference Include="Oxide.CSharp" Version="2.0.4023" />
<PackageReference Include="Oxide.References" Version="2.0.3774" />
<PackageReference Include="Oxide.Rust" Version="2.0.4556" />
<PackageReference Include="Oxide.Unity" Version="2.0.3772" />
<PackageReference Include="Physics" Version="2.0.0" />
<PackageReference Include="Unity" Version="5.11.5" />
<PackageReference Include="Unity.Interception" Version="5.11.1" />
<PackageReference Include="UnityEngine5" Version="5.5.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\..\..\..\..\decompiled shit\Assembly-CSharp.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
at the moment I have a hard time finding the Raycast class or the Physics , it's used in a few plugins (CopyPaste, Remover)
"!Physics.Raycast(player.eyes.HeadRay()..."
that's my .csproj so far
I just download anything from NuGet I can find and sounds like it could be related to Rust modding
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Oxide.Core" Version="2.0.3982" />
<PackageReference Include="Oxide.CSharp" Version="2.0.4023" />
<PackageReference Include="Oxide.References" Version="2.0.3774" />
<PackageReference Include="Oxide.Rust" Version="2.0.4556" />
<PackageReference Include="Oxide.Unity" Version="2.0.3772" />
<PackageReference Include="Physics" Version="2.0.0" />
<PackageReference Include="Unity" Version="5.11.5" />
<PackageReference Include="Unity.Interception" Version="5.11.1" />
<PackageReference Include="UnityEngine5" Version="5.5.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\..\..\..\..\decompiled shit\Assembly-CSharp.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
at the moment I have a hard time finding the Raycast class or the Physics , it's used in a few plugins (CopyPaste, Remover)
"!Physics.Raycast(player.eyes.HeadRay()..."