Giter VIP home page Giter VIP logo

common's Introduction

AASX Common Libraries

AASPE Common Components Library for AASPE and AASX-Server
AASPE AasCore Library /V3.0 AAS Specification/ for AASPE and AASX-Server

included components and namespaces

Aaspe.Common (aaspe-common)

  • AasxCsharpLibrary:
    • AasxCompatibilityModels
    • AasxIntegrationBase
    • AdminShell_V20
    • AdminShellNS
    • AdminShellNS.Exceptions
    • AdminShellNS.Extensions
    • Extensions
    • Extensions.ArrayExtensions
  • jsoncanonicalizer
    • Org.Webpki.Es6NumberSerialization
  • es6numberserializer
    • Org.Webpki.JsonCanonicalizer
  • SSIExtension
    • SSIExtension

Aaspe.AasCore (aaspe-aascore)

usage

Nugets can be either pulled from the Ether (nuget.org) or from a local storage.
Think Release/Debug builds.

local nuget

To use a local nuget to a project add a local nuget source.

Tools > Options > Package Manager > Package Sources

Add a new nuget source:

  1. Name e.g. local nugets

  2. Source: the directory where the nuget is,
    e.g. D:\eclipse-aaspe\aaspe-common\src\aaspe-common\bin\Debug is the default pack path

nuget.org

Aaspe.Commons and Aaspe.AasCore are available at nuget.

add the nuget to a project

Add the nuget to a project:

  1. (remove the projects contained in the nuget from the repo and dependencies)

  2. R-click the project (e.g. AasxPackageLogic) > Manage nugets

  3. If using a local nuget: change Package source to the new source local nugets

  4. Install the nuget.

  5. (in case of problems with the nuget installation, try Update-Package –reinstall Aaspe.Common)

  6. Enjoy.

build

See documentation.md (tbd)

common's People

Contributors

martafullen avatar alexanderwollbrink avatar eclipse-otterdog[bot] avatar

Stargazers

Oliver avatar

Watchers

Eclipse Webmaster team avatar Marko Ristin avatar  avatar

Forkers

freezor

common's Issues

aaspe-aascore not understood by a plugin

[AasxPluginGenericForms] Error: loading additional options ($D:\idta\eclipse-aaspe\aaspe\src\AasxPluginGenericForms\bin\Debug\net6.0-windows\IDTA 02004-1-2_Template_Handover Documentation.add-options.json): Error resolving type specified in JSON 'AasCore.Aas3_0.ConceptDescription, AasCore.Aas3_0'. Path 'Records[0].ConceptDescriptions[0].$type', line 492, position 70. Error resolving type specified in JSON 'AasCore.Aas3_0.ConceptDescription, AasCore.Aas3_0'. Path 'Records[0].ConceptDescriptions[0].$type', line 492, position 70.
InnerException: Could not load assembly 'AasCore.Aas3_0'. at    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at AasxIntegrationBase.AasxPluginOptionsBase.LoadOptionsFromJson[T](String json, String fnInfo, JsonSerializerSettings settings, LogInstance log, UpgradeMapping[] upgrades) in D:\idta\eclipse-aaspe\aaspe\src\AasxIntegrationBase\AasxPluginOptionsBase.cs:line 121
at AasxIntegrationBase.AasxPluginOptionsBase.TryLoadAdditionalOptionsFromAssemblyDir[T](String pluginName, Assembly assy, JsonSerializerSettings settings, LogInstance log, UpgradeMapping[] upgrades) in D:\idta\eclipse-aaspe\aaspe\src\AasxIntegrationBase\AasxPluginOptionsBase.cs:line 189.Inner message: Could not load assembly 'AasCore.Aas3_0'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.