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
merged 11 commits into from
Aug 28, 2018

Conversation

shana
Copy link
Member

@shana shana commented Aug 17, 2018

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
Copy link
Member Author

shana commented Aug 17, 2018

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

Copy link
Contributor

@StanleyGoldman StanleyGoldman left a comment

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
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