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 support for .NET 4.5.0 #128

Merged
merged 2 commits into from
Jun 5, 2020
Merged

Add support for .NET 4.5.0 #128

merged 2 commits into from
Jun 5, 2020

Conversation

ogaca-dd
Copy link
Contributor

@ogaca-dd ogaca-dd commented Jun 2, 2020

Add support for .NET framework 4.5.0.

@@ -19,7 +19,11 @@
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<DefineConstants>OS_WINDOWS</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net451' AND '$(TargetFramework)' != 'net461'">
<ItemGroup Condition="'$(TargetFramework)' != 'net45' AND '$(TargetFramework)' != 'net461'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0">
Copy link
Member

Choose a reason for hiding this comment

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

I thought the reference assemblies were needed to build net45 and net461 when those SDKs are not available (for example, on Linux). But the condition above includes the reference when not targeting those versions. Am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@ogaca-dd ogaca-dd merged commit 19432ca into master Jun 5, 2020
@ogaca-dd ogaca-dd deleted the olivierg/AddNet450Support branch June 5, 2020 13:47
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.

2 participants