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
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<Metadata>
<Identity Id="Microsoft.Windows.CppWinRT" Version="|%CurrentProject%;GetCppWinRTVersion|" Language="en-US" Publisher="Microsoft" />
<PackageId>Microsoft.Windows.CppWinRT</PackageId>
<DisplayName>C++/WinRT</DisplayName>
<Description xml:space="preserve">Tools for authoring and consuming Windows Runtime classes in standard C++.</Description>
<DisplayName>C++/WinRT templates and visualizer for VS2019</DisplayName>
<Description xml:space="preserve">Project and Item templates and the debug visualizer for C++/WinRT in Visual Studio 2019.</Description>
<MoreInfo>https://go.microsoft.com/fwlink/?linkid=869449</MoreInfo>
<License>LICENSE</License>
<License>..\LICENSE</License>
<GettingStartedGuide>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt</GettingStartedGuide>
<ReleaseNotes>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/faq</ReleaseNotes>
<Icon>cppwinrt.ico</Icon>
<PreviewImage>cppwinrt.png</PreviewImage>
<Icon>..\cppwinrt.ico</Icon>
<PreviewImage>..\cppwinrt.png</PreviewImage>
<Tags>WinRT, C++, cppwinrt, native</Tags>
</Metadata>
<Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,17.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[15.0,17.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[15.0,17.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[16.0,17.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[16.0,17.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[16.0,17.0)" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
Expand Down
21 changes: 21 additions & 0 deletions vsix/Dev16/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,26 @@
<Metadata>
<Identity Id="Microsoft.Windows.CppWinRT" Version="|%CurrentProject%;GetCppWinRTVersion|" Language="en-US" Publisher="Microsoft" />
<PackageId>Microsoft.Windows.CppWinRT</PackageId>
<DisplayName>C++/WinRT</DisplayName>
<Description xml:space="preserve">Tools for authoring and consuming Windows Runtime classes in standard C++.</Description>
<DisplayName>C++/WinRT templates and visualizer for VS2019</DisplayName>
<Description xml:space="preserve">Project and Item templates and the debug visualizer for C++/WinRT in Visual Studio 2019.</Description>
<MoreInfo>https://go.microsoft.com/fwlink/?linkid=869449</MoreInfo>
<License>LICENSE</License>
<License>..\LICENSE</License>
<GettingStartedGuide>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt</GettingStartedGuide>
<ReleaseNotes>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/faq</ReleaseNotes>
<Icon>cppwinrt.ico</Icon>
<PreviewImage>cppwinrt.png</PreviewImage>
<Icon>..\cppwinrt.ico</Icon>
<PreviewImage>..\cppwinrt.png</PreviewImage>
<Tags>WinRT, C++, cppwinrt, native</Tags>
</Metadata>
<Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[16.0, 17.0)">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[16.0, 17.0)">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[16.0, 17.0)">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
Expand Down
51 changes: 24 additions & 27 deletions vsix/vsix.csproj → vsix/Dev16/vsix.Dev16.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="PrepareBuild;Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.props')" />
<PropertyGroup>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<NuGetPackageImportStamp>
Expand Down Expand Up @@ -45,52 +44,53 @@
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment>
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
<IsProductComponent Condition="'$(Deployment)' == 'Component'">true</IsProductComponent>
</PropertyGroup>
<ItemGroup>
<Content Include="LICENSE">
<Content Include="..\LICENSE">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Microsoft\VC\v160</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Microsoft\VC\v160\Platforms\ARM\ImportBefore</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Microsoft\VC\v160\Platforms\ARM64\ImportBefore</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Microsoft\VC\v160\Platforms\Win32\ImportBefore</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Microsoft\VC\v160\Platforms\x64\ImportBefore</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Application Type\Windows Store\10.0\Platforms\ARM\ImportAfter</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Application Type\Windows Store\10.0\Platforms\ARM64\ImportAfter</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Application Type\Windows Store\10.0\Platforms\Win32\ImportAfter</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Application Type\Windows Store\10.0\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<Content Include="..\Application Type\Windows Store\10.0\Platforms\x64\ImportAfter\Microsoft.Cpp.CppWinRT.props">
<VSIXSubPath>Application Type\Windows Store\10.0\Platforms\x64\ImportAfter</VSIXSubPath>
<InstallRoot>MSBuild</InstallRoot>
<IncludeInVSIX>true</IncludeInVSIX>
Expand All @@ -99,7 +99,7 @@
<Link>Packages\Microsoft.Windows.CppWinRT.$(CppWinRTVersion).nupkg</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\natvis\cppwinrt.natvis">
<Content Include="..\..\natvis\cppwinrt.natvis">
<Link>%(Filename)%(Extension)</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand All @@ -118,29 +118,27 @@
<None Include="$(Deployment)\source.extension.vsixmanifest">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="cppwinrt.ico">
<Content Include="..\cppwinrt.ico">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="cppwinrt.png">
<Content Include="..\cppwinrt.png">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="x64\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VSSDK.BuildTools">
<Version>17.0.1619-preview1</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.props'))" />
<Error Condition="!Exists('packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.targets'))" />
</Target>
<Import Project=".\packages\Microsoft.VSSDK.BuildTools.16.0.2258\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('.\packages\Microsoft.VSSDK.BuildTools.16.0.2258\build\Microsoft.VSSDK.BuildTools.targets')" />
<Target Name="GetCppWinRTVersion" Outputs="$(CppWinRTVersion)" />
<Target Name="PrepareBuild" BeforeTargets="PrepareForBuild">
<Error Condition="'$(CppWinRTVersion)' == ''" Text="The project must be supplied with a CppWinRTVersion property value" />
Expand All @@ -149,8 +147,8 @@
<Error Condition="'$(NupkgDir)' == ''" Text="The project must be supplied with a NupkgDir property value" />
<Copy SourceFiles="..\LICENSE" DestinationFolder="$(MSBuildProjectDirectory)" />
<ItemGroup>
<VSTemplateFiles Include="*Templates\*\**\*.vstemplate" />
<OtherTemplateFiles Include="*Templates\*\**\*" />
<VSTemplateFiles Include="..\*Templates\*\**\*.vstemplate" />
<OtherTemplateFiles Include="..\*Templates\*\**\*" />
<OtherTemplateFiles Remove="@(OtherTemplateFiles)" Condition="'%(Extension)' == '.vstemplate'" />
<Templates Include="@(VSTemplateFiles)">
<StagingFolder>$(MSBuildProjectDirectory)\$(OutDir)%(RecursiveDir)</StagingFolder>
Expand All @@ -160,7 +158,7 @@
<Copy SourceFiles="@(Templates)" DestinationFolder="%(StagingFolder)" />
<XmlPoke XmlInputPath="%(StagedTemplates.Identity)" Query="/ns:VSTemplate/ns:WizardData/ns:packages/ns:package/@version" Value="$(CppWinRTVersion)" Namespaces="&lt;Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/vstemplate/2005' /&gt;" />
<ItemGroup>
<TemplateItems Include="@(OtherTemplateFiles);@(Templates->'%(StagingFolder)%(Filename).vstemplate');@(Templates->'cppwinrt.ico');@(Templates->'cppwinrt.png')">
<TemplateItems Include="@(OtherTemplateFiles);@(Templates->'%(StagingFolder)%(Filename).vstemplate');@(Templates->'..\cppwinrt.ico');@(Templates->'..\cppwinrt.png')">
<IncludeInVSIX>true</IncludeInVSIX>
<IsAssembly>false</IsAssembly>
<VSIXSubPath>%(RecursiveDir)</VSIXSubPath>
Expand All @@ -170,5 +168,4 @@
<Content Include="@(TemplateItems)" />
</ItemGroup>
</Target>
<Import Project="packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('packages\Microsoft.VSSDK.BuildTools.17.0.1619-preview1\build\Microsoft.VSSDK.BuildTools.targets')" />
</Project>
40 changes: 40 additions & 0 deletions vsix/Dev17/Component/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.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.Windows.CppWinRT.Dev17" Version="|%CurrentProject%;GetCppWinRTVersion|" Language="en-US" Publisher="Microsoft" />
<PackageId>Microsoft.Windows.CppWinRT.Dev17</PackageId>
<DisplayName>C++/WinRT templates and visualizer for VS2022</DisplayName>
<Description xml:space="preserve">Project and Item templates and the debug visualizer for C++/WinRT in Visual Studio 2022.</Description>
<MoreInfo>https://go.microsoft.com/fwlink/?linkid=869449</MoreInfo>
<License>..\LICENSE</License>
<GettingStartedGuide>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt</GettingStartedGuide>
<ReleaseNotes>https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/faq</ReleaseNotes>
<Icon>..\cppwinrt.ico</Icon>
<PreviewImage>..\cppwinrt.png</PreviewImage>
<Tags>WinRT, C++, cppwinrt, native</Tags>
</Metadata>
<Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
</Dependencies>
<Assets>
<Asset Type="NativeVisualizer" Path="cppwinrt.natvis" />
<Asset Type="DebuggerEngineExtension" Path="CppWinrtVisualizer.vsdconfig" />
<Asset Type="Microsoft.VisualStudio.ItemTemplate" Path="ItemTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" Path="ProjectTemplates" />
<Asset Type="Microsoft.Windows.CppWinRT.|%CurrentProject%;GetCppWinRTVersion|.nupkg" Source="File" Path="Microsoft.Windows.CppWinRT.|%CurrentProject%;GetCppWinRTVersion|.nupkg" VsixSubPath="Packages" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.VC.CoreBuildTools" Version="[17.0,18.0)" DisplayName="CppWinRT" />
</Prerequisites>
</PackageManifest>
21 changes: 21 additions & 0 deletions vsix/Dev17/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
Loading