Skip to content

Commit

Permalink
Create API browser #61
Browse files Browse the repository at this point in the history
- refactoring to remove from the API useless definition
  • Loading branch information
mpostol committed Nov 6, 2021
1 parent 107e540 commit 3265a2c
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
8 changes: 4 additions & 4 deletions ModelCompilerUI/App.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
4 changes: 3 additions & 1 deletion ModelCompilerUI/ModelCompilerUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<RootNamespace>OOI.ModelCompilerUI</RootNamespace>
<AssemblyName>OOI.ModelCompilerUI</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
Expand Down Expand Up @@ -112,6 +112,8 @@
<Compile Include="ModelCompilerAPI.cs" />
<Compile Include="ModelCompilerAPIInternal.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Schemas\XmlSchemaValidator.cs" />
<Compile Include="StackGenerator.cs" />
<Compile Include="ToForms\GUIHandling.cs" />
<Compile Include="ToForms\IGUIHandling.cs" />
<Compile Include="ToForms\ToFormsConverters.cs" />
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions ModelCompilerUI/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
<package id="OPCFoundation.NetStandard.Opc.Ua.Core" version="1.4.367.41" targetFramework="net461" />
<package id="OPCFoundation.NetStandard.Opc.Ua.Security.Certificates" version="1.4.367.41" targetFramework="net461" />
<package id="OPCFoundation.NetStandard.Opc.Ua.Core" version="1.4.367.41" targetFramework="net461" requireReinstallation="true" />
<package id="OPCFoundation.NetStandard.Opc.Ua.Security.Certificates" version="1.4.367.41" targetFramework="net461" requireReinstallation="true" />
<package id="Portable.BouncyCastle" version="1.8.10" targetFramework="net461" />
<package id="System.Buffers" version="4.5.1" targetFramework="net461" />
<package id="System.Data.Common" version="4.3.0" targetFramework="net461" />
Expand All @@ -11,5 +11,5 @@
<package id="System.Net.NameResolution" version="4.3.0" targetFramework="net461" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net461" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net461" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" requireReinstallation="true" />
</packages>
4 changes: 2 additions & 2 deletions Tests/DemoModel/DemoModel.DataTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ public override bool IsEqual(IEncodeable encodeable)

#if !NET_STANDARD
/// <summary cref="ICloneable.Clone" />
public object Clone()
public override object Clone()
{
return (SampleUnion)this.MemberwiseClone();
}
Expand Down Expand Up @@ -1571,7 +1571,7 @@ public override bool IsEqual(IEncodeable encodeable)

#if !NET_STANDARD
/// <summary cref="ICloneable.Clone" />
public object Clone()
public override object Clone()
{
return (SampleUnionAllowSubtypes)this.MemberwiseClone();
}
Expand Down
10 changes: 6 additions & 4 deletions Tests/DemoModel/DemoModel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<AssemblyName>DemoModel</AssemblyName>
<IntermediateOutputPath>$(SolutionDir)build\obj\$(Configuration)\$(MSBuildProjectName)\</IntermediateOutputPath>
<RootNamespace>DemoModel</RootNamespace>
<Version>2.1.0</Version>
<RootNamespace>ModelCompiler</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\build\bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>..\build\obj\$(Configuration)\UaBase\</IntermediateOutputPath>
<OutputPath>$(SolutionDir)build\bin\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
<DefineConstants>NET_STANDARD</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>$(SolutionDir)build\bin\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
<DefineConstants>TRACE;NET_STANDARD</DefineConstants>
</PropertyGroup>

Expand Down

0 comments on commit 3265a2c

Please sign in to comment.