dotnet-campus / SourceYard

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
MIT License
50 stars 12 forks source link

编译期间概率性出现文件被占用的问题 #44

Closed walterlv closed 4 years ago

walterlv commented 5 years ago

EXEC : error : 生成源码包: NuGetPacker: System.IO.IOException: 文件“D:\Developments\Walterlv\Walterlv.Demo.Package\bin\Debug\Walterlv.Demo.Package.8.0.0.nupkg”正由另一进程使用,因此该进程无法访问此文件。

walterlv commented 5 years ago

如果使用以下代码,此问题几乎必现

<PropertyGroup>
    <TargetFrameworks> netstandard2.0;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48 </TargetFrameworks>
</PropertyGroup>
walterlv commented 4 years ago

Reopen this issue?

hueifeng commented 4 years ago

@lindexi @walterlv I found here https://github.com/dotnet-campus/dotnetCampus.Configurations/runs/687420475 also seems to be due to the error caused by the problem.

walterlv commented 4 years ago

@hueifeng Yes, you're right. I'm trying to find out some solutions.

walterlv commented 4 years ago

@hueifeng @lindexi Fixed: https://github.com/dotnet-campus/SourceYard/pull/74