Repository navigation
Ensure that implicit references for .NET Framework projects are appropriate when targeting net3x and net40 - #881
Merged
Conversation
ryalanms
approved these changes
Jun 5, 2019
nguerrera
reviewed
Jun 5, 2019
rladuca
approved these changes
Jun 6, 2019
…priate when targeting net3x and net40 Fixes #255
vatsan-madhavan
force-pushed
the
dev/vatsan/wd-multitarget
branch
from
June 6, 2019 22:16
ea70eed to
cc2c477
Compare
rladuca
approved these changes
Jun 7, 2019
…Microsoft.NET.Sdk` to test whether properties like `UseWpf` or `UseWindowsForms` are set without import `Microsoft.NET.Sdk.WindowsDesktop` and show a warning.
nguerrera
approved these changes
Jun 7, 2019
ericstj
approved these changes
Jun 7, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #255
Traditionally, Visual Studio has supplied these references for .NET Framework based WPF Projects:
.NET 3.x: PresentationCore, PresentationFramework, WindowsBase
.NET 4.x: PresentationCore, PresentationFramework, WindowsBase, System.Xaml
Microsoft.NET.WindowsDesktop.SDKwill supply the following references to .NET Framework basedWPF Projects:
.NET 3.x:
.NET 4.0:
.NET 4.5+:
Also adds
$(_MicrosoftNetSdkWindowsDesktop). This can be used later inMicrosoft.NET.Sdkto test whether properties likeUseWpforUseWindowsFormsare set without importMicrosoft.NET.Sdk.WindowsDesktopand show a warning.