Skip to content

Commit 583f11a

Browse files
authored
feat(OpcDa): bump version 9.0.2 (#524)
* refactor: 增加编译时拷贝消息输出 * chore: bump version 9.0.2
1 parent cba58be commit 583f11a

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

src/extensions/BootstrapBlazor.OpcDa/BootstrapBlazor.OpcDa.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>9.0.1</Version>
4+
<Version>9.0.2</Version>
55
<RootNamespace>BootstrapBlazor.OpcDa</RootNamespace>
66
</PropertyGroup>
77

@@ -34,8 +34,8 @@
3434

3535
<ItemGroup>
3636
<Reference Include="OpcComRcw" HintPath="lib\OpcComRcw.dll" Private="true" PackageCopyToOutput="true" />
37-
<Reference Include="OpcNetApi" HintPath="lib\OpcComRcw.dll" Private="true" PackageCopyToOutput="true" />
38-
<Reference Include="OpcNetApi.Com" HintPath="lib\OpcComRcw.dll" Private="true" PackageCopyToOutput="true" />
37+
<Reference Include="OpcNetApi" HintPath="lib\OpcNetApi.dll" Private="true" PackageCopyToOutput="true" />
38+
<Reference Include="OpcNetApi.Com" HintPath="lib\OpcNetApi.Com.dll" Private="true" PackageCopyToOutput="true" />
3939
</ItemGroup>
4040

4141
<ItemGroup>
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
<Project>
22

33
<ItemGroup>
4-
<Files Include="$(MSBuildThisFileDirectory)/../lib/net6.0/Opc*.*"/>
4+
<OpcDaFiles Include="$(MSBuildThisFileDirectory)/../lib/net6.0/Opc*.*"/>
55
</ItemGroup>
66

7-
<Target Name="CopyFiles" AfterTargets="Build">
8-
<Copy SourceFiles="@(Files)" DestinationFolder="$(TargetDir)"/>
7+
<Target Name="OpcDaCopyFilesAfterBuild" AfterTargets="Build">
8+
<Message Text="[OpcDa] Copy OpcDa files -> $(TargetDir)" Importance="high" />
9+
<Copy SourceFiles="@(OpcDaFiles)" DestinationFolder="$(TargetDir)"/>
10+
</Target>
11+
12+
<Target Name="OpcDaCopyFilesAfterPublish" AfterTargets="Publish">
13+
<Copy SourceFiles="@(OpcDaFiles)" DestinationFolder="$(PublishDir)"/>
914
</Target>
1015

1116
</Project>

0 commit comments

Comments
 (0)