Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The projects with SourceYard cannot be built in macOS and Linux #100

Open
walterlv opened this issue Nov 25, 2020 · 4 comments
Open

The projects with SourceYard cannot be built in macOS and Linux #100

walterlv opened this issue Nov 25, 2020 · 4 comments

Comments

@walterlv
Copy link
Member

walterlv commented Nov 25, 2020

/Users/lvyi/.nuget/packages/dotnetcampus.sourceyard/0.1.19353-alpha/build/Core.targets(131,5): error MSB3073: The command "/Users/lvyi/.nuget/packages/dotnetcampus.sourceyard/0.1.19353-alpha/build/../tools/net45/dotnetCampus.SourceYard.exe -p "/Users/lvyi/Documents/Codes/dotnetCampus/dotnetCampus.Configurations/src/dotnetCampus.Configurations/dotnetCampus.Configurations.csproj " -i "obj/Debug/SourcePacking/Package " -n "/Users/lvyi/Documents/Codes/dotnetCampus/dotnetCampus.Configurations/bin/Debug " -v 1.2.9 --Compile obj/Debug/SourcePacking/CompileFile.txt --Resource obj/Debug/SourcePacking/ResourceFile.txt --Content obj/Debug/SourcePacking/ContentFile.txt --Page obj/Debug/SourcePacking/PageFile.txt --ApplicationDefinition obj/Debug/SourcePacking/ApplicationDefinitionFile.txt --None obj/Debug/SourcePacking/NoneFile.txt --EmbeddedResource obj/Debug/SourcePacking/EmbeddedResourceFile.txt --Authors "walterlv" --PackageId "dotnetCampus.Configurations " --PackageReferenceVersion "obj/Debug/SourcePacking/PackageReferenceVersionFile.txt" --SourcePackingDirectory obj/Debug/SourcePacking/ --TargetFrameworks "netstandard2.0;net45;netcoreapp3.0 " --TargetFramework " "" exited with code 126. [/Users/lvyi/Documents/Codes/dotnetCampus/dotnetCampus.Configurations/src/dotnetCampus.Configurations/dotnetCampus.Configurations.csproj]

@lindexi
Copy link
Member

lindexi commented Nov 27, 2020

原因是调用了 .NET Framework 4.5 的文件

@lindexi
Copy link
Member

lindexi commented Jan 4, 2021

不同平台,有锅

EXEC : warning : BuildProps Can not find file=/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/obj/Release/SourcePacking/SourceYardPackageReferenceFile.txt SourcePackingDirectory FileList= [/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj]
EXEC : warning : BuildProps Can not find file=/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/obj/Release/SourcePacking/SourceYardExcludePackageReferenceFile.txt SourcePackingDirectory FileList= [/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj]
初始化打包
EXEC : error : 无法从/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj 找到项目文件 [/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj]

@lindexi
Copy link
Member

lindexi commented Jan 4, 2021

