Skip to content
Permalink
Browse files
+ Allow unsafe context for ScriptCompiler process.
  • Loading branch information
Voxpire committed Jul 7, 2018
1 parent 27a875e commit 3db57f01558c874c3a63520add4ae24c3b890d2b
Showing 2 changed files with 7 additions and 1 deletion.
@@ -12582,7 +12582,10 @@
<Content Include="Services\XmlSpawner\XMLSpawner Support\xmlspawner2.txt" />
<Content Include="Services\XmlSpawner\XMLSpawner Support\xmlspawner2doc.txt" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Folder Include="VitaNex\Core\" />
<Folder Include="VitaNex\Custom\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
@@ -60,8 +60,11 @@ public static string[] GetReferenceAssemblies()
public static string GetCompilerOptions(bool debug)
{
StringBuilder sb = null;

AppendCompilerOption(ref sb, "/d:ServUO");

AppendCompilerOption(ref sb, "/unsafe");

if (!debug)
{
AppendCompilerOption(ref sb, "/optimize");

0 comments on commit 3db57f0

Please sign in to comment.