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

CakeEnvironment.GetTargetFramework throws on Mono #549

Closed
patriksvensson opened this issue Dec 3, 2015 · 2 comments
Closed

CakeEnvironment.GetTargetFramework throws on Mono #549

patriksvensson opened this issue Dec 3, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@patriksvensson
Copy link
Member

For some reason AppDomainSetup.TargetFrameworkName returns null on Mono which causes CakeEnvironment.GetTargetFramework to throw.

We should return a default framework, preferably .NET 4.5 if we can not resolve the current framework as we're supposed to. We might need to find a more permanent fix in the future though.

@jrnail23
Copy link
Contributor

jrnail23 commented Dec 4, 2015

ugh... sorry this one was on me. I didn't have access to a Mono environment to test. 😦

@patriksvensson
Copy link
Member Author

@jrnail23 Not your fault. Bugs happen 😄

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

No branches or pull requests

3 participants