Skip to content

Commit 4e61f93

Browse files
authored
Use OPC UA SDK 1.5.374-preview.g1a7d9b8e51 (#387)
* Use sdk 1.5.374.93-preview * Update nuget * Use preview * Add nuget.config for preview opc ua stack
1 parent d6f80e5 commit 4e61f93

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

src/nuget.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"/>
5+
<add key="opcua-preview" value="https://opcfoundation.pkgs.visualstudio.com/opcua-netstandard/_packaging/opcua-preview/nuget/v3/index.json"/>
6+
</packageSources>
7+
</configuration>

src/opc-plc.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<Choose>
4444
<When Condition="'$(Configuration)'=='Debug'">
4545
<ItemGroup Condition="!$(DefineConstants.Contains(UseLocalOpcUaSdk))">
46-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration.Debug" Version="1.5.374.78" NoWarn="NU5104" />
47-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server.Debug" Version="1.5.374.78" NoWarn="NU5104" />
46+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration.Debug" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
47+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server.Debug" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
4848
</ItemGroup>
4949
<ItemGroup Condition="$(DefineConstants.Contains(UseLocalOpcUaSdk))">
5050
<ProjectReference Include="..\..\UA-.NETStandard\Libraries\Opc.Ua.Configuration\Opc.Ua.Configuration.csproj" />
@@ -53,8 +53,8 @@
5353
</When>
5454
<When Condition="'$(Configuration)'=='Release'">
5555
<ItemGroup Condition="!$(DefineConstants.Contains(UseLocalOpcUaSdk))">
56-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration" Version="1.5.374.78" NoWarn="NU5104" />
57-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server" Version="1.5.374.78" NoWarn="NU5104" />
56+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
57+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
5858
</ItemGroup>
5959
<ItemGroup Condition="$(DefineConstants.Contains(UseLocalOpcUaSdk))">
6060
<ProjectReference Include="..\..\UA-.NETStandard\Libraries\Opc.Ua.Configuration\Opc.Ua.Configuration.csproj" />

tests/nuget.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"/>
5+
<add key="opcua-preview" value="https://opcfoundation.pkgs.visualstudio.com/opcua-netstandard/_packaging/opcua-preview/nuget/v3/index.json"/>
6+
</packageSources>
7+
</configuration>

tests/opc-plc-tests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<Choose>
2020
<When Condition="'$(Configuration)'=='Release'">
2121
<ItemGroup>
22-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server" Version="1.5.374.78" NoWarn="NU5104" />
23-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration" Version="1.5.374.78" NoWarn="NU5104" />
24-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes" Version="1.5.374.78" NoWarn="NU5104" />
22+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
23+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
24+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
2525
</ItemGroup>
2626
</When>
2727
<Otherwise>
2828
<ItemGroup>
29-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server.Debug" Version="1.5.374.78" NoWarn="NU5104" />
30-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration.Debug" Version="1.5.374.78" NoWarn="NU5104" />
31-
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes.Debug" Version="1.5.374.78" NoWarn="NU5104" />
29+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Server.Debug" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
30+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Configuration.Debug" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
31+
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes.Debug" Version="1.5.374-preview.g1a7d9b8e51" NoWarn="NU5104" />
3232
</ItemGroup>
3333
</Otherwise>
3434
</Choose>

0 commit comments

Comments
 (0)