Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add System to required framework assemblies for net45 #919

Merged
merged 1 commit into from
Sep 30, 2015
Merged

add System to required framework assemblies for net45 #919

merged 1 commit into from
Sep 30, 2015

Conversation

adamralph
Copy link
Contributor

Currently, installing Octokit into a project which does not have a reference to System fails like so:

image

I always strip out all references from a project and only add back in what is required (it's surprising how often something like a simple business logic lib doesn't even need a reference to System).

Anyhow, this nasty looking error can be avoided by declaring System as a required framework assembly reference.

I've no idea if this is also required for netcore45. I tried it out in a sample netcore45 project but the whole notion of referencing framework assemblies explicitly doesn't even seem to exist there.

@khellang
Copy link
Contributor

:shipit:

@haacked
Copy link
Contributor

haacked commented Sep 30, 2015

I've no idea if this is also required for netcore45. I tried it out in a sample netcore45 project but the whole notion of referencing framework assemblies explicitly doesn't even seem to exist there.

Hey @Eilon! Got any suggestions about this?

@Eilon
Copy link
Contributor

Eilon commented Sep 30, 2015

Sorry not sure about netcore45 as I've never really use that. But this change as-is certainly seems to fix a real issue.

@Eilon
Copy link
Contributor

Eilon commented Sep 30, 2015

I talked to @anurse and he wasn't super sure. There is a concept of reference assemblies for netcore45 (Windows Phone, effectively), but either way a typical Windows Phone app effectively references everything on the system anyway (the dependencies are trimmed later).

So as such, I think this change is good as-is.

@haacked
Copy link
Contributor

haacked commented Sep 30, 2015

selfie-3

haacked added a commit that referenced this pull request Sep 30, 2015
add System to required framework assemblies for net45
@haacked haacked merged commit a1ea8ea into octokit:master Sep 30, 2015
@adamralph adamralph deleted the system-framework-assembly branch September 30, 2015 21:46
@Eilon
Copy link
Contributor

Eilon commented Oct 1, 2015

@haacked I strongly suspect that GIF will get reused now 😄

@hnrkndrssn
Copy link
Contributor

Hahah, that's pretty funny 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants