113 lines
5.9 KiB
XML
113 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
|
|
<!-- Required to place the vsix in the right location by WTE MSI -->
|
|
<ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot>
|
|
<ExtensionInstallationFolder>Microsoft\ASP.NET Core\UserSecrets</ExtensionInstallationFolder>
|
|
<IsProductComponent>true</IsProductComponent>
|
|
|
|
<ImportDirectoryBuildProps>False</ImportDirectoryBuildProps>
|
|
<ImportDirectoryBuildTargets>False</ImportDirectoryBuildTargets>
|
|
<GenerateUserSecretsAttribute>False</GenerateUserSecretsAttribute>
|
|
<UseCodebase>True</UseCodebase>
|
|
<SignAssembly>True</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>..\..\build\Key.snk</AssemblyOriginatorKeyFile>
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
<Import Project="..\..\version.props" />
|
|
<Import Project="..\..\build\dependencies.props" />
|
|
<Import Project="..\..\build\sources.props" />
|
|
<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>{5E117F2E-7152-447F-BF47-59F759EEF3A7}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Microsoft.VisualStudio.SecretManager</RootNamespace>
|
|
<AssemblyName>Microsoft.VisualStudio.SecretManager</AssemblyName>
|
|
<TargetFrameworkVersion>v4.6.1</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>TRACE;DEBUG;EXTENSION_DEVELOPER_MODE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<LangVersion>latest</LangVersion>
|
|
</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>
|
|
<LangVersion>latest</LangVersion>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="ProjectLocalSecretsManager.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Resources.Designer.cs" />
|
|
<Compile Include="SecretManagerFactory.cs" />
|
|
<Compile Include="SecretStore.cs" />
|
|
<Compile Include="Sources\ConfigurationPath.cs" />
|
|
<Compile Include="Sources\JsonConfigurationFileParser.cs" />
|
|
<Compile Include="Sources\PathHelper.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="source.extension.vsixmanifest">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.VisualStudio.ComponentModelHost" Version="15.0.26606" />
|
|
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.Analyzers" Version="15.3.224" />
|
|
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.SDK.Tools" Version="15.3.224" />
|
|
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.SDK" Version="15.3.224" />
|
|
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem" Version="15.3.224" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Shell.15.0" Version="15.0.26606" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Shell.Embeddable" Version="15.6.27002-vsuvscore" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Text.Data" Version="15.0.26606" />
|
|
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="15.1.192" />
|
|
</ItemGroup>
|
|
<!--
|
|
Begin workaround for https://github.com/dotnet/project-system/issues/2129
|
|
VS does not support using MSBuild variables for PackageReference items
|
|
-->
|
|
<ItemGroup Condition="'$(PackageReferencePropsPath)' == ''">
|
|
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
|
|
</ItemGroup>
|
|
<Import Project="$(PackageReferencePropsPath)" Condition="'$(PackageReferencePropsPath)' != ''" />
|
|
<!-- End workaround -->
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.ComponentModel.Composition" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources.resx">
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<Target Name="GetBuildVersion" Outputs="$(VsixVersion)" />
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
|
|
</Project>
|