forked from vindvaki/xlsx-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0001-patch-csproj-to-find-the-openxml-dll.patch
52 lines (49 loc) · 2.88 KB
/
0001-patch-csproj-to-find-the-openxml-dll.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From 8c764df6ad27d08b207029879f63d59838c6b53d Mon Sep 17 00:00:00 2001
From: Jappie Klooster <[email protected]>
Date: Mon, 25 Jul 2022 13:36:18 +0200
Subject: [PATCH] patch csproj to find the openxml dll
---
XlsxValidator.csproj | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/XlsxValidator.csproj b/XlsxValidator.csproj
index 06bba76..272b4b5 100644
--- a/XlsxValidator.csproj
+++ b/XlsxValidator.csproj
@@ -53,7 +53,7 @@
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v3.5'">
<ItemGroup>
<Reference Include="DocumentFormat.OpenXml">
- <HintPath>..\packages\DocumentFormat.OpenXml\lib\net35\DocumentFormat.OpenXml.dll</HintPath>
+ <HintPath>lib\dotnet\DocumentFormat.OpenXml\net35\DocumentFormat.OpenXml.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
@@ -62,7 +62,7 @@
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3')">
<ItemGroup>
<Reference Include="DocumentFormat.OpenXml">
- <HintPath>..\packages\DocumentFormat.OpenXml\lib\net40\DocumentFormat.OpenXml.dll</HintPath>
+ <HintPath>lib\dotnet\DocumentFormat.OpenXml\net40\DocumentFormat.OpenXml.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
@@ -71,7 +71,7 @@
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
<ItemGroup>
<Reference Include="DocumentFormat.OpenXml">
- <HintPath>..\packages\DocumentFormat.OpenXml\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
+ <HintPath>lib\dotnet\DocumentFormat.OpenXml\net46\DocumentFormat.OpenXml.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
@@ -80,7 +80,7 @@
<When Condition="($(TargetFrameworkIdentifier) == '.NETStandard' And ($(TargetFrameworkVersion) == 'v1.3' Or $(TargetFrameworkVersion) == 'v1.4' Or $(TargetFrameworkVersion) == 'v1.5' Or $(TargetFrameworkVersion) == 'v1.6')) Or ($(TargetFrameworkIdentifier) == '.NETCoreApp' And $(TargetFrameworkVersion) == 'v1.0')">
<ItemGroup>
<Reference Include="DocumentFormat.OpenXml">
- <HintPath>..\packages\DocumentFormat.OpenXml\lib\netstandard1.3\DocumentFormat.OpenXml.dll</HintPath>
+ <HintPath>lib\dotnet\DocumentFormat.OpenXml\netstandard1.3\DocumentFormat.OpenXml.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
--
2.33.3