Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
457 changes: 457 additions & 0 deletions dev/VSIX/Extension/Cpp/Common/VSPackage.Designer.cs

Large diffs are not rendered by default.

33 changes: 32 additions & 1 deletion dev/VSIX/Extension/Cpp/Common/VSPackage.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down Expand Up @@ -219,4 +219,35 @@
<data name="1043" xml:space="preserve">
<value>A project template that creates MSIX packages containing WinUI applications for side-loading or distribution via the Microsoft Store.</value>
</data>
<data name="1044" xml:space="preserve">
<value>Installing NuGet packages into project...</value>
</data>
<data name="1045" xml:space="preserve">
<value>Operation in progress...</value>
</data>
<data name="1046" xml:space="preserve">
<value>Missing Package Reference(s)</value>
</data>
<data name="1047" xml:space="preserve">
<value>Unable to add references to the following packages for {0}: {1}. Please add package references before building.</value>
</data>
<data name="1048" xml:space="preserve">
<value>[{0}] Unable to add references to the following packages: {1}.

This is an environment error. Please add package references before building the project.

For more details on the error, check the General tab in the Output window.</value>
</data>
<data name="1049" xml:space="preserve">
<value>Manage NuGet Packages</value>
</data>
<data name="1050" xml:space="preserve">
<value>See error details</value>
</data>
<data name="1051" xml:space="preserve">
<value>Missing Package References for {0}:</value>
</data>
<data name="1052" xml:space="preserve">
<value>Please manually add package references before building.</value>
</data>
</root>
2 changes: 1 addition & 1 deletion dev/VSIX/Extension/Cpp/Common/es-ES/VSPackage.es-ES.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
109 changes: 54 additions & 55 deletions dev/VSIX/Extension/Cpp/Dev17/Standalone/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,58 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Microsoft.WindowsAppSDK.Cpp.Dev17" Version="|%CurrentProject%;GetVSIXVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>Windows App SDK C++ VS Templates</DisplayName>
<Description xml:space="preserve">The Microsoft Windows App SDK Visual Studio extension adds C++ project and item templates to support building Windows apps and components in VS 2022-2026.</Description>
<MoreInfo>https://github.com/microsoft/WindowsAppSDK/</MoreInfo>
<License>LICENSE</License>
<GettingStartedGuide>https://github.com/microsoft/WindowsAppSDK/</GettingStartedGuide>
<ReleaseNotes>https://github.com/microsoft/WindowsAppSDK/releases</ReleaseNotes>
<Icon>WindowsAppSDK.png</Icon>
<PreviewImage>WindowsAppSDK.png</PreviewImage>
<Tags>WindowsAppSDK, WinAppSDK, WinUI, XAML, C++, C++/WinRT</Tags>
<Preview>false</Preview>
</Metadata>
<Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,19.0)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.ComponentGroup.UWP.Support" Version="[16.2.29003.222,19.0)" DisplayName="Universal Windows Platform tools" />
<Prerequisite Id="Microsoft.VisualStudio.ComponentGroup.UWP.VC" Version="[16.0,19.0)" DisplayName="C++ (v143) Universal Windows Platform tools" />
</Prerequisites>
<Reference Id="NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5" MinVersion="1.7.30402.9028">
<Name>NuGet Package Manager</Name>
<MoreInfoUrl>http://docs.microsoft.com/nuget/</MoreInfoUrl>
</Reference>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" AssemblyName="|%CurrentProject%;AssemblyName|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Desktop.CppWinRT.BlankWindow" d:TargetPath="|WinUI.Desktop.CppWinRT.BlankWindow;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.BlankPage" d:TargetPath="|WinUI.Neutral.CppWinRT.BlankPage;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.Resw" d:TargetPath="|WinUI.Neutral.CppWinRT.Resw;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.TemplatedControl" d:TargetPath="|WinUI.Neutral.CppWinRT.TemplatedControl;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.UserControl" d:TargetPath="|WinUI.Neutral.CppWinRT.UserControl;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Desktop.CppWinRT.PackagedApp" d:TargetPath="|WinUI.Desktop.CppWinRT.PackagedApp;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.ResourceDictionary" d:TargetPath="|WinUI.Neutral.CppWinRT.ResourceDictionary;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.RuntimeComponent" d:TargetPath="|WinUI.Neutral.CppWinRT.RuntimeComponent;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
</Assets>
<Metadata>
<Identity Id="Microsoft.WindowsAppSDK.Cpp.Dev17" Version="|%CurrentProject%;GetVSIXVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>Windows App SDK C++ VS Templates</DisplayName>
<Description xml:space="preserve">The Microsoft Windows App SDK Visual Studio extension adds C++ project and item templates to support building Windows apps and components in VS 2022-2026.</Description>
<MoreInfo>https://github.com/microsoft/WindowsAppSDK/</MoreInfo>
<License>LICENSE</License>
<GettingStartedGuide>https://github.com/microsoft/WindowsAppSDK/</GettingStartedGuide>
<ReleaseNotes>https://github.com/microsoft/WindowsAppSDK/releases</ReleaseNotes>
<Icon>WindowsAppSDK.png</Icon>
<PreviewImage>WindowsAppSDK.png</PreviewImage>
<Tags>WindowsAppSDK, WinAppSDK, WinUI, XAML, C++, C++/WinRT</Tags>
</Metadata>
<Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 19.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 19.0)">
<ProductArchitecture>arm64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,19.0)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.ComponentGroup.UWP.Support" Version="[16.2.29003.222,19.0)" DisplayName="Universal Windows Platform tools" />
<Prerequisite Id="Microsoft.VisualStudio.ComponentGroup.UWP.VC" Version="[16.0,19.0)" DisplayName="C++ (v143) Universal Windows Platform tools" />
</Prerequisites>
<Reference Id="NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5" MinVersion="1.7.30402.9028">
<Name>NuGet Package Manager</Name>
<MoreInfoUrl>http://docs.microsoft.com/nuget/</MoreInfoUrl>
</Reference>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" AssemblyName="|%CurrentProject%;AssemblyName|" />
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Desktop.CppWinRT.BlankWindow" d:TargetPath="|WinUI.Desktop.CppWinRT.BlankWindow;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.BlankPage" d:TargetPath="|WinUI.Neutral.CppWinRT.BlankPage;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.Resw" d:TargetPath="|WinUI.Neutral.CppWinRT.Resw;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.TemplatedControl" d:TargetPath="|WinUI.Neutral.CppWinRT.TemplatedControl;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.UserControl" d:TargetPath="|WinUI.Neutral.CppWinRT.UserControl;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Desktop.CppWinRT.PackagedApp" d:TargetPath="|WinUI.Desktop.CppWinRT.PackagedApp;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.ResourceDictionary" d:TargetPath="|WinUI.Neutral.CppWinRT.ResourceDictionary;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WinUI.Neutral.CppWinRT.RuntimeComponent" d:TargetPath="|WinUI.Neutral.CppWinRT.RuntimeComponent;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
</Assets>
</PackageManifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="Current">
<Project ToolsVersion="Current">
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
Expand Down Expand Up @@ -30,6 +30,9 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
<PropertyGroup>
<DefineConstants>$(DefineConstants);CPP_EXTENSION</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Include="$(VsixManifestSource)">
<SubType>Designer</SubType>
Expand Down Expand Up @@ -82,6 +85,11 @@
<Compile Include="..\..\..\Shared\WizardImplementation.cs" Link="WizardImplementation.cs" />
<Compile Include="..\..\..\Shared\WizardInfoBarEvents.cs" Link="WizardInfoBarEvents.cs" />
<Compile Include="..\..\..\Shared\OutputWindowHelper.cs" Link="OutputWindowHelper.cs" />
<Compile Include="..\Common\VSPackage.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>VSPackage.resx</DependentUpon>
</Compile>
<Content Include="@(ExtensionDependencies)">
<VSIXSubPath>.</VSIXSubPath>
<IncludeInVSIX>true</IncludeInVSIX>
Expand Down Expand Up @@ -161,9 +169,11 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="$(ExtensionDir)Cpp\Common\VSPackage.resx">
<Link>Resources\VSPackage.resx</Link>
<Generator></Generator>
</EmbeddedResource>
<Link>Resources\VSPackage.resx</Link>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>VSPackage.Designer.cs</LastGenOutput>
<CustomToolNamespace>WindowsAppSDK.Cpp.Extension.Dev17</CustomToolNamespace>
</EmbeddedResource>
<EmbeddedResource Include="$(ExtensionDir)Cpp\Common\cs-CZ\VSPackage.cs-CZ.resx">
<Link>Resources\VSPackage.cs-CZ.resx</Link>
<Generator></Generator>
Expand Down Expand Up @@ -221,6 +231,17 @@
<Generator></Generator>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Common\" />
</ItemGroup>
<!-- Include satellite resource assemblies in VSIX -->
<Target Name="IncludeSatelliteAssembliesInVSIX" AfterTargets="Build">
<ItemGroup>
<VSIXSourceItem Include="$(OutDir)**\*.resources.dll">
<VSIXSubPath>%(RecursiveDir)</VSIXSubPath>
</VSIXSourceItem>
</ItemGroup>
</Target>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="Exists('$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets')" />
</Project>
Loading