git clone git@github.com:quartznet/quartznet.git
git branch build v3.0.7
git checkout build
.\build.cmd
Feeds used:
C:\Users\calvin\.nuget\packages\
https://api.nuget.org/v3/index.json
Attempting to gather dependency information for package 'FAKE.4.64.4' with respect to project 'packages', targeting 'Any,Version=v0.0'
Gathering dependency information took 2.03 sec
Attempting to resolve dependencies for package 'FAKE.4.64.4' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'FAKE.4.64.4'
Resolved actions to install package 'FAKE.4.64.4'
Retrieving package 'FAKE 4.64.4' from 'api.nuget.org'.
GET https://api.nuget.org/v3-flatcontainer/fake/4.64.4/fake.4.64.4.nupkg
OK https://api.nuget.org/v3-flatcontainer/fake/4.64.4/fake.4.64.4.nupkg 934ms
Installing FAKE 4.64.4.
Adding package 'FAKE.4.64.4' to folder 'D:\sourcecode\quartznet\packages'
Added package 'FAKE.4.64.4' to folder 'D:\sourcecode\quartznet\packages'
Successfully installed 'FAKE 4.64.4' to packages
Executing nuget actions took 8.01 sec
C:\Program Files\Git\cmd\git.exe log --oneline -1
Building project with version: LocalBuild
Shortened DependencyGraph for Target Test:
<== Test
<== Build
<== GenerateAssemblyInfo
<== Clean
The running order is:
- Clean
- GenerateAssemblyInfo
- Build
- Test
Running build with 1 worker
Starting Target: Clean
Finished Target: Clean
Starting Target: GenerateAssemblyInfo (==> Clean, Clean, Clean)
Created AssemblyInfo file "./src/AssemblyInfo.cs".
Finished Target: GenerateAssemblyInfo
Starting Target: Build (==> GenerateAssemblyInfo, GenerateAssemblyInfo)
dotnet "build" "Quartz.sln" --configuration Release
用于 .NET Core 的 Microsoft (R) 生成引擎版本 16.4.0-preview-19528-01+3745451f4
版权所有(C) Microsoft Corporation。保留所有权利。
D:\sourcecode\quartznet\src\Quartz.Jobs\Quartz.Jobs.csproj 的还原在 24.86 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Plugins\Quartz.Plugins.csproj 的还原在 24.86 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Examples\Quartz.Examples.csproj 的还原在 30.13 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Serialization.Json\Quartz.Serialization.Json.csproj 的还原在 6.42 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Plugins.TimeZoneConverter\Quartz.Plugins.TimeZoneConverter.csproj 的还原在 31.98 sec 内完成。
D:\sourcecode\quartznet\src\Quartz\Quartz.csproj 的还原在 5.23 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Server\Quartz.Server.csproj 的还原在 43.71 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Tests.Unit\Quartz.Tests.Unit.csproj 的还原在 40.47 sec 内完成。
D:\sourcecode\quartznet\src\Quartz.Tests.Integration\Quartz.Tests.Integration.csproj 的还原在 47.14 sec 内完成。
你正在使用 .NET Core 的预览版。请查看 https://aka.ms/dotnet-core-preview
你正在使用 .NET Core 的预览版。请查看 https://aka.ms/dotnet-core-preview
你正在使用 .NET Core 的预览版。请查看 https://aka.ms/dotnet-core-preview
你正在使用 .NET Core 的预览版。请查看 https://aka.ms/dotnet-core-preview
Quartz -> D:\sourcecode\quartznet\build\Release\Quartz\net452\Quartz.dll
Quartz -> D:\sourcecode\quartznet\build\Release\Quartz\netstandard2.0\Quartz.dll
Quartz.Serialization.Json -> D:\sourcecode\quartznet\build\Release\Quartz.Serialization.Json\netstandard2.0\Quartz.Serialization.Json.dll
Quartz.Jobs -> D:\sourcecode\quartznet\build\Release\Quartz.Jobs\netstandard2.0\Quartz.Jobs.dll
Quartz.Serialization.Json -> D:\sourcecode\quartznet\build\Release\Quartz.Serialization.Json\net452\Quartz.Serialization.Json.dll
Quartz.Jobs -> D:\sourcecode\quartznet\build\Release\Quartz.Jobs\net452\Quartz.Jobs.dll
Quartz.Plugins -> D:\sourcecode\quartznet\build\Release\Quartz.Plugins\net452\Quartz.Plugins.dll
Quartz.Plugins -> D:\sourcecode\quartznet\build\Release\Quartz.Plugins\netstandard2.0\Quartz.Plugins.dll
Quartz.Tests.Integration -> D:\sourcecode\quartznet\build\Release\Quartz.Tests.Integration\netcoreapp2.0\Quartz.Tests.Integration.dll
Quartz.Examples -> D:\sourcecode\quartznet\build\Release\Quartz.Examples\net452\Quartz.Examples.exe
Quartz.Plugins.TimeZoneConverter -> D:\sourcecode\quartznet\build\Release\Quartz.Plugins.TimeZoneConverter\net452\Quartz.Plugins.TimeZoneConverter.dll
Quartz.Tests.Integration -> D:\sourcecode\quartznet\build\Release\Quartz.Tests.Integration\net452\Quartz.Tests.Integration.dll
Quartz.Server -> D:\sourcecode\quartznet\build\Release\Quartz.Server\netcoreapp2.1\Quartz.Server.dll
Quartz.Plugins.TimeZoneConverter -> D:\sourcecode\quartznet\build\Release\Quartz.Plugins.TimeZoneConverter\netstandard2.0\Quartz.Plugins.TimeZoneConverter.dll
Quartz.Examples -> D:\sourcecode\quartznet\build\Release\Quartz.Examples\netcoreapp2.0\Quartz.Examples.dll
Quartz.Server -> D:\sourcecode\quartznet\build\Release\Quartz.Server\net452\Quartz.Server.exe
Quartz.Tests.Unit -> D:\sourcecode\quartznet\build\Release\Quartz.Tests.Unit\netcoreapp2.0\Quartz.Tests.Unit.dll
Quartz.Tests.Unit -> D:\sourcecode\quartznet\build\Release\Quartz.Tests.Unit\net452\Quartz.Tests.Unit.dll
已成功生成。
0 个警告
0 个错误
已用时间 00:02:43.58
Finished Target: Build
Starting Target: Test (==> Build)
--- Test not implemented ---
Finished Target: Test
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
Clean 00:00:00.0078844
GenerateAssemblyInfo 00:00:00.0275734
Build 00:02:46.3614614
Test 00:00:00.0013923
Total: 00:02:46.5590233
---------------------------------------------------------------------
Status: Ok
---------------------------------------------------------------------
大师 这个切换到3.0.7是什么意思 这边要配置什么git的或者.net core的东西吗 。我这边直接cd到源码目录下运行是错的。这边我有什么操作问题或者环境没有配置吗,电脑上git和.net core以你.net framework 4.5.2都有的。
看错误 应该是在build.fsx Information.getCurrentHash()出了错误。然后每能把hash设置到assemblyinfo,所以编译过不去。
检查你的代码是怎么clone下来。 你的源代码没有git仓库信息。换个目录 git clone.在执行后面的build.cmd
@白い: 你git仓库没clone下来,你的源代码是哪里copy来的把。。。。。
https://github.com/quartznet/quartznet
git clone git@github.com:quartznet/quartznet.git
git clone git@github.com:quartznet/quartznet.git
git branch build v3.0.7
git checkout build
.\build.cmd
走一波就行了
@czd890: 让我试一下 谢谢大佬