forked from HandyOrg/HandyControl
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
393 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,8 @@ | |
*.xml | ||
[Bb]in/ | ||
[Oo]bj/ | ||
packages/ | ||
packages/ | ||
build/* | ||
!build/build.cake | ||
!build/build.nuspec | ||
!build/build.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
var target = Argument("target", "Build"); | ||
|
||
Task("Clean") | ||
.Does(() => | ||
{ | ||
CleanDirectory("lib"); | ||
}); | ||
|
||
Task("Build") | ||
.IsDependentOn("Clean") | ||
.Does(() => | ||
{ | ||
var vsLatest = VSWhereLatest(); | ||
var msBuildPath = vsLatest?.CombineWithFilePath("./MSBuild/Current/Bin/MSBuild.exe"); | ||
NuGetRestore("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj"); | ||
|
||
var settingsNet40 = new MSBuildSettings | ||
{ | ||
Configuration = "Release", | ||
ToolPath = msBuildPath, | ||
}.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net40")).FullPath); | ||
|
||
var settingsNet45 = new MSBuildSettings | ||
{ | ||
Configuration = "Release-Net45", | ||
ToolPath = msBuildPath, | ||
}.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net45")).FullPath); | ||
|
||
var settingsNet462 = new MSBuildSettings | ||
{ | ||
Configuration = "Release-Net462", | ||
ToolPath = msBuildPath, | ||
}.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net462")).FullPath); | ||
|
||
var settingsNet47 = new MSBuildSettings | ||
{ | ||
Configuration = "Release-Net47", | ||
ToolPath = msBuildPath, | ||
}.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net47")).FullPath); | ||
|
||
var settingsNet48 = new MSBuildSettings | ||
{ | ||
Configuration = "Release-Net48", | ||
ToolPath = msBuildPath, | ||
}.WithProperty("OutputPath", MakeAbsolute(Directory("lib/net48")).FullPath); | ||
|
||
var settingsCore30 = new DotNetCoreBuildSettings | ||
{ | ||
Framework = "netcoreapp3.0", | ||
Configuration = "Release", | ||
OutputDirectory = "lib/netcoreapp3.0" | ||
}; | ||
|
||
MSBuild("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj", settingsNet40); | ||
MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet45); | ||
MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet462); | ||
MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet47); | ||
MSBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet48); | ||
DotNetCoreBuild("../src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj", settingsCore30); | ||
}); | ||
|
||
RunTarget(target); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"> | ||
<metadata> | ||
<id>HandyControl</id> | ||
<version>2.3.0</version> | ||
<title>HandyOrg</title> | ||
<authors>HandyOrg</authors> | ||
<owners>HandyOrg</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<projectUrl>https://github.com/NaBian/HandyControl</projectUrl> | ||
<iconUrl>https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/icon.png</iconUrl> | ||
<description>Contains some commonly used simple WPF controls</description> | ||
<releaseNotes>Changes are detailed at https://github.com/HandyOrg/HandyControl/releases</releaseNotes> | ||
<copyright>Copyright © HandyOrg 2018-2019</copyright> | ||
<language></language> | ||
<tags>WPF C# Control</tags> | ||
<repository type="git" url="https://github.com/HandyOrg/HandyControl" commit="1af8ac90f497e6c65e4d596604f89f54e21cbcc6" /> | ||
<dependencies> | ||
<group targetFramework=".NETFramework4.0"> | ||
<dependency id="Microsoft.Windows.Shell" version="3.0.1" /> | ||
</group> | ||
<group targetFramework=".NETFramework4.5" /> | ||
<group targetFramework=".NETFramework4.6.2" /> | ||
<group targetFramework=".NETFramework4.7" /> | ||
<group targetFramework=".NETFramework4.8" /> | ||
<group targetFramework=".NETCoreApp3.0" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="lib\net40\en\HandyControl.resources.dll" target="lib\net40\en\HandyControl.resources.dll" /> | ||
<file src="lib\net40\fa\HandyControl.resources.dll" target="lib\net40\fa\HandyControl.resources.dll" /> | ||
<file src="lib\net40\fr\HandyControl.resources.dll" target="lib\net40\fr\HandyControl.resources.dll" /> | ||
<file src="lib\net40\HandyControl.dll" target="lib\net40\HandyControl.dll" /> | ||
<file src="lib\net40\HandyControl.pdb" target="lib\net40\HandyControl.pdb" /> | ||
<file src="lib\net40\HandyControl.xml" target="lib\net40\HandyControl.xml" /> | ||
<file src="lib\net40\Microsoft.Windows.Shell.dll" target="lib\net40\Microsoft.Windows.Shell.dll" /> | ||
<file src="lib\net40\Microsoft.Windows.Shell.pdb" target="lib\net40\Microsoft.Windows.Shell.pdb" /> | ||
<file src="lib\net45\en\HandyControl.resources.dll" target="lib\net45\en\HandyControl.resources.dll" /> | ||
<file src="lib\net45\fa\HandyControl.resources.dll" target="lib\net45\fa\HandyControl.resources.dll" /> | ||
<file src="lib\net45\fr\HandyControl.resources.dll" target="lib\net45\fr\HandyControl.resources.dll" /> | ||
<file src="lib\net45\HandyControl.dll" target="lib\net45\HandyControl.dll" /> | ||
<file src="lib\net45\HandyControl.pdb" target="lib\net45\HandyControl.pdb" /> | ||
<file src="lib\net45\HandyControl.xml" target="lib\net45\HandyControl.xml" /> | ||
<file src="lib\net462\en\HandyControl.resources.dll" target="lib\net462\en\HandyControl.resources.dll" /> | ||
<file src="lib\net462\fa\HandyControl.resources.dll" target="lib\net462\fa\HandyControl.resources.dll" /> | ||
<file src="lib\net462\fr\HandyControl.resources.dll" target="lib\net462\fr\HandyControl.resources.dll" /> | ||
<file src="lib\net462\HandyControl.dll" target="lib\net462\HandyControl.dll" /> | ||
<file src="lib\net462\HandyControl.pdb" target="lib\net462\HandyControl.pdb" /> | ||
<file src="lib\net462\HandyControl.xml" target="lib\net462\HandyControl.xml" /> | ||
<file src="lib\net47\en\HandyControl.resources.dll" target="lib\net47\en\HandyControl.resources.dll" /> | ||
<file src="lib\net47\fa\HandyControl.resources.dll" target="lib\net47\fa\HandyControl.resources.dll" /> | ||
<file src="lib\net47\fr\HandyControl.resources.dll" target="lib\net47\fr\HandyControl.resources.dll" /> | ||
<file src="lib\net47\HandyControl.dll" target="lib\net47\HandyControl.dll" /> | ||
<file src="lib\net47\HandyControl.pdb" target="lib\net47\HandyControl.pdb" /> | ||
<file src="lib\net47\HandyControl.xml" target="lib\net47\HandyControl.xml" /> | ||
<file src="lib\net48\en\HandyControl.resources.dll" target="lib\net48\en\HandyControl.resources.dll" /> | ||
<file src="lib\net48\fa\HandyControl.resources.dll" target="lib\net48\fa\HandyControl.resources.dll" /> | ||
<file src="lib\net48\fr\HandyControl.resources.dll" target="lib\net48\fr\HandyControl.resources.dll" /> | ||
<file src="lib\net48\HandyControl.dll" target="lib\net48\HandyControl.dll" /> | ||
<file src="lib\net48\HandyControl.pdb" target="lib\net48\HandyControl.pdb" /> | ||
<file src="lib\net48\HandyControl.xml" target="lib\net48\HandyControl.xml" /> | ||
<file src="lib\netcoreapp3.0\en\HandyControl.resources.dll" target="lib\netcoreapp3.0\en\HandyControl.resources.dll" /> | ||
<file src="lib\netcoreapp3.0\fa\HandyControl.resources.dll" target="lib\netcoreapp3.0\fa\HandyControl.resources.dll" /> | ||
<file src="lib\netcoreapp3.0\fr\HandyControl.resources.dll" target="lib\netcoreapp3.0\fr\HandyControl.resources.dll" /> | ||
<file src="lib\netcoreapp3.0\HandyControl.deps.json" target="lib\netcoreapp3.0\HandyControl.deps.json" /> | ||
<file src="lib\netcoreapp3.0\HandyControl.dll" target="lib\netcoreapp3.0\HandyControl.dll" /> | ||
<file src="lib\netcoreapp3.0\HandyControl.pdb" target="lib\netcoreapp3.0\HandyControl.pdb" /> | ||
<file src="lib\netcoreapp3.0\HandyControl.xml" target="lib\netcoreapp3.0\HandyControl.xml" /> | ||
</files> | ||
</package> |
Oops, something went wrong.