File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
2
3
3
<PropertyGroup >
4
- <RuntimeIdentifier Condition =" '$(Platform)' == ''" >win-x86</RuntimeIdentifier >
5
- <RuntimeIdentifier Condition =" '$(Platform)' != ''" >win-$(Platform)</RuntimeIdentifier >
4
+ <_RuntimeIdentifier Condition =" '$(Platform)' == ''" >win-x86</_RuntimeIdentifier >
5
+ <_RuntimeIdentifier Condition =" '$(Platform)' != ''" >win-$(Platform)</_RuntimeIdentifier >
6
6
</PropertyGroup >
7
7
8
8
<!-- Pre-download vcxproj dependencies as vcxprojs in this repo don't support NuGet package download. -->
9
9
<ItemGroup >
10
10
<PackageDownload Include =" Microsoft.NETCore.App.Ref" Version =" [$(MicrosoftNETCoreAppRefVersion)]" Condition =" '$(MicrosoftNETCoreAppRefVersion)' != ''" />
11
- <PackageDownload Include =" Microsoft.NETCore.App.Runtime.$(RuntimeIdentifier )" Version =" [$(MicrosoftNETCoreAppRuntimewinx64Version)]" Condition =" '$(MicrosoftNETCoreAppRuntimewinx64Version)' != ''" />
12
- <PackageDownload Include =" Microsoft.NETCore.App.Host.$(RuntimeIdentifier )" Version =" [$(MicrosoftNETCoreAppRuntimewinx64Version)]" Condition =" '$(MicrosoftNETCoreAppRuntimewinx64Version)' != ''" />
11
+ <PackageDownload Include =" Microsoft.NETCore.App.Runtime.$(_RuntimeIdentifier )" Version =" [$(MicrosoftNETCoreAppRuntimewinx64Version)]" Condition =" '$(MicrosoftNETCoreAppRuntimewinx64Version)' != ''" />
12
+ <PackageDownload Include =" Microsoft.NETCore.App.Host.$(_RuntimeIdentifier )" Version =" [$(MicrosoftNETCoreAppRuntimewinx64Version)]" Condition =" '$(MicrosoftNETCoreAppRuntimewinx64Version)' != ''" />
13
13
</ItemGroup >
14
14
15
15
</Project >
Original file line number Diff line number Diff line change 19
19
<KnownFrameworkReference Remove =" Microsoft.AspNetCore.App" />
20
20
</ItemGroup >
21
21
22
+ <!-- The below logic intentionally doesn't consider multiple .NETCoreApp TFMs as that isn't necessary at this point. -->
22
23
<PropertyGroup >
23
24
<UseOOBNETCoreAppTargetingPack Condition =" '$(UseOOBNETCoreAppTargetingPack)' == ''" >true</UseOOBNETCoreAppTargetingPack >
24
25
<UseOOBNETCoreAppRuntimePack Condition =" '$(UseOOBNETCoreAppRuntimePack)' == ''" >true</UseOOBNETCoreAppRuntimePack >
51
52
</ItemGroup >
52
53
53
54
<!-- Update paths for resolved packs which is necessary when the packs couldn't be resolved.
54
- This happens when package download is disabled and the package isn't available in the SDK's packs folder. -->
55
+ This happens when package download is disabled and the package isn't available in the SDK's packs folder.
56
+ This entire target can be removed when vcxproj's NuGet support gets enabled. -->
55
57
<Target Name =" UpdateOOBPacks"
56
58
Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"
57
59
AfterTargets =" ResolveFrameworkReferences" >
You can’t perform that action at this time.
0 commit comments