Skip to content

Commit 2223c71

Browse files
author
Ori Levari
authored
make the targetplatformversion attribute overridable for adapterselection and squeezenet js (#153)
1 parent 5e4c450 commit 2223c71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Samples/AdapterSelection/AdapterSelection/cpp/AdapterSelection.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
<ProjectGuid>{2E115EFB-F7EC-444E-A555-507D55A89BC9}</ProjectGuid>
3232
<Keyword>Win32Proj</Keyword>
3333
<RootNamespace>AdapterSelection</RootNamespace>
34-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
34+
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)' == ''">10.0.17763.0</WindowsTargetPlatformVersion>
35+
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
3536
<ProjectName>AdapterSelection</ProjectName>
3637
</PropertyGroup>
3738
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

Samples/SqueezeNetObjectDetection/UWP/js/SqueezeNetObjectDetectionJS.jsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).props" />
4949
<PropertyGroup>
5050
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
51-
<TargetPlatformVersion>10.0.17763.0</TargetPlatformVersion>
51+
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == ''">10.0.17763.0</TargetPlatformVersion>
5252
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
5353
<MinimumVisualStudioVersion>$(VersionNumberMajor).$(VersionNumberMinor)</MinimumVisualStudioVersion>
5454
<DefaultLanguage>en-US</DefaultLanguage>

0 commit comments

Comments
 (0)