Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

fix build by adding OutputType exe to test project #179

Merged
merged 2 commits into from
May 25, 2017
Merged

Conversation

analogrelay
Copy link
Contributor

@analogrelay analogrelay commented May 25, 2017

continuing to work around dotnet/sdk#909

Merging after AppVeyor and Travis runs to unblock build.

@@ -0,0 +1,17 @@
#if NET461
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wasn't able to quickly track down how we fixed this before. In netcoreapp2.0 the Test SDK brings a dummy Program.Main, but in net461 we need one to make the compiler happy (because of <OutputType>exe</>), thus the #if

@@ -0,0 +1,17 @@
#if NET461
Copy link
Contributor

Choose a reason for hiding this comment

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

Copyright still?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now that we have a green build, I'll just add that as I merge.

@analogrelay analogrelay merged commit 06028e8 into dev May 25, 2017
@analogrelay analogrelay deleted the anurse/fix-build branch May 25, 2017 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants