Skip to content

Commit

Permalink
Cleanup Windows Phone refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jklawreszuk committed Apr 13, 2023
1 parent 9bbe9c8 commit 7f6e165
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 492 deletions.
5 changes: 0 additions & 5 deletions build/Stride.build
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@ Example of use:
<MSBuild Targets="Build" Projects="$(StrideSolution).sln" Properties="$(BuildProperties);StridePlatforms=$(StridePlatforms);StrideSkipAutoPack=true;StrideSkipUnitTests=true"/>
</Target>

<Target Name="BuildWindowsPhone">
<!-- Only a warning since build servers might still call this target for old branches -->
<Warning Text="Windows Phone doesn't exist anymore"/>
</Target>

<Target Name="BuildWindowsVulkan">
<MSBuild Targets="Restore" Projects="$(MSBuildThisFileFullPath)" Properties="StridePlatforms=$(StridePlatforms);StrideSolution=$(StrideSolution).Runtime;StrideGraphicsApis=Vulkan"/>
<MSBuild Targets="Build" Projects="$(StrideSolution).Runtime.sln" Properties="$(BuildProperties);StrideGraphicsApis=Vulkan;StrideSkipAutoPack=true;StrideSkipUnitTests=true"/>
Expand Down
4 changes: 0 additions & 4 deletions deps/freetype/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Propert
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=WindowsStore;Platform=x64
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=WindowsStore;Platform=Win32
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=WindowsStore;Platform=ARM
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=WindowsPhone;Platform=Win32
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=WindowsPhone;Platform=ARM
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=Windows10;Platform=x64
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=Windows10;Platform=Win32
msbuild ..\..\externals\freetype\builds\windows\vc2013\freetype.vcxproj /Property:Configuration=Release;StridePlatform=Windows10;Platform=ARM
Expand All @@ -14,7 +12,5 @@ xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\Windows\Release\*
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\Windows\Release\*.pdb Windows\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\Windows10\Release\*.dll Windows10\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\Windows10\Release\*.pdb Windows10\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\WindowsPhone\Release\*.dll WindowsPhone\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\WindowsPhone\Release\*.pdb WindowsPhone\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\WindowsStore\Release\*.dll WindowsStore\
xcopy /Y /S ..\..\externals\freetype\builds\windows\vc2013\bin\WindowsStore\Release\*.pdb WindowsStore\

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ and used by most projects.

### targets ###

* MSBuild target files to create easily cross-platform solutions (Android, iOS, WinRT, WinPhone, etc...), and define behaviors and targets globally. Extensible.
* MSBuild target files to create easily cross-platform solutions (Android, iOS, WinRT, etc...), and define behaviors and targets globally. Extensible.

----------

Expand Down

This file was deleted.

38 changes: 0 additions & 38 deletions sources/engine/Stride.Audio.Tests/Properties/WMAppManifest.xml

This file was deleted.

4 changes: 0 additions & 4 deletions sources/targets/MSBuild.Sdk.Extras/Inference.targets
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
<TargetFramework Condition="'$(TargetFramework)' == 'net-cf'">net35-cf</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'netmf'">netmf44</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'net'">net45</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'wpa'">wpa81</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'win'">win8</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'wp'">wp8</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == 'sl'">sl5</TargetFramework>
</PropertyGroup>

Expand Down Expand Up @@ -57,8 +55,6 @@
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'netmf'">.NETMicroFramework</TargetFrameworkIdentifier>

<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'sl'">Silverlight</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'wp'">WindowsPhone</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'wpa'">WindowsPhoneApp</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'win'">.NETCore</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'uap'">.NETCore</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'netcore'">.NETCore</TargetFrameworkIdentifier>
Expand Down
2 changes: 1 addition & 1 deletion sources/targets/MSBuild.Sdk.Extras/Platforms.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<PropertyGroup>
<_SdkPlatformName>$(TargetFrameworkIdentifier)</_SdkPlatformName>
<_SdkPlatformName Condition="'$(TargetFrameworkIdentifier)' == '.NETCore' OR '$(TargetFrameworkIdentifier)' == 'WindowsPhoneApp'">Windows</_SdkPlatformName>
<_SdkPlatformName Condition="'$(TargetFrameworkIdentifier)' == '.NETCore'">Windows</_SdkPlatformName>
<_SdkPlatformName Condition="'$(TargetFrameworkIdentifier)' == '.NETPortable'">Portable</_SdkPlatformName>
<_SdkPlatformName Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">NETFramework</_SdkPlatformName>
<_SdkPlatformName Condition="$(TargetFrameworkIdentifier.StartsWith('Xamarin'))">Xamarin</_SdkPlatformName>
Expand Down
10 changes: 0 additions & 10 deletions sources/targets/MSBuild.Sdk.Extras/Platforms/Windows.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@
<ImplicitFrameworkDefine Condition="'$(DisableImplicitFrameworkDefines)' != 'true'">WINDOWS8_1</ImplicitFrameworkDefine>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'wpa' OR '$(TargetFramework)' == 'wpa81'">
<TargetPlatformVersion>8.1</TargetPlatformVersion>
<TargetPlatformMinVersion>8.1</TargetPlatformMinVersion>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<TargetPlatformIdentifier>WindowsPhoneApp</TargetPlatformIdentifier>

<!-- Need to override the built-in implicit defines for wpa81 or it'll be WINDOWSPHONEAPP8_1 -->
<ImplicitFrameworkDefine Condition="'$(DisableImplicitFrameworkDefines)' != 'true'">WINDOWS_PHONE_APP</ImplicitFrameworkDefine>
</PropertyGroup>

<PropertyGroup Condition="'$(_SdkShortFrameworkIdentifier)' == 'uap'">
<TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Files:
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.Linux.csproj, IsTemplate: true, CurrentPlatform: Linux}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.macOS.csproj, IsTemplate: true, CurrentPlatform: macOS}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.Windows.csproj, IsTemplate: true, CurrentPlatform: Windows}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.WindowsPhone.csproj, IsTemplate: true, CurrentPlatform: WindowsPhone}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.WindowsStore.csproj, IsTemplate: true, CurrentPlatform: WindowsStore}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.iOS.csproj, IsTemplate: true, CurrentPlatform: iOS}
- {Source: $ProjectName$.csproj.t4, Target: $ProjectName$.Android.csproj, IsTemplate: true, CurrentPlatform: Android}
Expand All @@ -18,9 +17,6 @@ Files:
- {Source: MainPage.xaml.t4, Target: MainPage.xaml, IsTemplate: true}
- {Source: App.xaml.cs.t4, Target: App.xaml.cs, IsTemplate: true}
- {Source: App.xaml.t4, Target: App.xaml, IsTemplate: true}
- {Source: Resources\StrideIcon150x150.png, Target: Resources\WindowsPhone\Logo.png}
- {Source: Resources\StrideIcon150x150.png, Target: Resources\WindowsStore\Logo.png}
- {Source: Resources\StrideIcon54x54.png, Target: Resources\WindowsStore\SmallLogo.png}
- {Source: Resources\StrideIcon106x106.png, Target: Resources\WindowsPhone\SmallLogo.png}
- {Source: Resources\StrideSplashScreen480x800.png, Target: Resources\WindowsPhone\SplashScreen.png}
- {Source: Resources\StrideSplashScreen620x300.png, Target: Resources\WindowsStore\SplashScreen.png}
- {Source: Resources\StrideSplashScreen620x300.png, Target: Resources\WindowsStore\SplashScreen.png}
Loading

0 comments on commit 7f6e165

Please sign in to comment.