-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Fixing build break due to new SDK #90
Conversation
@@ -2,6 +2,7 @@ | |||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||
<PropertyGroup> | |||
<TargetFrameworkVersion Condition="!$(MSBuildProjectName.Contains('netcore'))">v4.7.2</TargetFrameworkVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don’t need the condition anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same note goes for other projects. The condition was useful in a props file. In the csproj, there is no need for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the condition from all csproj files.
This change modified netcore project files to contain property values to build properly such as
<UseWPF>true</UseWPF>
and<EnableDefaultItems>false</EnableDefaultItems>
.This change also moved
TargetFramework
/TargetFrameworkVersion
properties into the individual netcore/net framework project files instead of Directory.Build.props. This should allow us to build each project individually.This change also moved conditional
Reference Include
needed for multi-targeting from individual project files to the Directory.Build.props.Fixes #89, Fixes #67