DA NET API missing AssemblyVersionInfo.cs|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
DA NET API missing AssemblyVersionInfo.cs
Avatar
Thomas Voss
New Member
Members
Forum Posts: 2
Member Since:
04/21/2014
sp_UserOfflineSmall Offline
1
07/30/2018 - 11:11
sp_Permalink sp_Print

I just downloaded opc-net-api-sample-clients-2.01.107-20180130 from the website and extracted it.  While trying to build it, it looks like I’m missing the AssemblyVersionInfo.cs for OPC COM RCW, OPC NET API, OPC NET COM Wrapper, OPC NET XML Wrapper.

I installed the matching redist as well and still no luck.  Where are these files?

Thanks

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/30/2018 - 15:32
sp_Permalink sp_Print

The file contains this:

using System;
using System.Collections.Generic;
using System.Text;

internal static class AssemblyVersionInfo
{
/// <summary>
/// The current copy right notice.
/// </summary>
public const string Copyright = “Copyright © 2003-2017 OPC Foundation, Inc”;

/// <summary>
/// The current build file version.
/// </summary>
public const string CurrentFileVersion = “0.0”;
}

Put it in the Include dir at the root.

Avatar
Thomas Voss
New Member
Members
Forum Posts: 2
Member Since:
04/21/2014
sp_UserOfflineSmall Offline
3
07/31/2018 - 11:24
sp_Permalink sp_Print

Works for me, thanks!

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 22
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4888