Skip to content

Commit 374dbf8

Browse files
committed
#399: Modified date of redistributed xunit.abstractions.dll is wrong
1 parent edf51bc commit 374dbf8

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ end_of_line = lf
77
insert_final_newline = true
88
indent_style = tab
99

10-
[*.sln]
10+
[*.{sign-file-list,sln}]
1111
end_of_line = crlf
1212

1313
# Visual Studio demands 2-spaced project files

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.csproj text merge=union
55
*.ico binary
66
*.resx text merge=union
7+
*.sign-file-list eol=crlf
78
*.sln text eol=crlf merge=union
89
*.snk binary
910
*.vbproj text merge=union
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build\net462\xunit.runner.visualstudio.testadapter.dll
2+
build\net6.0\xunit.runner.visualstudio.testadapter.dll

tools/builder/targets/Packages.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System.IO;
12
using System.Threading.Tasks;
23
using Xunit.BuildTools.Models;
34

@@ -11,5 +12,10 @@ public static async Task OnExecute(BuildContext context)
1112

1213
var packArgs = $"pack --nologo --no-build --configuration {context.ConfigurationText} --output {context.PackageOutputFolder} --verbosity {context.Verbosity} src/xunit.runner.visualstudio -p:NuspecFile=xunit.runner.visualstudio.nuspec";
1314
await context.Exec("dotnet", packArgs);
15+
16+
File.Copy(
17+
Path.Join(context.BaseFolder, "src", "xunit.runner.visualstudio", "xunit.runner.visualstudio.sign-file-list"),
18+
Path.Join(context.PackageOutputFolder, "xunit.runner.visualstudio.sign-file-list")
19+
);
1420
}
1521
}

0 commit comments

Comments
 (0)