Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added NuGet related files.

  • Loading branch information...
commit e77af8853885c3f10aa973f5a5e34ad4716a259d 1 parent 5e27774
@lextm lextm authored
View
47 .nuget/DockPanelSuite.nuspec
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
+ <metadata>
+ <version>2.5.9-alpha</version>
+ <authors>Weifen Luo and other contributors</authors>
+ <owners>Weifen Luo and other contributors</owners>
+ <licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
+ <projectUrl>https://github.com/dockpanelsuite/dockpanelsuite</projectUrl>
+ <frameworkAssemblies>
+ <frameworkAssembly assemblyName="System.Design" targetFramework="" />
+ <frameworkAssembly assemblyName="System.Windows.Forms" targetFramework="" />
+ <frameworkAssembly assemblyName="System" targetFramework="" />
+ </frameworkAssemblies>
+ <id>DockPanelSuite</id>
+ <title>DockPanel Suite</title>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>The docking library for .Net Windows Forms development which mimics Visual Studio .Net.</description>
+ <summary>The docking library for .Net Windows Forms development which mimics Visual Studio .Net.</summary>
+ <releaseNotes>May 18, 2012: 2.5.9 (alpha)
+1. GitHub work item #7: Lite mode support on Mono.
+2. First signed release with NuGet package deployment.
+
+Nov 25, 2010: 2.5.0
+1. Fix Bug [2149926]: Can't resize document marked as HideOnClose when one of a set of side by side documents is closed (patch 3118287 from Agiel).
+2. Fix Bug [2792816]: Changing the DockBackColor at design time does not refresh immediately. Set a couple public properties to [Browsable(false)] so that they are not displayed in the Designer.
+3. Fix Bug [2956415]: The Window List button is hidden underneath the close button on a Document when a Floating form is opened and a new Document form opened afterwards.
+4. Fix Bug [2945519]: CloseContent suspended layout but it was possible to not resume layout because of early exits. try/finally added and suspend layout moved below the early exits since the suspend is not needed that early.
+5. Fix Bug [2782283]: DockPanelSkin tool window inactive caption gradient end color should have been SystemColors.InactiveCaption and TextColor should have been SystemColors.InactiveCaptionText instead of ControlText so that it will show up in all windows color schemes.
+6. Fix Bug [2737792]: For AutoHideTabs that are right or left the icon should be rotated 90 degrees to be consistent with Visual Studio (original code from lind60 and re-posted by jhorigan).
+7. Patch 2810961: Add a text font to the DockPanelSkin to allow different fonts to be used for tab text. From Branko Drvensek.
+
+Oct 30, 2010: 2.4.0
+1. Upgrade the suite to use Visual Studio 2008. The suite still uses the 2.0 Framework.
+2. BUG FIX: [2149926] Can't resize document marked as HideOnClose when one of a set of side by side documents is closed.
+3. BUG FIX: [2780774] Sample app layout by code functionality does not fully work and breaks when executed two times in a row.
+4. Middle mouse button click on a Document tab closes the Document that was clicked. (Original code from Ralf Jablonski but modified to close the Document that was clicked)
+</releaseNotes>
+ <copyright>(C) 2007-2012 Weifen Luo and other contributors</copyright>
+ <language>en-US</language>
+ <tags>windows forms docking dockpanel panel</tags>
+ </metadata>
+ <files>
+ <file src="..\license.txt" target="content\license.txt" />
+ <file src="..\bin\net20\WeifenLuo.WinFormsUI.Docking.dll" target="lib\net20\WeifenLuo.WinFormsUI.Docking.dll" />
+ <file src="..\bin\net40\WeifenLuo.WinFormsUI.Docking.dll" target="lib\net40\WeifenLuo.WinFormsUI.Docking.dll" />
+ </files>
+</package>
View
6 .nuget/NuGet.Config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <solution>
+ <add key="disableSourceControlIntegration" value="true" />
+ </solution>
+</configuration>
View
BIN  .nuget/NuGet.exe
Binary file not shown
View
71 .nuget/NuGet.targets
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+
+ <!-- Windows specific commands -->
+ <NuGetToolsPath Condition=" '$(OS)' == 'Windows_NT'">$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ <PackagesConfig Condition=" '$(OS)' == 'Windows_NT'">$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
+ <PackagesDir Condition=" '$(OS)' == 'Windows_NT'">$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+
+ <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
+ <NuGetToolsPath Condition=" '$(OS)' != 'Windows_NT'">$(SolutionDir).nuget</NuGetToolsPath>
+ <PackagesConfig Condition=" '$(OS)' != 'Windows_NT' ">packages.config</PackagesConfig>
+ <PackagesDir Condition=" '$(OS)' != 'Windows_NT'">$(SolutionDir)packages</PackagesDir>
+
+ <!-- NuGet command -->
+ <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
+ <NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>
+
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+
+ <!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
+ <PackageSources>""</PackageSources>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
+
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
+
+ <!-- Commands -->
+ <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
+ <BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(RestorePackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(BuildPackage) == 'true'">
+ $(BuildDependsOn);
+ BuildPackage;
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="CheckPrerequisites">
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="!Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ </Target>
+
+ <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(RestoreCommand)"
+ Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
+
+ <Exec Command="$(RestoreCommand)"
+ LogStandardErrorAsError="true"
+ Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
+ </Target>
+
+ <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ Condition=" '$(OS)' != 'Windows_NT' " />
+
+ <Exec Command="$(BuildCommand)"
+ LogStandardErrorAsError="true"
+ Condition=" '$(OS)' == 'Windows_NT' " />
+ </Target>
+</Project>
View
5 all.bat
@@ -0,0 +1,5 @@
+CALL clean.bat
+CALL release.bat
+CALL clean.bat
+CALL release.net40.bat
+CALL .nuget/nuget.exe pack
View
4 clean.bat
@@ -0,0 +1,4 @@
+set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
+call %MSBuildDir%\msbuild WinFormsUI.Docking.sln /t:clean
+call %MSBuildDir%\msbuild WinFormsUI.Docking.sln /t:clean /p:Configuration=Release
+@IF %ERRORLEVEL% NEQ 0 PAUSE
View
3  debug.bat
@@ -0,0 +1,3 @@
+set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
+call %MSBuildDir%\msbuild WinFormsUI.Docking.sln /t:build /p:Configuration="Debug"
+@IF %ERRORLEVEL% NEQ 0 PAUSE
View
3  release.bat
@@ -0,0 +1,3 @@
+set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
+call %MSBuildDir%\msbuild WinFormsUI.Docking.sln /t:build /p:Configuration=Release /p:OutputPath=..\bin\net20\
+@IF %ERRORLEVEL% NEQ 0 PAUSE
View
3  release.net40.bat
@@ -0,0 +1,3 @@
+set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
+call %MSBuildDir%\msbuild WinFormsUI.Docking.sln /t:build /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /p:OutputPath=..\bin\net40\
+@IF %ERRORLEVEL% NEQ 0 PAUSE
Please sign in to comment.
Something went wrong with that request. Please try again.