Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d9b037

Browse files
jojKevinRansom
authored andcommitted
Only show retargeting dialog for .NetFramework projects (#3206)
There's several reasons for this, the most important being that only .NetFramework projects will provide a useful download. Also, not doing this resulted in a bug for Xamarin projects (Issue 2992). This fix is identical to what other projects do in Visual Studio.
1 parente7f7e5f commit8d9b037

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎vsintegration/src/FSharp.ProjectSystem.Base/Project/ProjectNode.cs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6442,10 +6442,14 @@ internal ExtensibilityEventsHelper ExtensibilityEventsHelper
64426442

64436443
privateboolIsTargetFrameworkInstalled()
64446444
{
6445+
vartargetFrameworkMoniker=newSystem.Runtime.Versioning.FrameworkName(GetTargetFrameworkMoniker());
6446+
//Only check for .NetFramework. The expectation is that other frameworks will perform any checks themselves.
6447+
if(targetFrameworkMoniker.Identifier!=".NetFramework")
6448+
returntrue;
6449+
64456450
varmultiTargeting=this.site.GetService(typeof(SVsFrameworkMultiTargeting))asIVsFrameworkMultiTargeting;
64466451
Arrayframeworks;
64476452
Marshal.ThrowExceptionForHR(multiTargeting.GetSupportedFrameworks(outframeworks));
6448-
vartargetFrameworkMoniker=newSystem.Runtime.Versioning.FrameworkName(GetTargetFrameworkMoniker());
64496453
foreach(stringfxinframeworks)
64506454
{
64516455
uintcompat;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp