Skip to content

Commit

Permalink
Make it compliant with VS 2019 #12
Browse files Browse the repository at this point in the history
- done
- 4.01.00-Alpha
- UT 👍
  • Loading branch information
mpostol committed Nov 9, 2021
1 parent c84e3b2 commit 304cf44
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 91 deletions.
24 changes: 3 additions & 21 deletions SolutionMetadataTemplate.t4
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<#+

//Common
string AssemblyCopyright = "Copyright (C) 2019, Mariusz Postol LODZ POLAND.";
string AssemblyCopyright = "Copyright (C) 2021, Mariusz Postol LODZ POLAND.";
string AssemblyCompany = "Mariusz Postol";
string Url = "www.cas.eu";
string Email = "mpostol@cas.eu";
Expand All @@ -10,28 +10,10 @@ string Owner = "Mariusz Postol";
string AssemblyProduct = "Object Oriented Internet";
string AssemblyTrademark = "CommServer";

//CAS.UA.IServerConfiguration
string OPCUAIServerConfigurationProductName = "CAS Address Space Model Designer";
string OPCUAIServerConfigurationAssemblyVersion = "1.00.00";

//CAS.CommServer.UA.Common UA common library
string CASUACommonProduct = "CAS.UA.Common";
string CASUACommonVersion = "3.00.05";
string CASUACommonPreRelease = "";


//To be removed

//CAS.UA.Model.Designer
string CASUAMDProductName = "CAS OPC UA Address Space Model Designer";
string CASUAMDVersion = "4.0.0";
string CASUAMDVersionPreRelease = "-Alpha";

//Default product description
string DefaultProductName = "CAS CommServer Family";
string DefaultProductTrademark = "CommServer";
string DefaultProductVersion = "1.00.00";

string CASUACommonVersion = "4.01.00";
string CASUACommonPreRelease = "-Alpha";

//Note:
//Alpha, Bravo, Charlie, Delta, Echo, Foxtrot, Golf, Hotel, India, Juliet,
Expand Down
54 changes: 20 additions & 34 deletions UA.Common.UnitTests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle( "UACommonTesting" )]
[assembly: AssemblyDescription( "" )]
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "Microsoft" )]
[assembly: AssemblyProduct( "UACommonTesting" )]
[assembly: AssemblyCopyright( "Copyright © Microsoft 2013" )]
[assembly: AssemblyTrademark( "" )]
[assembly: AssemblyCulture( "" )]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible( false )]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid( "493964ca-9bc5-4d69-b10d-75b29318e414" )]

// Version information for an assembly consists of the following four values:
//__________________________________________________________________________________________________
//
// Major Version
// Minor Version
// Build Number
// Revision
// Copyright (C) 2021, Mariusz Postol LODZ POLAND.
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion( "1.0.0.0" )]
[assembly: AssemblyFileVersion( "1.0.0.0" )]
// To be in touch join the community at GitHub: https://github.com/mpostol/OPC-UA-OOI/discussions
//__________________________________________________________________________________________________

using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("UACommonTesting")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("UACommonTesting")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("493964ca-9bc5-4d69-b10d-75b29318e414")]
[assembly: AssemblyVersion("4.01.0.*")]
[assembly: AssemblyFileVersion("4.01.0.0")]
2 changes: 1 addition & 1 deletion UA.Common.UnitTests/UA.Common.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CAS.CommServer.UA.Common.UnitTest</RootNamespace>
<AssemblyName>CAS.CommServer.UA.CommonUnitTest</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
Expand Down
25 changes: 8 additions & 17 deletions UA.Common/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@

//<summary>
// Title : Assembly info for: CAS.UACommon
// System : Microsoft Visual C# .NET
// $LastChangedDate: 2013-04-17 11:14:21 +0200 (Śr, 17 kwi 2013) $
// $Rev: 9137 $
// $LastChangedBy: mpostol $
// $URL: svn://svnserver.hq.cas.com.pl/VS/trunk/PR45-DataProviderDiagnostic/Properties/AssemblyInfo.tt $
// $Id: AssemblyInfo.tt 9137 2013-04-17 09:14:21Z mpostol $
//__________________________________________________________________________________________________
//
// Copyright (C) 2019, Mariusz Postol LODZ POLAND.
// +48 (608) 619 899
// mpostol@cas.eu
// www.cas.eu
//</summary>
// Copyright (C) 2021, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GitHub: https://github.com/mpostol/OPC-UA-OOI/discussions
//__________________________________________________________________________________________________

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("CAS.UACommon")]
[assembly: AssemblyDescription("Object Oriented Internet: CAS.UACommon")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Mariusz Postol")]
[assembly: AssemblyProduct("Object Oriented Internet")]
[assembly: AssemblyCopyright("Copyright (C) 2019, Mariusz Postol LODZ POLAND.")]
[assembly: AssemblyCopyright("Copyright (C) 2021, Mariusz Postol LODZ POLAND.")]
[assembly: AssemblyTrademark("CommServer")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("9f3155f3-599c-4a1c-b3fb-16e8cc305051")]
[assembly: AssemblyVersion("3.00.05.*")]
[assembly: AssemblyFileVersion("3.00.05")]
[assembly: AssemblyVersion("4.01.00.*")]
[assembly: AssemblyFileVersion("4.01.00")]
18 changes: 5 additions & 13 deletions UA.Common/Properties/AssemblyInfo.tt
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
<#@ template debug="false" hostspecific="false" language="C#" #>
<#@ output extension=".cs" #>

//<summary>
// Title : Assembly info for: <#=m_AssemblyTitle#>
// System : Microsoft Visual C# .NET
// $LastChangedDate: 2013-04-17 11:14:21 +0200 (Śr, 17 kwi 2013) $
// $Rev: 9137 $
// $LastChangedBy: mpostol $
// $URL: svn://svnserver.hq.cas.com.pl/VS/trunk/PR45-DataProviderDiagnostic/Properties/AssemblyInfo.tt $
// $Id: AssemblyInfo.tt 9137 2013-04-17 09:14:21Z mpostol $
//__________________________________________________________________________________________________
//
// <#=AssemblyCopyright#>
// <#=Phone#>
// <#=Email#>
// <#=Url#>
//</summary>
// Copyright (C) 2021, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GitHub: https://github.com/mpostol/OPC-UA-OOI/discussions
//__________________________________________________________________________________________________

using System.Reflection;
using System.Runtime.CompilerServices;
Expand Down
2 changes: 1 addition & 1 deletion UA.Common/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion UA.Common/UA.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CAS.CommServer.UA.Common</RootNamespace>
<AssemblyName>CAS.CommServer.UA.Common</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>cas.snk</AssemblyOriginatorKeyFile>
Expand Down
4 changes: 2 additions & 2 deletions UA.Common/UA.Common.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>CAS.UA.Common</id>
<version>3.00.05</version>
<version>4.01.00-Alpha</version>
<title>CAS UA common library.</title>
<authors>Mariusz Postol</authors>
<owners>Mariusz Postol</owners>
Expand All @@ -22,7 +22,7 @@
- removed IBaseDirectoryProvider
- Changed OPC CLassic SDK dependency
</releaseNotes>
<copyright>Copyright (C) 2019, Mariusz Postol LODZ POLAND.</copyright>
<copyright>Copyright (C) 2021, Mariusz Postol LODZ POLAND.</copyright>
<tags>OPCUA, CommServer, ASMD, Address Space Model Designer.</tags>
<dependencies>
<dependency id="CAS.CommServer.OPCClassic.SDK.Core" version="2.01.1062" />
Expand Down
2 changes: 1 addition & 1 deletion UA.Common/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
</CAS.UA.Model.Designer.Common.Properties.Settings>
</userSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
</configuration>

0 comments on commit 304cf44

Please sign in to comment.