Added NuPack package

This commit is contained in:
Code Artist 2021-01-30 21:21:35 +08:00
parent 21171acb07
commit c8605da5fe
4 changed files with 16 additions and 2 deletions

View File

@ -8,11 +8,11 @@ A ToggleSwitch that presents on/off values in a more interesting way than a stan
## Revision History ## Revision History
#### Version 1.1 #### Version 1.1 (2019-02-20)
NEW: BeforeRendering event added to make it easier to customize the renderer properties NEW: BeforeRendering event added to make it easier to customize the renderer properties
NEW: Style and Renderer added: PlainAndSimple NEW: Style and Renderer added: PlainAndSimple
UPDATED: Demo app updated with the new features UPDATED: Demo app updated with the new features
#### Version 1.0 #### Version 1.0 (2015-09-11)
Initial Release Initial Release

View File

@ -11,6 +11,8 @@
<AssemblyName>ToggleSwitch</AssemblyName> <AssemblyName>ToggleSwitch</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -58,9 +60,17 @@
<Compile Include="Renderers\ToggleSwitchRendererBase.cs" /> <Compile Include="Renderers\ToggleSwitchRendererBase.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="packages.config" />
<None Include="VersionHistory.txt" /> <None Include="VersionHistory.txt" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\NuPack.3.4.2\build\NuPack.targets" Condition="Exists('..\packages\NuPack.3.4.2\build\NuPack.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\NuPack.3.4.2\build\NuPack.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NuPack.3.4.2\build\NuPack.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- 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. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NuPack" version="3.4.2" targetFramework="net40" />
</packages>

BIN
packages/NuPack.3.4.2/NuPack.3.4.2.nupkg vendored Normal file

Binary file not shown.