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

Commit5c04a89

Browse files
authored
Merge pull requestdotnet#4646 from brettfo/reference-alias-hack
ensure reference alias is set before csc is invoked
2 parents284cb2f +d222ead commit5c04a89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎vsintegration/src/FSharp.ProjectSystem.Base/Project/ProjectSystem.Base.csproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272
<PackageReferenceInclude="VSSDK.VSLangProj.8"Version="$(VSSDKVSLangProj8PackageVersion)" />
7373
</ItemGroup>
7474

75-
<TargetName="HACK_AddAliasToMicrosoftVisualStudioShell140"BeforeTargets="ResolveReferences">
75+
<TargetName="HACK_AddAliasToMicrosoftVisualStudioShell140"BeforeTargets="CoreCompile">
7676
<ItemGroup>
7777
<!--
7878
We require a reference to Microsoft.VisualStudio.Shell.14.0.dll, but that causes some issues with duplicate type
7979
names. The ~hack~ fix is to include the package reference and ensure the Aliases metadata gets set afterwards.
8080
-->
81-
<ReferencePathUpdate="%(Identity)"Aliases="Shell14"Condition="'%(ReferencePath.PackageName)' == 'Microsoft.VisualStudio.Shell.14.0'" />
81+
<ReferencePathWithRefAssembliesUpdate="%(Identity)"Aliases="Shell14"Condition="'%(ReferencePathWithRefAssemblies.NuGetPackageId)' == 'Microsoft.VisualStudio.Shell.14.0'" />
8282
</ItemGroup>
8383
</Target>
8484

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp