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

Moving ReadOnlyCollection to a different namespace - #65

Merged
shana merged 19 commits into
masterfrom
fixes/readonlycollection-collision
Jul 3, 2017
Merged

shana merged 19 commits into
masterfrom
fixes/readonlycollection-collision

Conversation

@StanleyGoldman

@StanleyGoldman StanleyGoldman commented Jun 29, 2017 •

Copy link
Copy Markdown
Contributor

Fixes: #64
Fixes: #69

  • For ease of development we have removed submodules and included them as compiled DLLs.
  • Added a solution GitHub.Unity.Internal that expects to find dependent repos as siblings to this repo, their names should be the same as their repositories
  • Added functionality for the projects check the solution name, if it is equal to GitHub.Unity.Internal they set a flag
  • If the flag is set dependent projects are included with project references instead of libraries

@StanleyGoldman
StanleyGoldman force-pushed the fixes/readonlycollection-collision branch from ddc1df1 to 8fe2277 Compare June 29, 2017 21:40
Comment thread src/GitHub.Api/GitHub.Api.csproj Outdated
<AssemblyName>GitHub.Api</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionType Condition="$(SolutionName)=='GitHub.Unity.Internal'">Internal</SolutionType>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part one of the trick

</ItemGroup>
<Choose>
<When Condition="$(SolutionType) == 'Internal'">
<ItemGroup>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part two of the trick

@shana

shana commented Jul 3, 2017

Copy link
Copy Markdown
Member

Renamed the solution to GitHub.Unity.OctokitDebugging.sln to be more clear as to what it is.

Replaced the octokit and threading dlls with mono-built ones to get the symbol files when running with Unity.

Moved the custom targets out to separate files so VS doesn't keep screwing up the formatting.

@shana
shana force-pushed the fixes/readonlycollection-collision branch from 976d2ae to 0a36fc9 Compare July 3, 2017 13:22
VS loves to screw around with the csproj format, so move all the custom rules
into separate files that it can't screw around with.

This also gives the added benefit of shutting up the warning about duplicate
AssemblyVersionInformation types, because apparently VS doesn't show files
that are included for compilation from external targets files but it still
includes them in the compilation (bug? feature? shrug)

Add instructions for the GitHub.Unity.OctokitDebugging solution

Add mono-built versions of octokit and dotnet-http.
Octokit: 0.23.0.1
dotnet-httpClient35: 3.5.0.0 (3.5.22000.1-gfu)
@shana
shana force-pushed the fixes/readonlycollection-collision branch from 0a36fc9 to e8ff209 Compare July 3, 2017 13:25
@shana
shana merged commit b916ffb into master Jul 3, 2017
@shana
shana deleted the fixes/readonlycollection-collision branch July 3, 2017 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants