Skip to content

Commit 1e8551f

Browse files
committed
4.0
1 parent 2c1941b commit 1e8551f

22 files changed

+38
-38
lines changed

SampleBase/SampleBase.csproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" />
3+
<Import Project="..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -79,16 +79,16 @@
7979
</PropertyGroup>
8080
<ItemGroup>
8181
<Reference Include="OpenCvSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
82-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.dll</HintPath>
82+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.dll</HintPath>
8383
</Reference>
8484
<Reference Include="OpenCvSharp.Blob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
85-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Blob.dll</HintPath>
85+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Blob.dll</HintPath>
8686
</Reference>
8787
<Reference Include="OpenCvSharp.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
88-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
88+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
8989
</Reference>
9090
<Reference Include="OpenCvSharp.UserInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
91-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
91+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
9292
</Reference>
9393
<Reference Include="PresentationCore" />
9494
<Reference Include="PresentationFramework" />
@@ -342,7 +342,7 @@
342342
<ErrorText>このプロジェクトは、このコンピューターにはない NuGet パッケージを参照しています。これらをダウンロードするには、NuGet パッケージの復元を有効にしてください。詳細については、http://go.microsoft.com/fwlink/?LinkID=322105 を参照してください。不足しているファイルは {0} です。</ErrorText>
343343
</PropertyGroup>
344344
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
345-
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props'))" />
345+
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props'))" />
346346
</Target>
347347
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
348348
Other similar extension points exist, see Microsoft.Common.targets.

SampleBase/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="OpenCvSharp3-AnyCPU" version="3.4.4.20181118" targetFramework="net461" />
3+
<package id="OpenCvSharp3-AnyCPU" version="4.0.0.20181129" targetFramework="net461" />
44
</packages>

