Skip to content

Commit 7c2b387

Browse files
authored
Exclude a few more assemblies via magic references
1 parent 0b3f925 commit 7c2b387

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Compilation.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ private void PreparseScript(CompilablePlugin plugin)
222222
if (match.Success)
223223
{
224224
var result = match.Groups[1].Value;
225-
// TODO: Fix Oxide.References to avoid these and other dependency conflicts
226-
if (!result.StartsWith("Oxide.") && !result.StartsWith("Newtonsoft.Json") && !result.StartsWith("Rust.Workshop"))
225+
if (!result.StartsWith("Oxide.") && !result.StartsWith("Newtonsoft.Json") && !result.StartsWith("protobuf-net") && !result.StartsWith("Rust."))
227226
{
228227
AddReference(plugin, result);
229228
Interface.Oxide.LogInfo("Added '// Reference: {0}' in plugin '{1}'", result, plugin.Name);

0 commit comments

Comments
 (0)