You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
628 B
17 lines
628 B
5 years ago
|
using UnityEditor;
|
||
|
|
||
|
#if UNITY_2019_3_12
|
||
|
namespace Fungus.EditorUtils
|
||
|
{
|
||
|
//fix for a bug introduced in unity 2019.3.12 that prevents cross asmdef references from showing
|
||
|
// doco and code hinting correctly in vs2019
|
||
|
// https://forum.unity.com/threads/2019-3-12f1-build-errors.880312/
|
||
|
public class SolutionFileFixer : AssetPostprocessor
|
||
|
{
|
||
|
private static string OnGeneratedCSProject(string path, string content)
|
||
|
{
|
||
|
return content.Replace("<ReferenceOutputAssembly>false</ReferenceOutputAssembly>", "<ReferenceOutputAssembly>true</ReferenceOutputAssembly>");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#endif
|