SamplesCS/Samples/BRISKSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class BRISKSample : ISample
1010
{
1111
public void Run()
1212
{
13-
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
13+
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1414
var dst = new Mat(FilePath.Image.Lenna, ImreadModes.Color);
1515

1616
BRISK brisk = BRISK.Create();

SamplesCS/Samples/BinarizerSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal class BinarizerSample : ISample
1010
{
1111
public void Run()
1212
{
13-
using (var src = Cv2.ImRead(FilePath.Image.Binarization, ImreadModes.GrayScale))
13+
using (var src = Cv2.ImRead(FilePath.Image.Binarization, ImreadModes.Grayscale))
1414
using (var niblack = new Mat())
1515
using (var sauvola = new Mat())
1616
using (var bernsen = new Mat())

SamplesCS/Samples/ClaheSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ClaheSample : ISample
1212
{
1313
public void Run()
1414
{
15-
Mat src = new Mat(FilePath.Image.TsukubaLeft, ImreadModes.GrayScale);
15+
Mat src = new Mat(FilePath.Image.TsukubaLeft, ImreadModes.Grayscale);
1616
Mat dst1 = new Mat();
1717
Mat dst2 = new Mat();
1818
Mat dst3 = new Mat();

SamplesCS/Samples/DFT.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DFT : ISample
1313
{
1414
public void Run()
1515
{
16-
Mat img = Cv2.ImRead(FilePath.Image.Lenna, ImreadModes.GrayScale);
16+
Mat img = Cv2.ImRead(FilePath.Image.Lenna, ImreadModes.Grayscale);
1717

1818
// expand input image to optimal size
1919
Mat padded = new Mat();

SamplesCS/Samples/FREAKSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FREAKSample : ISample
1111
{
1212
public void Run()
1313
{
14-
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
14+
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1515
var dst = new Mat(FilePath.Image.Lenna, ImreadModes.Color);
1616

1717
// ORB

SamplesCS/Samples/HistSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class HistSample : ISample
1212
{
1313
public void Run()
1414
{
15-
Mat src = Cv2.ImRead(FilePath.Image.Lenna, ImreadModes.GrayScale);
15+
Mat src = Cv2.ImRead(FilePath.Image.Lenna, ImreadModes.Grayscale);
1616

1717
// Histogram view
1818
const int Width = 260, Height = 200;

SamplesCS/Samples/HoughLinesSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void Run()
2121
private void SampleCpp()
2222
{
2323
// (1) Load the image
24-
using (Mat imgGray = new Mat(FilePath.Image.Goryokaku, ImreadModes.GrayScale))
24+
using (Mat imgGray = new Mat(FilePath.Image.Goryokaku, ImreadModes.Grayscale))
2525
using (Mat imgStd = new Mat(FilePath.Image.Goryokaku, ImreadModes.Color))
2626
using (Mat imgProb = imgStd.Clone())
2727
{

SamplesCS/Samples/KAZESample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ internal class KAZESample : ISample
1212
{
1313
public void Run()
1414
{
15-
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
15+
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1616
var kaze = KAZE.Create();
1717
var akaze = AKAZE.Create();
1818

SamplesCS/Samples/MatToBitmap.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void ToBitmap()
5050

5151
public void ToBitmapGrayScale()
5252
{
53-
Mat img = new Mat(FilePath.Image.Lenna511, ImreadModes.GrayScale); // width % 4 != 0
53+
Mat img = new Mat(FilePath.Image.Lenna511, ImreadModes.Grayscale); // width % 4 != 0
5454

5555
Bitmap bitmap = BitmapConverter.ToBitmap(img);
5656
// Bitmap bitmap = img.ToBitmap();
@@ -90,7 +90,7 @@ public void ToMat()
9090

9191
public void ToMatGrayScale()
9292
{
93-
Mat img = new Mat(FilePath.Image.Lenna511, ImreadModes.GrayScale);
93+
Mat img = new Mat(FilePath.Image.Lenna511, ImreadModes.Grayscale);
9494
Bitmap bitmap = img.ToBitmap();
9595

9696
Mat converted = BitmapConverter.ToMat(bitmap);

SamplesCS/Samples/MorphologySample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MorphologySample : ISample
1010
{
1111
public void Run()
1212
{
13-
Mat gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
13+
Mat gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1414
Mat binary = new Mat();
1515
Mat dilate1 = new Mat();
1616
Mat dilate2 = new Mat();

SamplesCS/Samples/StarDetectorSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class StarDetectorSample : ISample
1212
public void Run()
1313
{
1414
var dst = new Mat(FilePath.Image.Lenna, ImreadModes.Color);
15-
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
15+
var gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1616

1717
StarDetector detector = StarDetector.Create(45);
1818
KeyPoint[] keypoints = detector.Detect(gray);

SamplesCS/Samples/Stitching.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void Run()
4141
{
4242
Mat[] images = SelectStitchingImages(200, 200, 10);
4343

44-
var stitcher = Stitcher.Create(false);
44+
var stitcher = Stitcher.Create(Stitcher.Mode.Scans);
4545

4646
Mat pano = new Mat();
4747

SamplesCS/SamplesCS.csproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" />
3+
<Import Project="..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -88,16 +88,16 @@
8888
</PropertyGroup>
8989
<ItemGroup>
9090
<Reference Include="OpenCvSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
91-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.dll</HintPath>
91+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.dll</HintPath>
9292
</Reference>
9393
<Reference Include="OpenCvSharp.Blob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
94-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Blob.dll</HintPath>
94+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Blob.dll</HintPath>
9595
</Reference>
9696
<Reference Include="OpenCvSharp.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
97-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
97+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
9898
</Reference>
9999
<Reference Include="OpenCvSharp.UserInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
100-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
100+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
101101
</Reference>
102102
<Reference Include="PresentationCore" />
103103
<Reference Include="PresentationFramework" />
@@ -169,7 +169,7 @@
169169
<ErrorText>このプロジェクトは、このコンピューターにはない NuGet パッケージを参照しています。これらをダウンロードするには、NuGet パッケージの復元を有効にしてください。詳細については、http://go.microsoft.com/fwlink/?LinkID=322105 を参照してください。不足しているファイルは {0} です。</ErrorText>
170170
</PropertyGroup>
171171
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
172-
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props'))" />
172+
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props'))" />
173173
</Target>
174174
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
175175
Other similar extension points exist, see Microsoft.Common.targets.

SamplesCS/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="OpenCvSharp3-AnyCPU" version="3.4.4.20181118" targetFramework="net461" />
3+
<package id="OpenCvSharp3-AnyCPU" version="4.0.0.20181129" targetFramework="net461" />
44
</packages>

SamplesCore/Samples/ClaheSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ClaheSample : ISample
1111
{
1212
public void Run()
1313
{
14-
Mat src = new Mat(FilePath.Image.TsukubaLeft, ImreadModes.GrayScale);
14+
Mat src = new Mat(FilePath.Image.TsukubaLeft, ImreadModes.Grayscale);
1515
Mat dst1 = new Mat();
1616
Mat dst2 = new Mat();
1717
Mat dst3 = new Mat();

SamplesCore/Samples/HoughLinesSample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void Run()
2020
private void SampleCpp()
2121
{
2222
// (1) Load the image
23-
using (Mat imgGray = new Mat(FilePath.Image.Goryokaku, ImreadModes.GrayScale))
23+
using (Mat imgGray = new Mat(FilePath.Image.Goryokaku, ImreadModes.Grayscale))
2424
using (Mat imgStd = new Mat(FilePath.Image.Goryokaku, ImreadModes.Color))
2525
using (Mat imgProb = imgStd.Clone())
2626
{

SamplesCore/Samples/MorphologySample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MorphologySample : ISample
99
{
1010
public void Run()
1111
{
12-
Mat gray = new Mat(FilePath.Image.Lenna, ImreadModes.GrayScale);
12+
Mat gray = new Mat(FilePath.Image.Lenna, ImreadModes.Grayscale);
1313
Mat binary = new Mat();
1414
Mat dilate1 = new Mat();
1515
Mat dilate2 = new Mat();

SamplesCore/SamplesCore.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="OpenCvSharp3-AnyCPU" Version="3.4.4.20181118" />
24+
<PackageReference Include="OpenCvSharp3-AnyCPU" Version="4.0.0.20181129" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

SamplesVB/SamplesVB.vbproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" />
3+
<Import Project="..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props" Condition="Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -116,16 +116,16 @@
116116
</PropertyGroup>
117117
<ItemGroup>
118118
<Reference Include="OpenCvSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
119-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.dll</HintPath>
119+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.dll</HintPath>
120120
</Reference>
121121
<Reference Include="OpenCvSharp.Blob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
122-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Blob.dll</HintPath>
122+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Blob.dll</HintPath>
123123
</Reference>
124124
<Reference Include="OpenCvSharp.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
125-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
125+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.Extensions.dll</HintPath>
126126
</Reference>
127127
<Reference Include="OpenCvSharp.UserInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099, processorArchitecture=MSIL">
128-
<HintPath>..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
128+
<HintPath>..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\lib\net461\OpenCvSharp.UserInterface.dll</HintPath>
129129
</Reference>
130130
<Reference Include="PresentationCore" />
131131
<Reference Include="PresentationFramework" />
@@ -230,7 +230,7 @@
230230
<ErrorText>このプロジェクトは、このコンピューターにはない NuGet パッケージを参照しています。これらをダウンロードするには、NuGet パッケージの復元を有効にしてください。詳細については、http://go.microsoft.com/fwlink/?LinkID=322105 を参照してください。不足しているファイルは {0} です。</ErrorText>
231231
</PropertyGroup>
232232
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
233-
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.3.4.4.20181118\build\OpenCvSharp3-AnyCPU.props'))" />
233+
<Error Condition="!Exists('..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp3-AnyCPU.4.0.0.20181129\build\OpenCvSharp3-AnyCPU.props'))" />
234234
</Target>
235235
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
236236
Other similar extension points exist, see Microsoft.Common.targets.

SamplesVB/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="OpenCvSharp3-AnyCPU" version="3.4.4.20181118" targetFramework="net461" />
3+
<package id="OpenCvSharp3-AnyCPU" version="4.0.0.20181129" targetFramework="net461" />
44
</packages>

0 commit comments

Comments
 (0)