Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Nov 20, 2018

TLDR when building a desktop component for Visual Studio you must target net46 and no higher

What this PR does

  • Change all projects to have a TargetFramework of net46
  • Change supportedRuntime for MetricsServer/App.config to v4.6.1 (for consistency)

What isn't fixed

There are still references to net461 in some packages.config files, but these are going away anyway in a separate PR so I haven't touched them. For example:

<package id="Expression.Blend.Sdk.WPF" version="1.0.1" targetFramework="net461" />

Related

Fixes #1849

This is the version that Visual Studio is compatible with. Compiling
for .NET Framework 4.6.1 risks referencing assemblies that aren't
always available.
@jcansdale jcansdale requested a review from grokys November 20, 2018 12:35
@jcansdale jcansdale merged commit cdfbc34 into master Nov 20, 2018
@jcansdale jcansdale deleted the fixes/1849-build-against-net46 branch November 20, 2018 12:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build against .NET 4.6 to avoid problems with .NET Standard

3 participants