Skip to content

Commit

Permalink
feat: Add Platforms folder in VSIX template
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 5, 2020
1 parent 6d46e18 commit 2779561
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build/run-template-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function Get-TemplateConfiguration(
$f = If ($wasmVsCode) { $wasmVsCodeFlag } Else { $wasmVsCodeFlag + '=false' }
$g = If ($skiaWpf) { $skiaWpfFlag } Else { $skiaWpfFlag + '=false' }
$h = If ($skiaGtk) { $skiaGtkFlag } Else { $skiaGtkFlag + '=false' }
$i = If ($skiaTizen) { $skiaTizenFlag } Else { $skiaGtkTizen + '=false' }
$i = If ($skiaTizen) { $skiaTizenFlag } Else { $skiaTizenFlag + '=false' }

@($a, $b, $c, $d, $e, $f, $g, $h, $i)
}
Expand Down
22 changes: 12 additions & 10 deletions src/SolutionTemplate/UnoSolutionTemplate/UnoApp.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@
</TemplateData>
<TemplateContent>
<ProjectCollection>
<SolutionFolder Name="Platforms">
<ProjectTemplateLink ProjectName="$projectname$.Droid" CopyParameters="true">Droid\Android.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.iOS" CopyParameters="true">iOS\iOS.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.UWP" CopyParameters="true">UWP\UWP.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Wasm" CopyParameters="true">Wasm\Wasm.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.macOS" CopyParameters="true">macOS\macOS.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Wpf.Host" CopyParameters="true">Skia.Wpf.Host\SkiaWpfHost.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Wpf" CopyParameters="true">Skia.Wpf\SkiaWpf.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Gtk" CopyParameters="true">Skia.Gtk\SkiaGtk.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Tizen" CopyParameters="true">Skia.Tizen\SkiaTizen.vstemplate</ProjectTemplateLink>
</SolutionFolder>

<ProjectTemplateLink ProjectName="$projectname$.Shared" CopyParameters="true">Shared\Shared.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Droid" CopyParameters="true">Droid\Android.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.iOS" CopyParameters="true">iOS\iOS.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.UWP" CopyParameters="true">UWP\UWP.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Wasm" CopyParameters="true">Wasm\Wasm.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.macOS" CopyParameters="true">macOS\macOS.vstemplate</ProjectTemplateLink>

<ProjectTemplateLink ProjectName="$projectname$.Skia.Wpf.Host" CopyParameters="true">Skia.Wpf.Host\SkiaWpfHost.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Wpf" CopyParameters="true">Skia.Wpf\SkiaWpf.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Gtk" CopyParameters="true">Skia.Gtk\SkiaGtk.vstemplate</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Skia.Tizen" CopyParameters="true">Skia.Tizen\SkiaTizen.vstemplate</ProjectTemplateLink>
</ProjectCollection>
</TemplateContent>
<WizardExtension>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Skia.Tizen\Program.cs" />
<None Include="Skia.Tizen\Program.cs" />
<None Include="Skia.Tizen\Assets\Fonts\uno-fluentui-assets.ttf" />
<None Include="Skia.Tizen\UnoQuickStart.Skia.Tizen.csproj" />
<None Include="Skia.WPF\Program.cs" />
<None Include="Skia.WPF.Host\App.xaml.cs" />
Expand Down Expand Up @@ -239,9 +240,9 @@
<None Include="Skia.Gtk\SkiaGtk.vstemplate">
<SubType>Designer</SubType>
</None>
<Content Include="Skia.Tizen\shared\res\Icon.png" />
<None Include="Skia.Tizen\shared\res\Icon.png" />
<Content Include="Skia.Tizen\SkiaTizen.vstemplate" />
<Content Include="Skia.Tizen\tizen-manifest.xml" />
<None Include="Skia.Tizen\tizen-manifest.xml" />
<Content Include="UWP\Assets\LockScreenLogo.scale-200.png" />
<Content Include="UWP\Assets\SplashScreen.scale-200.png" />
<Content Include="UWP\Assets\Square150x150Logo.scale-200.png" />
Expand Down

0 comments on commit 2779561

Please sign in to comment.