Skip to content

Commit 7686dbe

Browse files
committed
fix: Removed a warning regarding pdb files in Unity on non-Windows platforms
Replaced the default PDB files with the new portable-pdb format
1 parent 4c2ac45 commit 7686dbe

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.GenericUnityInternals/GenericUnityEditorInternals/GenericUnityEditorInternals.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</PropertyGroup>
2727
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2828
<PlatformTarget>AnyCPU</PlatformTarget>
29-
<DebugType>pdbonly</DebugType>
29+
<DebugType>portable</DebugType>
3030
<Optimize>true</Optimize>
3131
<OutputPath>bin\Release\</OutputPath>
3232
<DefineConstants>TRACE</DefineConstants>
@@ -39,13 +39,13 @@
3939
<Reference Include="System.Core" />
4040
<Reference Include="System.Xml" />
4141
<Reference Include="UnityEngine.CoreModule">
42-
<HintPath>C:\Program Files\Unity Editors\2021.2.6f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
42+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
4343
</Reference>
4444
<Reference Include="UnityEditor.CoreModule">
45-
<HintPath>c:\Program Files\Unity Editors\2021.2.6f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll</HintPath>
45+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll</HintPath>
4646
</Reference>
4747
<Reference Include="UnityEngine.IMGUIModule">
48-
<HintPath>c:\Program Files\Unity Editors\2021.2.6f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll</HintPath>
48+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll</HintPath>
4949
</Reference>
5050
<Reference Include="GenericUnityObjects">
5151
<HintPath>..\..\..\..\Library\ScriptAssemblies\GenericUnityObjects.dll</HintPath>

.GenericUnityInternals/OdinInternals/OdinInternals.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</PropertyGroup>
2626
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2727
<PlatformTarget>AnyCPU</PlatformTarget>
28-
<DebugType>pdbonly</DebugType>
28+
<DebugType>portable</DebugType>
2929
<Optimize>true</Optimize>
3030
<OutputPath>bin\Release\</OutputPath>
3131
<DefineConstants>TRACE</DefineConstants>
@@ -46,20 +46,20 @@
4646
<Reference Include="System.Core" />
4747
<Reference Include="System.Xml" />
4848
<Reference Include="UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
49-
<HintPath>c:\Program Files\Unity Editors\2021.1.22f1\Editor\Data\Managed\UnityEngine\UnityEditor.dll</HintPath>
49+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEditor.dll</HintPath>
5050
</Reference>
5151
<Reference Include="UnityEditor.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
52-
<HintPath>c:\Program Files\Unity Editors\2021.1.22f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll</HintPath>
52+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll</HintPath>
5353
</Reference>
5454
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
55-
<HintPath>c:\Program Files\Unity Editors\2021.1.22f1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath>
55+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath>
5656
<Aliases>NonSplit</Aliases>
5757
</Reference>
5858
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
59-
<HintPath>c:\Program Files\Unity Editors\2021.1.22f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
59+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
6060
</Reference>
6161
<Reference Include="UnityEngine.IMGUIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
62-
<HintPath>c:\Program Files\Unity Editors\2021.1.22f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll</HintPath>
62+
<HintPath>C:\Program Files\Unity\Hub\Editor\2021.3.0f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll</HintPath>
6363
</Reference>
6464
</ItemGroup>
6565
<ItemGroup>

GenericUnityEditorInternals.dll

0 Bytes
Binary file not shown.

GenericUnityEditorInternals.pdb

-42.4 KB
Binary file not shown.

OdinInternals.dll

0 Bytes
Binary file not shown.

OdinInternals.pdb

-13.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)