Skip to content

Commit d781978

Browse files
committed
chore: 增加依赖项
1 parent 563b983 commit d781978

1 file changed

Lines changed: 22 additions & 7 deletions

File tree

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

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,35 @@
2929
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
3030
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.*" />
3131
</ItemGroup>
32+
33+
<ItemGroup>
34+
<Reference Include="OpcComRcw" HintPath="Lib\OpcComRcw.dll" />
35+
<Reference Include="OpcNetApi" HintPath="Lib\OpcNetApi.dll" />
36+
<Reference Include="OpcNetApi.Com" HintPath="Lib\OpcNetApi.Com.dll" />
37+
</ItemGroup>
38+
39+
<ItemGroup>
40+
<Content Include="lib\OpcComRcw.dll" Pack="true" PackagePath="lib\net6.0" />
41+
<Content Include="lib\OpcNetApi.dll" Pack="true" PackagePath="lib\net6.0" />
42+
<Content Include="lib\OpcNetApi.Com.dll" Pack="true" PackagePath="lib\net6.0" />
43+
</ItemGroup>
44+
3245
<ItemGroup>
33-
<None Include="lib\OpcComRcw.dll" Pack="true" PackagePath="lib\net6.0" />
34-
<None Include="lib\OpcNetApi.dll" Pack="true" PackagePath="lib\net6.0" />
35-
<None Include="lib\OpcNetApi.Com.dll" Pack="true" PackagePath="lib\net6.0" />
46+
<Content Include="lib\OpcComRcw.dll" Pack="true" PackagePath="lib\net7.0" />
47+
<Content Include="lib\OpcNetApi.dll" Pack="true" PackagePath="lib\net7.0" />
48+
<Content Include="lib\OpcNetApi.Com.dll" Pack="true" PackagePath="lib\net7.0" />
3649
</ItemGroup>
3750

3851
<ItemGroup>
39-
<Reference Include="OpcComRcw" HintPath="lib\OpcComRcw.dll" Private="true" PackageCopyToOutput="true" />
40-
<Reference Include="OpcNetApi" HintPath="lib\OpcNetApi.dll" Private="true" PackageCopyToOutput="true" />
41-
<Reference Include="OpcNetApi.Com" HintPath="lib\OpcNetApi.Com.dll" Private="true" PackageCopyToOutput="true" />
52+
<Content Include="lib\OpcComRcw.dll" Pack="true" PackagePath="lib\net8.0" />
53+
<Content Include="lib\OpcNetApi.dll" Pack="true" PackagePath="lib\net8.0" />
54+
<Content Include="lib\OpcNetApi.Com.dll" Pack="true" PackagePath="lib\net8.0" />
4255
</ItemGroup>
4356

4457
<ItemGroup>
45-
<Content Include="build\*.targets" PackagePath="build" />
58+
<Content Include="lib\OpcComRcw.dll" Pack="true" PackagePath="lib\net9.0" />
59+
<Content Include="lib\OpcNetApi.dll" Pack="true" PackagePath="lib\net9.0" />
60+
<Content Include="lib\OpcNetApi.Com.dll" Pack="true" PackagePath="lib\net9.0" />
4661
</ItemGroup>
4762

4863
<ItemGroup>

0 commit comments

Comments
 (0)