Hyluss

Fix missing output namespace references

Jun 10th, 2021
430
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using UnityEditor;
  2. public class SolutionFileFixer : AssetPostprocessor
  3. {
  4.     private static string OnGeneratedCSProject(string path, string content)
  5.     {
  6.         return content.Replace("<ReferenceOutputAssembly>false</ReferenceOutputAssembly>", "<ReferenceOutputAssembly>true</ReferenceOutputAssembly>");
  7.     }
  8. }
RAW Paste Data