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

MDLC to support also .Net 4.0 (beside 4.5) #884

Merged
merged 2 commits into from
Aug 30, 2015

Conversation

UgurAldanmaz
Copy link
Contributor

Changed compiler #if directive to support .Net 4.0 and 4.5

Changed compiler #if directive to support .Net 4.0 and 4.5
@UgurAldanmaz UgurAldanmaz changed the title Support changes for .Net 4.0 Changes at MDLC to support .Net 4.0 and .Net 4.5 Aug 30, 2015
@304NotModified
Copy link
Member

And the unit tests?

@UgurAldanmaz
Copy link
Contributor Author

I just changed the #if directive and compile it in 4.0. What kind of unit test can be written for this change? For references?

If you guide me, I will write a unit test that appropriate with this changes.

@304NotModified
Copy link
Member

There should be already unit tests for this. Those need also enabled for. Net 4

It should be in the test project and the class name is almost the same.

Changed unit tests that associated with MDLC.
@UgurAldanmaz
Copy link
Contributor Author

You are right! Sorry for oversight. I changed and pushed it too.

@304NotModified
Copy link
Member

Yes, those where all of them (I used "find all references" in the .Net 4.5 solution, and I checked if there were more #if statement in 1 file )

@304NotModified
Copy link
Member

So good catch! 👍

304NotModified added a commit that referenced this pull request Aug 30, 2015
Changes at MDLC to support .Net 4.0 and .Net 4.5
@304NotModified 304NotModified merged commit 883af33 into NLog:master Aug 30, 2015
@304NotModified 304NotModified changed the title Changes at MDLC to support .Net 4.0 and .Net 4.5 MDLC to support also .Net 4.0 (beside 4.5) Aug 30, 2015
@304NotModified 304NotModified added the enhancement Improvement on existing feature label Aug 30, 2015
@304NotModified 304NotModified added this to the 4.1 milestone Aug 30, 2015
@UgurAldanmaz UgurAldanmaz deleted the add-support-net4_0-MDLC branch August 30, 2015 17:36
@UgurAldanmaz UgurAldanmaz restored the add-support-net4_0-MDLC branch August 30, 2015 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants