diff options
author | Amadeusz Wieczorek <amwieczo@microsoft.com> | 2019-08-22 01:10:57 +0300 |
---|---|---|
committer | Amadeusz Wieczorek <amwieczo@microsoft.com> | 2019-08-22 01:10:57 +0300 |
commit | 9b7b94c0d2fce97717f7db4733f97ab087617cf3 (patch) | |
tree | e59daa6761e093d23df41f86d6e3cc114f122e18 /samples | |
parent | eff583c97f3bd789e99d7ec90646782d2cca115d (diff) |
Fix issues with old VSIX project by creating a modern VSIX project
Diffstat (limited to 'samples')
11 files changed, 124 insertions, 407 deletions
diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/AsyncQuickInfoDemo.VSIX.csproj b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/AsyncQuickInfoDemo.VSIX.csproj new file mode 100644 index 0000000..77cc8e1 --- /dev/null +++ b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/AsyncQuickInfoDemo.VSIX.csproj @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> + <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> + </PropertyGroup> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <SchemaVersion>2.0</SchemaVersion> + <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <ProjectGuid>{CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>AsyncQuickInfoDemo.VSIX</RootNamespace> + <AssemblyName>AsyncQuickInfoDemo.VSIX</AssemblyName> + <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> + <GeneratePkgDefFile>false</GeneratePkgDefFile> + <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> + <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> + <IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> + <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> + <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> + <StartAction>Program</StartAction> + <StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram> + <StartArguments>/rootsuffix Exp</StartArguments> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="source.extension.vsixmanifest"> + <SubType>Designer</SubType> + </None> + </ItemGroup> + <ItemGroup> + <PackageReference Include="Microsoft.VisualStudio.SDK" Version="16.0.200" ExcludeAssets="runtime" /> + <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="16.2.3074" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\AsyncQuickInfoDemo\AsyncQuickInfoDemo.csproj"> + <Project>{a8c6a9ed-4c62-420e-b7ac-1a6936a8a523}</Project> + <Name>AsyncQuickInfoDemo</Name> + <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> + <IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/Properties/AssemblyInfo.cs b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/Properties/AssemblyInfo.cs index de208ac..a27bc3b 100644 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/Properties/AssemblyInfo.cs +++ b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/Properties/AssemblyInfo.cs @@ -1,14 +1,15 @@ using System.Reflection; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("AsyncQuickInfoDemo.VSWindows")] +[assembly: AssemblyTitle("AsyncQuickInfoDemo.VSIX")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AsyncQuickInfoDemo.VSWindows")] +[assembly: AssemblyProduct("AsyncQuickInfoDemo.VSIX")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/source.extension.vsixmanifest b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/source.extension.vsixmanifest new file mode 100644 index 0000000..693b446 --- /dev/null +++ b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSIX/source.extension.vsixmanifest @@ -0,0 +1,20 @@ +<?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="AsyncQuickInfoDemo.VSIX.c148b3d5-d53d-4bed-b3bc-9a4af5e6ef15" Version="1.0" Language="en-US" Publisher="Microsoft" /> + <DisplayName>Async Quick Info Demo</DisplayName> + <Description>Demonstrates xPlat Async Quick Info in Visual Studio</Description> + </Metadata> + <Installation> + <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[16.0, 17.0)" /> + </Installation> + <Dependencies> + <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> + </Dependencies> + <Assets> + <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="AsyncQuickInfoDemo" Path="|AsyncQuickInfoDemo|" /> + </Assets> + <Prerequisites> + <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,17.0)" DisplayName="Visual Studio core editor" /> + </Prerequisites> +</PackageManifest> diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemo.VSWindows.csproj b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemo.VSWindows.csproj deleted file mode 100644 index 49459bd..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemo.VSWindows.csproj +++ /dev/null @@ -1,195 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.props')" /> - <PropertyGroup> - <MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> - <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> - <NuGetPackageImportStamp> - </NuGetPackageImportStamp> - <UseCodebase>true</UseCodebase> - </PropertyGroup> - <PropertyGroup> - <SignAssembly>false</SignAssembly> - </PropertyGroup> - <PropertyGroup> - <AssemblyOriginatorKeyFile> - </AssemblyOriginatorKeyFile> - </PropertyGroup> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <ProjectGuid>{102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}</ProjectGuid> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>AsyncQuickInfoDemo.VSWindows</RootNamespace> - <AssemblyName>AsyncQuickInfoDemo.VSWindows</AssemblyName> - <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> - <GeneratePkgDefFile>true</GeneratePkgDefFile> - <IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer> - <IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer> - <IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment> - <CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory> - <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> - <StartAction>Program</StartAction> - <StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram> - <StartArguments>/rootsuffix Exp</StartArguments> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <ItemGroup> - <Compile Include="AsyncQuickInfoDemoPackage.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - </ItemGroup> - <ItemGroup> - <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="EnvDTE100, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="EnvDTE90, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="Microsoft.CSharp" /> - <Reference Include="Microsoft.VisualStudio.CommandBars, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="Microsoft.VisualStudio.CoreUtility, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.CoreUtility.15.0.26201\lib\net45\Microsoft.VisualStudio.CoreUtility.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Imaging, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Imaging.15.0.26201\lib\net45\Microsoft.VisualStudio.Imaging.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.OLE.Interop.7.10.6071\lib\Microsoft.VisualStudio.OLE.Interop.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.15.0.15.0.26201\lib\Microsoft.VisualStudio.Shell.15.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Framework, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Framework.15.0.26201\lib\net45\Microsoft.VisualStudio.Shell.Framework.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.7.10.6071\lib\Microsoft.VisualStudio.Shell.Interop.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <EmbedInteropTypes>True</EmbedInteropTypes> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.10.0.10.0.30319\lib\Microsoft.VisualStudio.Shell.Interop.10.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <EmbedInteropTypes>True</EmbedInteropTypes> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.11.0.11.0.61030\lib\Microsoft.VisualStudio.Shell.Interop.11.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop.12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <EmbedInteropTypes>True</EmbedInteropTypes> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.12.0.12.0.30110\lib\Microsoft.VisualStudio.Shell.Interop.12.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.8.0.8.0.50727\lib\Microsoft.VisualStudio.Shell.Interop.8.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.Shell.Interop.9.0.9.0.30729\lib\Microsoft.VisualStudio.Shell.Interop.9.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.TextManager.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.TextManager.Interop.7.10.6070\lib\Microsoft.VisualStudio.TextManager.Interop.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.TextManager.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <HintPath>..\packages\Microsoft.VisualStudio.TextManager.Interop.8.0.8.0.50727\lib\Microsoft.VisualStudio.TextManager.Interop.8.0.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Threading, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Threading.15.0.240\lib\net45\Microsoft.VisualStudio.Threading.dll</HintPath> - </Reference> - <Reference Include="Microsoft.VisualStudio.Utilities, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Utilities.15.0.26201\lib\net45\Microsoft.VisualStudio.Utilities.dll</HintPath> - <Private>True</Private> - </Reference> - <Reference Include="Microsoft.VisualStudio.Validation, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <HintPath>..\packages\Microsoft.VisualStudio.Validation.15.0.82\lib\net45\Microsoft.VisualStudio.Validation.dll</HintPath> - </Reference> - <Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <EmbedInteropTypes>False</EmbedInteropTypes> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Data" /> - <Reference Include="System.Design" /> - <Reference Include="System.Drawing" /> - <Reference Include="System.Windows.Forms" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <None Include="packages.config" /> - </ItemGroup> - <ItemGroup> - <Content Include="Resources\AsyncQuickInfoDemoPackage.ico" /> - <None Include="source.extension.vsixmanifest"> - <SubType>Designer</SubType> - </None> - </ItemGroup> - <ItemGroup> - <EmbeddedResource Include="VSPackage.resx"> - <MergeWithCTO>true</MergeWithCTO> - <ManifestResourceName>VSPackage</ManifestResourceName> - </EmbeddedResource> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\AsyncQuickInfoDemo\AsyncQuickInfoDemo.csproj"> - <Project>{A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}</Project> - <Name>AsyncQuickInfoDemo</Name> - <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> - <IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly> - </ProjectReference> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> - <Import Project="..\packages\Microsoft.VisualStudio.SDK.EmbedInteropTypes.15.0.10\build\Microsoft.VisualStudio.SDK.EmbedInteropTypes.targets" Condition="Exists('..\packages\Microsoft.VisualStudio.SDK.EmbedInteropTypes.15.0.10\build\Microsoft.VisualStudio.SDK.EmbedInteropTypes.targets')" /> - <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.VisualStudio.SDK.EmbedInteropTypes.15.0.10\build\Microsoft.VisualStudio.SDK.EmbedInteropTypes.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VisualStudio.SDK.EmbedInteropTypes.15.0.10\build\Microsoft.VisualStudio.SDK.EmbedInteropTypes.targets'))" /> - <Error Condition="!Exists('..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.props'))" /> - <Error Condition="!Exists('..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.targets'))" /> - </Target> - <Import Project="..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.targets" Condition="Exists('..\packages\Microsoft.VSSDK.BuildTools.15.6.152\build\Microsoft.VSSDK.BuildTools.targets')" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project>
\ No newline at end of file diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemoPackage.cs b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemoPackage.cs deleted file mode 100644 index 030bb85..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/AsyncQuickInfoDemoPackage.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace AsyncQuickInfoDemo.VSWindows -{ - using System; - using System.Diagnostics.CodeAnalysis; - using System.Runtime.InteropServices; - using Microsoft.VisualStudio.Shell; - - [PackageRegistration(UseManagedResourcesOnly = true)] - [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)] // Info on this package for Help/About - [Guid(AsyncQuickInfoDemoPackage.PackageGuidString)] - [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")] - public sealed class AsyncQuickInfoDemoPackage : Package - { - public const string PackageGuidString = "5f021ffd-c754-4f23-bdec-7eb7fc43ffdc"; - - public AsyncQuickInfoDemoPackage() - { - // Inside this method you can place any initialization code that does not require - // any Visual Studio service because at this point the package object is created but - // not sited yet inside Visual Studio environment. The place to do all the other - // initialization is the Initialize method. - } - - #region Package Members - - /// <summary> - /// Initialization of the package; this method is called right after the package is sited, so this is the place - /// where you can put all the initialization code that rely on services provided by VisualStudio. - /// </summary> - protected override void Initialize() - { - base.Initialize(); - } - - #endregion - } -} diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/Resources/AsyncQuickInfoDemoPackage.ico b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/Resources/AsyncQuickInfoDemoPackage.ico Binary files differdeleted file mode 100644 index d323b07..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/Resources/AsyncQuickInfoDemoPackage.ico +++ /dev/null diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/VSPackage.resx b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/VSPackage.resx deleted file mode 100644 index cb1495c..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/VSPackage.resx +++ /dev/null @@ -1,130 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" use="required" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <data name="110" xml:space="preserve"> - <value>Async Quick Info Demo Extension</value> - </data> - <data name="112" xml:space="preserve"> - <value>Demonstrates xPlat Async Quick Info in Visual Studio</value> - </data> - <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> - <data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>Resources\AsyncQuickInfoDemoPackage.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> -</root>
\ No newline at end of file diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/packages.config b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/packages.config deleted file mode 100644 index b5f0418..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/packages.config +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<packages> - <package id="Microsoft.VSSDK.BuildTools" version="15.6.152" targetFramework="net46" developmentDependency="true" /> -</packages>
\ No newline at end of file diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/source.extension.vsixmanifest b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/source.extension.vsixmanifest deleted file mode 100644 index 25eab83..0000000 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.VSWindows/source.extension.vsixmanifest +++ /dev/null @@ -1,21 +0,0 @@ -<?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="5f021ffd-c754-4f23-bdec-7eb7fc43ffdc" Version="1.0" Language="en-US" Publisher="Christian Gunderman" /> - <DisplayName>Async Quick Info Demo</DisplayName> - <Description xml:space="preserve">Demonstrates xPlat Async Quick Info in Visual Studio</Description> - </Metadata> - <Installation> - <InstallationTarget Version="[15.0,)" Id="Microsoft.VisualStudio.Community" /> - </Installation> - <Dependencies> - <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> - </Dependencies> - <Assets> - <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" /> - <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="AsyncQuickInfoDemo" Path="|AsyncQuickInfoDemo|" /> - </Assets> - <Prerequisites> - <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.6.27309.0,16.0)" DisplayName="Visual Studio core editor" /> - </Prerequisites> -</PackageManifest> diff --git a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.sln b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.sln index 4423a55..fbd8fc1 100644 --- a/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.sln +++ b/samples/AsyncQuickInfoDemo/AsyncQuickInfoDemo.sln @@ -1,43 +1,59 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27425.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29215.179 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AsyncQuickInfoDemo", "AsyncQuickInfoDemo\AsyncQuickInfoDemo.csproj", "{A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncQuickInfoDemo.VSWindows", "AsyncQuickInfoDemo.VSWindows\AsyncQuickInfoDemo.VSWindows.csproj", "{102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AsyncQuickInfoDemo.VSMac", "AsyncQuickInfoDemo.VSMac\AsyncQuickInfoDemo.VSMac.csproj", "{399A03DA-FB4D-4E82-B65E-21E647C94A4D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncQuickInfoDemo.VSIX", "AsyncQuickInfoDemo.VSIX\AsyncQuickInfoDemo.VSIX.csproj", "{CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU Debug|Any CPU - Mac = Debug|Any CPU - Mac Debug|Any CPU - Windows = Debug|Any CPU - Windows + Release|Any CPU = Release|Any CPU Release|Any CPU - Mac = Release|Any CPU - Mac Release|Any CPU - Windows = Release|Any CPU - Windows EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU.Build.0 = Debug|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU - Mac.ActiveCfg = Debug|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU - Mac.Build.0 = Debug|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU - Windows.ActiveCfg = Debug|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Debug|Any CPU - Windows.Build.0 = Debug|Any CPU + {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU.Build.0 = Release|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU - Mac.ActiveCfg = Release|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU - Mac.Build.0 = Release|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU - Windows.ActiveCfg = Release|Any CPU {A8C6A9ED-4C62-420E-B7AC-1A6936A8A523}.Release|Any CPU - Windows.Build.0 = Release|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Debug|Any CPU - Mac.ActiveCfg = Debug|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Debug|Any CPU - Windows.ActiveCfg = Debug|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Debug|Any CPU - Windows.Build.0 = Debug|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Release|Any CPU - Mac.ActiveCfg = Release|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Release|Any CPU - Windows.ActiveCfg = Release|Any CPU - {102F4DF7-E5FA-41C8-B7B8-52E04AE97CF2}.Release|Any CPU - Windows.Build.0 = Release|Any CPU + {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Debug|Any CPU.Build.0 = Debug|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Debug|Any CPU - Mac.ActiveCfg = Debug|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Debug|Any CPU - Mac.Build.0 = Debug|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Debug|Any CPU - Windows.ActiveCfg = Debug|Any CPU + {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU.Build.0 = Release|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU - Mac.ActiveCfg = Release|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU - Mac.Build.0 = Release|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU - Windows.ActiveCfg = Release|Any CPU {399A03DA-FB4D-4E82-B65E-21E647C94A4D}.Release|Any CPU - Windows.Build.0 = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU - Mac.ActiveCfg = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU - Mac.Build.0 = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU - Windows.ActiveCfg = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Debug|Any CPU - Windows.Build.0 = Debug|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU.Build.0 = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU - Mac.ActiveCfg = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU - Mac.Build.0 = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU - Windows.ActiveCfg = Release|Any CPU + {CE545EFD-9183-4A7D-9BDB-522B47CE2F2C}.Release|Any CPU - Windows.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/samples/AsyncQuickInfoDemo/nuget.config b/samples/AsyncQuickInfoDemo/nuget.config deleted file mode 100644 index 3320090..0000000 --- a/samples/AsyncQuickInfoDemo/nuget.config +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<configuration> - <packageSources> - <clear /> - <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> - <add key="vside.myget.org" value="https://vside.myget.org/F/vssdk/api/v3/index.json" protocolVersion="3" /> - </packageSources> -</configuration> |