Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 82e6d9b

Browse files
committed
Adding .net 4.5 builds
1 parent 8b8a1ad commit 82e6d9b

20 files changed

+583
-101
lines changed

GitHub.Unity.sln

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.Unity", "src\UnityExtension\Assets\Editor\GitHub.Unity\GitHub.Unity.csproj", "{ADD7A18B-DD2A-4C22-A2C1-488964EFF30A}"
77
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.Unity.45", "src\UnityExtension\Assets\Editor\GitHub.Unity\GitHub.Unity.45.csproj", "{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}"
9+
EndProject
810
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.Api", "src\GitHub.Api\GitHub.Api.csproj", "{B389ADAF-62CC-486E-85B4-2D8B078DF763}"
911
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.Api.45", "src\GitHub.Api\GitHub.Api.45.csproj", "{B389ADAF-62CC-486E-85B4-2D8B078DF76B}"
13+
EndProject
1014
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHub.Logging", "src\GitHub.Logging\GitHub.Logging.csproj", "{BB6A8EDA-15D8-471B-A6ED-EE551E0B3BA0}"
1115
EndProject
1216
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CopyLibrariesToDevelopmentFolder", "src\packaging\CopyLibrariesToDevelopmentFolder\CopyLibrariesToDevelopmentFolder.csproj", "{44257C81-EE4A-4817-9AF4-A26C02AA6DD4}"
@@ -46,6 +50,13 @@ Global
4650
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30A}.dev|Any CPU.Build.0 = dev|Any CPU
4751
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30A}.Release|Any CPU.ActiveCfg = Release|Any CPU
4852
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30A}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.DebugNoUnity|Any CPU.ActiveCfg = Debug|Any CPU
56+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.dev|Any CPU.ActiveCfg = dev|Any CPU
57+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.dev|Any CPU.Build.0 = dev|Any CPU
58+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{ADD7A18B-DD2A-4C22-A2C1-488964EFF30B}.Release|Any CPU.Build.0 = Release|Any CPU
4960
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5061
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.Debug|Any CPU.Build.0 = Debug|Any CPU
5162
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.DebugNoUnity|Any CPU.ActiveCfg = Debug|Any CPU
@@ -54,6 +65,14 @@ Global
5465
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.dev|Any CPU.Build.0 = dev|Any CPU
5566
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.Release|Any CPU.ActiveCfg = Release|Any CPU
5667
{B389ADAF-62CC-486E-85B4-2D8B078DF763}.Release|Any CPU.Build.0 = Release|Any CPU
68+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
69+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.Debug|Any CPU.Build.0 = Debug|Any CPU
70+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.DebugNoUnity|Any CPU.ActiveCfg = Debug|Any CPU
71+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.DebugNoUnity|Any CPU.Build.0 = Debug|Any CPU
72+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.dev|Any CPU.ActiveCfg = dev|Any CPU
73+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.dev|Any CPU.Build.0 = dev|Any CPU
74+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.Release|Any CPU.ActiveCfg = Release|Any CPU
75+
{B389ADAF-62CC-486E-85B4-2D8B078DF76B}.Release|Any CPU.Build.0 = Release|Any CPU
5776
{BB6A8EDA-15D8-471B-A6ED-EE551E0B3BA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5877
{BB6A8EDA-15D8-471B-A6ED-EE551E0B3BA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
5978
{BB6A8EDA-15D8-471B-A6ED-EE551E0B3BA0}.DebugNoUnity|Any CPU.ActiveCfg = Debug|Any CPU

common/properties.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Build flags -->
44
<PropertyGroup>
55
<BuildType Condition="Exists('$(SolutionDir)script\src\MetricsService.cs')">Internal</BuildType>
6-
<BuildDefs Condition="$(Buildtype) == 'Internal'">ENABLE_METRICS</BuildDefs>
6+
<BuildDefs Condition="$(BuildType) == 'Internal'">ENABLE_METRICS</BuildDefs>
77
<BuildDefs>$(BuildDefs);ENABLE_MONO</BuildDefs>
88

99
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\script\lib\Managed\UnityEditor.dll')">$(SolutionDir)script\lib\</UnityDir>

src/GitHub.Api/GitHub.Api.45.csproj

Lines changed: 308 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{B389ADAF-62CC-486E-85B4-2D8B078DF76B}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>GitHub.Unity</RootNamespace>
11+
<AssemblyName>GitHub.Api.45</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkProfile />
15+
<LangVersion>6</LangVersion>
16+
<NuGetPackageImportStamp>
17+
</NuGetPackageImportStamp>
18+
<OutputPath>..\UnityExtension\Assets\Editor\build</OutputPath>
19+
</PropertyGroup>
20+
<Import Project="..\..\common\properties.props" />
21+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
22+
<DebugSymbols>true</DebugSymbols>
23+
<DebugType>full</DebugType>
24+
<Optimize>false</Optimize>
25+
<DefineConstants>DEBUG;TRACE;$(BuildDefs)</DefineConstants>
26+
<ErrorReport>prompt</ErrorReport>
27+
<WarningLevel>4</WarningLevel>
28+
<RunCodeAnalysis>false</RunCodeAnalysis>
29+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
30+
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
31+
</PropertyGroup>
32+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
33+
<DebugType>pdbonly</DebugType>
34+
<Optimize>true</Optimize>
35+
<DefineConstants>TRACE;$(BuildDefs)</DefineConstants>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
<BuildConfid>Release</BuildConfid>
39+
<RunCodeAnalysis>false</RunCodeAnalysis>
40+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
41+
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'dev|AnyCPU'">
44+
<DebugSymbols>true</DebugSymbols>
45+
<DebugType>full</DebugType>
46+
<Optimize>false</Optimize>
47+
<DefineConstants>TRACE;DEBUG;DEVELOPER_BUILD;$(BuildDefs)</DefineConstants>
48+
<ErrorReport>prompt</ErrorReport>
49+
<WarningLevel>4</WarningLevel>
50+
<RunCodeAnalysis>false</RunCodeAnalysis>
51+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
52+
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
53+
<CodeAnalysisRuleSet>..\..\common\codeanalysis-debug.ruleset</CodeAnalysisRuleSet>
54+
</PropertyGroup>
55+
<PropertyGroup>
56+
<BuildConfig Condition=" '$(BuildConfig)' == '' ">Debug</BuildConfig>
57+
</PropertyGroup>
58+
<ItemGroup>
59+
<Reference Include="ICSharpCode.SharpZipLib">
60+
<HintPath>$(SolutionDir)lib\ICSharpCode.SharpZipLib.dll</HintPath>
61+
</Reference>
62+
<Reference Include="Mono.Posix">
63+
<HintPath>$(SolutionDir)lib\Mono.Posix.dll</HintPath>
64+
</Reference>
65+
<Reference Include="sfw.net">
66+
<HintPath>$(SolutionDir)\lib\sfw\sfw.net.dll</HintPath>
67+
<Private>True</Private>
68+
</Reference>
69+
<Reference Include="System" />
70+
<Reference Include="System.Core" />
71+
<Reference Include="System.Threading" />
72+
</ItemGroup>
73+
<ItemGroup>
74+
<Compile Include="Application\ApplicationInfo.cs" />
75+
<Compile Include="Application\LoginResult.cs" />
76+
<Compile Include="Application\ApplicationConfiguration.cs" />
77+
<Compile Include="Application\Organization.cs" />
78+
<Compile Include="Cache\CacheContainer.cs" />
79+
<Compile Include="Cache\CacheInterfaces.cs" />
80+
<Compile Include="Cache\CachingClasses.cs" />
81+
<Compile Include="Extensions\ActionExtensions.cs" />
82+
<Compile Include="Extensions\ListExtensions.cs" />
83+
<Compile Include="Git\Tasks\GitCheckoutTask.cs" />
84+
<Compile Include="Git\GitAheadBehindStatus.cs" />
85+
<Compile Include="Git\Tasks\GitAheadBehindStatusTask.cs" />
86+
<Compile Include="Git\Tasks\GitCountObjectsTask.cs" />
87+
<Compile Include="Git\Tasks\GitLfsVersionTask.cs" />
88+
<Compile Include="Git\Tasks\GitVersionTask.cs" />
89+
<Compile Include="Git\TreeData.cs" />
90+
<Compile Include="GlobalSuppressions.cs" />
91+
<Compile Include="Helpers\AssemblyResources.cs" />
92+
<Compile Include="Authentication\IKeychain.cs" />
93+
<Compile Include="Authentication\Keychain.cs" />
94+
<Compile Include="Authentication\LoginManager.cs" />
95+
<Compile Include="Authentication\ILoginManager.cs" />
96+
<Compile Include="Application\ApplicationManagerBase.cs" />
97+
<Compile Include="Helpers\Constants.cs" />
98+
<Compile Include="Helpers\Validation.cs" />
99+
<Compile Include="Installer\GitInstaller.cs" />
100+
<Compile Include="Installer\OctorunInstaller.cs" />
101+
<Compile Include="Installer\UnzipTask.cs" />
102+
<Compile Include="IO\FileSystem.cs" />
103+
<Compile Include="Managers\Downloader.cs" />
104+
<Compile Include="OutputProcessors\GitAheadBehindStatusOutputProcessor.cs" />
105+
<Compile Include="OutputProcessors\GitCountObjectsProcessor.cs" />
106+
<Compile Include="OutputProcessors\LfsVersionOutputProcessor.cs" />
107+
<Compile Include="OutputProcessors\LinuxDiskUsageOutputProcessor.cs" />
108+
<Compile Include="OutputProcessors\VersionOutputProcessor.cs" />
109+
<Compile Include="Helpers\TaskHelpers.cs" />
110+
<Compile Include="OutputProcessors\WindowsDiskUsageOutputProcessor.cs" />
111+
<Compile Include="Platform\DefaultEnvironment.cs" />
112+
<Compile Include="Extensions\EnvironmentExtensions.cs" />
113+
<Compile Include="Extensions\FileEventExtensions.cs" />
114+
<Compile Include="Events\RepositoryWatcher.cs" />
115+
<Compile Include="Extensions\FileSystemExtensions.cs" />
116+
<Compile Include="Extensions\StreamExtensions.cs" />
117+
<Compile Include="Git\GitFileStatus.cs" />
118+
<Compile Include="Git\GitLock.cs" />
119+
<Compile Include="Git\GitObjectFactory.cs" />
120+
<Compile Include="Git\GitStatusEntry.cs" />
121+
<Compile Include="Git\IGitObjectFactory.cs" />
122+
<Compile Include="Git\Tasks\GitRevertTask.cs" />
123+
<Compile Include="Application\IApplicationManager.cs" />
124+
<Compile Include="Platform\LinuxDiskUsageTask.cs" />
125+
<Compile Include="Platform\WindowsDiskUsageTask.cs" />
126+
<Compile Include="Primitives\Package.cs" />
127+
<Compile Include="Primitives\TheVersion.cs" />
128+
<Compile Include="Tasks\ActionTask.cs" />
129+
<Compile Include="Tasks\BaseOutputProcessor.cs" />
130+
<Compile Include="Tasks\ConcurrentExclusiveInterleave.cs" />
131+
<Compile Include="Tasks\ConfigOutputProcessor.cs" />
132+
<Compile Include="Tasks\DownloadTask.cs" />
133+
<Compile Include="Tasks\ITaskManager.cs" />
134+
<Compile Include="Tasks\OctorunTask.cs" />
135+
<Compile Include="Tasks\ProcessTask.cs" />
136+
<Compile Include="Tasks\TaskBase.cs" />
137+
<Compile Include="Tasks\TaskCanceledExceptions.cs" />
138+
<Compile Include="Tasks\TaskExtensions.cs" />
139+
<Compile Include="Tasks\TaskManager.cs" />
140+
<Compile Include="Platform\FindExecTask.cs" />
141+
<Compile Include="Helpers\Progress.cs" />
142+
<Compile Include="Metrics\IMetricsService.cs" />
143+
<Compile Include="Metrics\IUsageTracker.cs" />
144+
<Compile Include="Metrics\UsageModel.cs" />
145+
<Compile Include="Metrics\UsageTracker.cs" />
146+
<Compile Include="Git\Tasks\GitLfsInstallTask.cs" />
147+
<Compile Include="Git\Tasks\GitRemoteChangeTask.cs" />
148+
<Compile Include="Git\Tasks\GitRemoveFromIndexTask.cs" />
149+
<Compile Include="IO\Utils.cs" />
150+
<Compile Include="Threading\IMainThreadSynchronizationContext.cs" />
151+
<Compile Include="Installer\IZipHelper.cs" />
152+
<Compile Include="Installer\ZipHelper.cs" />
153+
<Compile Include="Extensions\AsyncExtensions.cs" />
154+
<Compile Include="Platform\Settings.cs" />
155+
<Compile Include="OutputProcessors\BranchListOutputProcessor.cs" />
156+
<Compile Include="OutputProcessors\LocksOutputProcessor.cs" />
157+
<Compile Include="OutputProcessors\LogEntryOutputProcessor.cs" />
158+
<Compile Include="OutputProcessors\ProcessManager.cs" />
159+
<Compile Include="OutputProcessors\StatusOutputProcessor.cs" />
160+
<Compile Include="Git\GitConfig.cs" />
161+
<Compile Include="OutputProcessors\LineProcessor.cs" />
162+
<Compile Include="Git\GitRemote.cs" />
163+
<Compile Include="OutputProcessors\IProcessManager.cs" />
164+
<Compile Include="IO\NiceIO.cs" />
165+
<Compile Include="OutputProcessors\RemoteListOutputProcessor.cs" />
166+
<Compile Include="Git\IRepository.cs" />
167+
<Compile Include="Platform\ISettings.cs" />
168+
<Compile Include="Localization.Designer.cs">
169+
<AutoGen>True</AutoGen>
170+
<DesignTime>True</DesignTime>
171+
<DependentUpon>Localization.resx</DependentUpon>
172+
</Compile>
173+
<Compile Include="Platform\ProcessEnvironment.cs" />
174+
<Compile Include="Platform\IProcessEnvironment.cs" />
175+
<Compile Include="Properties\AssemblyInfo.cs" />
176+
<Compile Include="Git\Repository.cs" />
177+
<Compile Include="Git\RepositoryManager.cs" />
178+
<Compile Include="Git\GitClient.cs" />
179+
<Compile Include="Helpers\SimpleJson.cs" />
180+
<Compile Include="Git\FailureSeverity.cs" />
181+
<Compile Include="Git\Tasks\GitAddTask.cs" />
182+
<Compile Include="Git\GitBranch.cs" />
183+
<Compile Include="Git\Tasks\GitBranchCreateTask.cs" />
184+
<Compile Include="Git\Tasks\GitBranchDeleteTask.cs" />
185+
<Compile Include="Git\Tasks\GitCommitTask.cs" />
186+
<Compile Include="Git\Tasks\GitConfigGetTask.cs" />
187+
<Compile Include="Git\Tasks\GitConfigListTask.cs" />
188+
<Compile Include="Git\Tasks\GitConfigSetTask.cs" />
189+
<Compile Include="Git\GitConfigSource.cs" />
190+
<Compile Include="Git\Tasks\GitFetchTask.cs" />
191+
<Compile Include="Git\Tasks\GitInitTask.cs" />
192+
<Compile Include="Git\Tasks\GitListBranchesTask.cs" />
193+
<Compile Include="Git\Tasks\GitListLocksTask.cs" />
194+
<Compile Include="Git\Tasks\GitLockTask.cs" />
195+
<Compile Include="Git\GitLogEntry.cs" />
196+
<Compile Include="Git\Tasks\GitLogTask.cs" />
197+
<Compile Include="Git\Tasks\GitPullTask.cs" />
198+
<Compile Include="Git\Tasks\GitPushTask.cs" />
199+
<Compile Include="Git\Tasks\GitRemoteAddTask.cs" />
200+
<Compile Include="Git\Tasks\GitRemoteBranchDeleteTask.cs" />
201+
<Compile Include="Git\Tasks\GitRemoteListTask.cs" />
202+
<Compile Include="Git\Tasks\GitRemoteRemoveTask.cs" />
203+
<Compile Include="Git\GitStatus.cs" />
204+
<Compile Include="Git\Tasks\GitStatusTask.cs" />
205+
<Compile Include="Git\Tasks\GitSwitchBranchesTask.cs" />
206+
<Compile Include="Git\Tasks\GitUnlockTask.cs" />
207+
<Compile Include="Threading\IAwaitable.cs" />
208+
<Compile Include="Threading\IAwaiter.cs" />
209+
<Compile Include="Threading\ThreadingHelper.cs" />
210+
<Compile Include="Application\IApiClient.cs" />
211+
<Compile Include="Application\ApiClient.cs" />
212+
<Compile Include="Authentication\AuthenticationResult.cs" />
213+
<Compile Include="Authentication\AuthenticationResultExtensions.cs" />
214+
<Compile Include="Authentication\Credential.cs" />
215+
<Compile Include="Extensions\ExceptionExtensions.cs" />
216+
<Compile Include="Helpers\Guard.cs" />
217+
<Compile Include="Authentication\ICredentialManager.cs" />
218+
<Compile Include="Platform\IEnvironment.cs" />
219+
<Compile Include="Primitives\HostAddress.cs" />
220+
<Compile Include="Primitives\StringEquivalent.cs" />
221+
<Compile Include="Primitives\UriString.cs" />
222+
<Compile Include="Authentication\KeychainAdapter.cs" />
223+
<Compile Include="Extensions\StringExtensions.cs" />
224+
<Compile Include="Extensions\UriExtensions.cs" />
225+
<Compile Include="Platform\Platform.cs" />
226+
<Compile Include="Git\GitCredentialManager.cs" />
227+
<Compile Include="UI\TreeBase.cs" />
228+
</ItemGroup>
229+
<Choose>
230+
<When Condition="$(Buildtype) == 'Internal'">
231+
<ItemGroup>
232+
<Compile Include="$(SolutionDir)\script\src\MetricsService.cs">
233+
<Link>Metrics\MetricsService.cs</Link>
234+
</Compile>
235+
<Compile Include="$(SolutionDir)\script\src\ApplicationInfo_Local.cs">
236+
<Link>Properties\ApplicationInfo_Local.cs</Link>
237+
</Compile>
238+
</ItemGroup>
239+
</When>
240+
<Otherwise>
241+
<ItemGroup>
242+
<None Include="$(SolutionDir)\common\ApplicationInfo_Local.cs-example" Condition="!Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')">
243+
<Link>Properties\ApplicationInfo_Local.cs-example</Link>
244+
</None>
245+
<Compile Include="$(SolutionDir)\common\ApplicationInfo_Local.cs" Condition="Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')">
246+
<Link>Properties\ApplicationInfo_Local.cs</Link>
247+
</Compile>
248+
</ItemGroup>
249+
</Otherwise>
250+
</Choose>
251+
<ItemGroup>
252+
<ProjectReference Include="..\GitHub.Logging\GitHub.Logging.csproj">
253+
<Project>{bb6a8eda-15d8-471b-a6ed-ee551e0b3ba0}</Project>
254+
<Name>GitHub.Logging</Name>
255+
</ProjectReference>
256+
</ItemGroup>
257+
<ItemGroup>
258+
<EmbeddedResource Include="PlatformResources\mac\gitconfig" />
259+
<EmbeddedResource Include="PlatformResources\windows\gitconfig" />
260+
<EmbeddedResource Include="PlatformResources\linux\gitconfig" />
261+
<EmbeddedResource Include="Resources\.gitattributes" />
262+
<EmbeddedResource Include="Resources\.gitignore" />
263+
<EmbeddedResource Include="PlatformResources\linux\git-lfs.json" />
264+
<EmbeddedResource Include="PlatformResources\mac\git-lfs.json" />
265+
<EmbeddedResource Include="PlatformResources\windows\git-lfs.json" />
266+
<EmbeddedResource Include="PlatformResources\windows\git.json" />
267+
<None Include="PlatformResources\linux\git-lfs.zip" />
268+
<None Include="PlatformResources\mac\git-lfs.zip" />
269+
<None Include="PlatformResources\windows\git-lfs.zip" />
270+
<None Include="PlatformResources\windows\git.zip" />
271+
<EmbeddedResource Include="Resources\octorun.zip" />
272+
<EmbeddedResource Include="Resources\octorun.zip.md5" />
273+
</ItemGroup>
274+
<ItemGroup>
275+
<None Include="packages.config" />
276+
<EmbeddedResource Include="Localization.resx">
277+
<Generator>PublicResXFileCodeGenerator</Generator>
278+
<LastGenOutput>Localization.Designer.cs</LastGenOutput>
279+
<SubType>Designer</SubType>
280+
</EmbeddedResource>
281+
</ItemGroup>
282+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
283+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
284+
Other similar extension points exist, see Microsoft.Common.targets.
285+
<Target Name="BeforeBuild">
286+
</Target>
287+
-->
288+
<Target Name="AfterBuild">
289+
<Copy
290+
SourceFiles="PlatformResources\linux\git-lfs.zip;PlatformResources\linux\git-lfs.json"
291+
DestinationFolder="$(SolutionDir)\src\UnityExtension\Assets\Editor\GitHub.Unity\PlatformResources\linux"
292+
SkipUnchangedFiles="true"
293+
/>
294+
295+
<Copy
296+
SourceFiles="PlatformResources\mac\git-lfs.zip;PlatformResources\mac\git-lfs.json"
297+
DestinationFolder="$(SolutionDir)\src\UnityExtension\Assets\Editor\GitHub.Unity\PlatformResources\mac"
298+
SkipUnchangedFiles="true"
299+
/>
300+
301+
<Copy
302+
SourceFiles="PlatformResources\windows\git.zip;PlatformResources\windows\git.json;PlatformResources\windows\git-lfs.zip;PlatformResources\windows\git-lfs.json"
303+
DestinationFolder="$(SolutionDir)\src\UnityExtension\Assets\Editor\GitHub.Unity\PlatformResources\windows"
304+
SkipUnchangedFiles="true"
305+
/>
306+
</Target>
307+
<Import Project="..\..\common\build.targets" />
308+
</Project>

src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
using GitHub.Logging;
22
using System;
3-
using System.IO;
4-
using System.Net;
5-
using System.Net.Security;
6-
using System.Security.Cryptography.X509Certificates;
73
using UnityEditor;
84
using UnityEngine;
95

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
using UnityEditor;
3+
using UnityEngine;
4+
using GitHub.Logging;
5+
6+
namespace GitHub.Unity
7+
{
8+
[InitializeOnLoad]
9+
public class EntryPoint : ScriptableObject
10+
{
11+
12+
}
13+
}

0 commit comments

Comments
 (0)