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

Add support for the 4.6 profile side by side with 3.5 in 2018.x - #889

Merged
StanleyGoldman merged 11 commits into
masterfrom
fixes/2018-support
Aug 28, 2018
Merged

StanleyGoldman merged 11 commits into
masterfrom
fixes/2018-support

Conversation

@shana

@shana shana commented Aug 17, 2018 •

Copy link
Copy Markdown
Member

Fixes #824

This PR adds support for the .net 4.6 profile by switching between the 3.5 and 4.5 versions of the DLLs and disabling importing of any dlls that are not needed for the target. This means that the System.Threading/AsyncBridge/ReadonlyCollections dlls we ship will only be loaded when running on the 3.5 profile.

GitHub.Api.45.csproj and GitHub.Unity.45.csproj are almost-exact copies of their original counterparts (just with the target framework and dll name changed, and irrelevant dependencies dropped).

@shana

shana commented Aug 17, 2018

Copy link
Copy Markdown
Member Author

A build of this branch is at https://github.com/github-for-unity/Unity/releases/tag/v1.0.3-beta1 for testing

@StanleyGoldman StanleyGoldman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow.

}
if (importer.GetCompatibleWithEditor() != enable)
{
importer.SetCompatibleWithEditor(enable);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow.

@StanleyGoldman
StanleyGoldman merged commit d2f898e into master Aug 28, 2018
@StanleyGoldman
StanleyGoldman deleted the fixes/2018-support branch August 28, 2018 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants