|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.props" Condition="Exists('..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.props')" /> |
3 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 5 | <PropertyGroup> |
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | 7 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
7 | 8 | <ProjectGuid>{EB676C83-B382-4217-AAF9-C412B1E26B5F}</ProjectGuid> |
8 | 9 | <OutputType>Library</OutputType> |
9 | 10 | <AppDesignerFolder>Properties</AppDesignerFolder> |
10 | | - <RootNamespace>PSCredentialManager</RootNamespace> |
11 | | - <AssemblyName>PSCredentialManager.Cmdlet</AssemblyName> |
| 11 | + <RootNamespace>PSCredentialManager.Cmdlet</RootNamespace> |
| 12 | + <AssemblyName>CredentialManager</AssemblyName> |
12 | 13 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
14 | 15 | <TargetFrameworkProfile /> |
| 16 | + <NuGetPackageImportStamp> |
| 17 | + </NuGetPackageImportStamp> |
15 | 18 | </PropertyGroup> |
16 | 19 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 | 20 | <DebugSymbols>true</DebugSymbols> |
|
31 | 34 | <DefineConstants>TRACE</DefineConstants> |
32 | 35 | <ErrorReport>prompt</ErrorReport> |
33 | 36 | <WarningLevel>4</WarningLevel> |
| 37 | + <DocumentationFile>bin\Release\CredentialManager.XML</DocumentationFile> |
34 | 38 | </PropertyGroup> |
35 | 39 | <ItemGroup> |
36 | 40 | <Reference Include="System" /> |
37 | 41 | <Reference Include="System.Core" /> |
38 | | - <Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
39 | | - <HintPath>..\packages\System.Management.Automation.6.1.7601.17515\lib\net40\System.Management.Automation.dll</HintPath> |
40 | | - <Private>True</Private> |
| 42 | + <Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 43 | + <SpecificVersion>False</SpecificVersion> |
| 44 | + <HintPath>..\packages\System.Management.Automation.6.1.7601.17515\lib\net45\System.Management.Automation.dll</HintPath> |
41 | 45 | </Reference> |
42 | 46 | <Reference Include="System.Web" /> |
43 | 47 | <Reference Include="System.Xml.Linq" /> |
|
48 | 52 | </ItemGroup> |
49 | 53 | <ItemGroup> |
50 | 54 | <Compile Include="Cmdlets.cs" /> |
| 55 | + <Compile Include="Extensions\CredentialExtensions.cs" /> |
| 56 | + <Compile Include="Extensions\SecureStringExtensions.cs" /> |
51 | 57 | <Compile Include="Properties\AssemblyInfo.cs" /> |
52 | | - <Compile Include="Utility\CredentialUtility.cs" /> |
| 58 | + <Compile Include="Extensions\StringExtensions.cs" /> |
53 | 59 | </ItemGroup> |
54 | 60 | <ItemGroup> |
55 | 61 | <None Include="app.config" /> |
56 | | - <None Include="CredentialManager.psd1" /> |
| 62 | + <Content Include="CredentialManager.psd1"> |
| 63 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 64 | + </Content> |
57 | 65 | <None Include="packages.config" /> |
58 | 66 | </ItemGroup> |
59 | 67 | <ItemGroup> |
|
71 | 79 | <PostBuildEvent> |
72 | 80 | </PostBuildEvent> |
73 | 81 | </PropertyGroup> |
| 82 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 83 | + <PropertyGroup> |
| 84 | + <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> |
| 85 | + </PropertyGroup> |
| 86 | + <Error Condition="!Exists('..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.props'))" /> |
| 87 | + <Error Condition="!Exists('..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.targets'))" /> |
| 88 | + </Target> |
| 89 | + <Import Project="..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.targets" Condition="Exists('..\packages\XmlDoc2CmdletDoc.0.2.3\build\XmlDoc2CmdletDoc.targets')" /> |
74 | 90 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
75 | 91 | Other similar extension points exist, see Microsoft.Common.targets. |
76 | 92 | <Target Name="BeforeBuild"> |
|
0 commit comments