EXEC : warning : ./AsyncWorkerCollection.csproj.DotSettings
./LimitedRunningCountTask.cs
./IAsyncDisposable.cs
./AsyncQueue.cs
./AsyncAutoResetEvent.cs
./ConcurrentQueueExtension.cs
./ExecuteOnceAwaiter.cs
./AsyncWorkerCollection.csproj
./AsyncManualResetEvent.cs
./AsyncTaskQueue_/AsyncTaskQueue.cs
./AsyncTaskQueue_/AwaitableTaskTResult.cs
./AsyncTaskQueue_/AwaitableTask.cs
./DoubleBuffer_/DoubleBufferTask.cs
./DoubleBuffer_/DoubleBuffer.cs
./DoubleBuffer_/DoubleBuffer`T.cs
./DoubleBuffer_/DoubleBufferLazyInitializeTask.cs
./DoubleBuffer_/DoubleBufferTask`T.cs
./obj/project.nuget.cache
./obj/AsyncWorkerCollection.csproj.nuget.g.targets
./obj/AsyncWorkerCollection.csproj.nuget.dgspec.json
./obj/project.assets.json
./obj/AsyncWorkerCollection.csproj.nuget.g.props
./Reentrancy/QueueReentrancyTask.cs
./Reentrancy/ReentrancyTask.cs
./Reentrancy/KeepLastReentrancyTask.cs
./obj/Release/net45/AsyncWorkerCollection.csproj.FileListAbsolute.txt
./obj/Release/net45/dotnetCampus.AsyncWorkerCollection.dll
./obj/Release/net45/AsyncWorkerCollection.csprojAssemblyReference.cache
./obj/Release/net45/dotnetCampus.AsyncWorkerCollection.xml
./obj/Release/net45/AsyncWorkerCollection.AssemblyInfoInputs.cache
./obj/Release/net45/.NETFramework,Version=v4.5.AssemblyAttributes.cs
./obj/Release/net45/dotnetCampus.AsyncWorkerCollection.pdb
./obj/Release/net45/AsyncWorkerCollection.assets.cache
./obj/Release/net45/AsyncWorkerCollection.AssemblyInfo.cs
./obj/Release/net45/AsyncWorkerCollection.csproj.CoreCompileInputs.cache
./obj/Release/net45/AsyncWorkerCollection.csproj.CopyComplete
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.csproj.FileListAbsolute.txt
./obj/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.dll
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.csprojAssemblyReference.cache
./obj/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.xml
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.AssemblyInfoInputs.cache
./obj/Release/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs
./obj/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.pdb
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.assets.cache
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.AssemblyInfo.cs
./obj/Release/netcoreapp3.1/AsyncWorkerCollection.csproj.CoreCompileInputs.cache
./obj/Release/netstandard2.0/AsyncWorkerCollection.csproj.FileListAbsolute.txt
./obj/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.dll
./obj/Release/netstandard2.0/AsyncWorkerCollection.csprojAssemblyReference.cache
./obj/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.xml
./obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs
./obj/Release/netstandard2.0/AsyncWorkerCollection.AssemblyInfoInputs.cache
./obj/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.pdb
./obj/Release/netstandard2.0/AsyncWorkerCollection.assets.cache
./obj/Release/netstandard2.0/AsyncWorkerCollection.AssemblyInfo.cs
./obj/Release/netstandard2.0/AsyncWorkerCollection.csproj.CoreCompileInputs.cache
./bin/Release/net45/dotnetCampus.AsyncWorkerCollection.dll
./bin/Release/net45/dotnetCampus.AsyncWorkerCollection.xml
./bin/Release/net45/dotnetCampus.AsyncWorkerCollection.pdb
./bin/Release/net45/System.ValueTuple.dll
./bin/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.dll
./bin/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.xml
./bin/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.deps.json
./bin/Release/netcoreapp3.1/dotnetCampus.AsyncWorkerCollection.pdb
./bin/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.dll
./bin/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.xml
./bin/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.deps.json
./bin/Release/netstandard2.0/dotnetCampus.AsyncWorkerCollection.pdb
./obj/Release/net45/SourcePacking/PackageReleaseNotesFile.txt
./obj/Release/net45/SourcePacking/ResourceFile.txt
./obj/Release/net45/SourcePacking/SourceYardExcludePackageReferenceFile.txt
./obj/Release/net45/SourcePacking/SourceYardContentPackageFile.txt
./obj/Release/net45/SourcePacking/PackageReferenceVersionFile.txt
./obj/Release/net45/SourcePacking/CompileFile.txt
./obj/Release/net45/SourcePacking/ContentFile.txt
./obj/Release/net45/SourcePacking/SourceYardResourcePackageFile.txt
./obj/Release/net45/SourcePacking/SourceYardCompilePackageFile.txt
./obj/Release/net45/SourcePacking/DescriptionFile.txt
./obj/Release/net45/SourcePacking/SourceProjectPackageFile.txt
./obj/Release/net45/SourcePacking/SourceYardEmbeddedResourcePackageFile.txt
./obj/Release/net45/SourcePacking/SourceYardNonePackageFile.txt
./obj/Release/net45/SourcePacking/ApplicationDefinitionFile.txt
./obj/Release/net45/SourcePacking/PageFile.txt
./obj/Release/net45/SourcePacking/EmbeddedResourceFile.txt
./obj/Release/net45/SourcePacking/CopyrightFile.txt
./obj/Release/net45/SourcePacking/NoneFile.txt
./obj/Release/net45/SourcePacking/SourceYardPackageReferenceFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/PackageReleaseNotesFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/ResourceFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardExcludePackageReferenceFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardContentPackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/PackageReferenceVersionFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/CompileFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/ContentFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardResourcePackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardCompilePackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/DescriptionFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceProjectPackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardEmbeddedResourcePackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardNonePackageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/ApplicationDefinitionFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/PageFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/EmbeddedResourceFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/CopyrightFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/NoneFile.txt
./obj/Release/netcoreapp3.1/SourcePacking/SourceYardPackageReferenceFile.txt
./obj/Release/netstandard2.0/SourcePacking/PackageReleaseNotesFile.txt
./obj/Release/netstandard2.0/SourcePacking/ResourceFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardExcludePackageReferenceFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardContentPackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/PackageReferenceVersionFile.txt
./obj/Release/netstandard2.0/SourcePacking/CompileFile.txt
./obj/Release/netstandard2.0/SourcePacking/ContentFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardResourcePackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardCompilePackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/DescriptionFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceProjectPackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardEmbeddedResourcePackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardNonePackageFile.txt
./obj/Release/netstandard2.0/SourcePacking/ApplicationDefinitionFile.txt
./obj/Release/netstandard2.0/SourcePacking/PageFile.txt
./obj/Release/netstandard2.0/SourcePacking/EmbeddedResourceFile.txt
./obj/Release/netstandard2.0/SourcePacking/CopyrightFile.txt
./obj/Release/netstandard2.0/SourcePacking/NoneFile.txt
./obj/Release/netstandard2.0/SourcePacking/SourceYardPackageReferenceFile.txt [/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj]

@lindexi
Copy link
Member

lindexi commented Jan 4, 2021

在 Linux 的值,没有加上 net45 等

  开始打源码包
  项目文件 /home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection.csproj 
  临时文件obj/Release/SourcePacking/Package 
  输出文件/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/bin/Release 
  版本1.1.3
  编译的文件obj/Release/SourcePacking/CompileFile.txt
  资源文件obj/Release/SourcePacking/ResourceFile.txt
  内容obj/Release/SourcePacking/ContentFile.txt
  页面obj/Release/SourcePacking/PageFile.txt
  SourcePackingDirectory: obj/Release/SourcePacking/
  BuildProps SourcePackingDirectory=/home/runner/work/AsyncWorkerCollection/AsyncWorkerCollection/AsyncWorkerCollection/obj/Release/SourcePacking/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants