Git Product home page Git Product logo

Comments (13)

stephanstapel avatar stephanstapel commented on September 27, 2024 3

The functionality of the library is to read and write OpenTrans information.
Along the process chain, you can use the sister library BMECAT.net for catalog information and OpenTrans.net for Order and OrderResponse.

A demo outlining the functionality is here:

https://github.com/stephanstapel/OpenTrans.net/blob/master/OpenTrans.net-Test/Application.cs

from opentrans.net.

stephanstapel avatar stephanstapel commented on September 27, 2024 2

This is really odd, sorry for this.
As written above, I set up a small .net core project using VSCode. Maybe the .csproj file helps? It looks like this:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RootNamespace>opentrans_vscode_test</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="opentrans.net" Version="1.3.0" />
  </ItemGroup>
</Project>

with the program itself basically as:

static void Main(string[] args)
{            
  Order order = new Order()
  {
    Id = "OID1",
    OrderDate = new DateTime(2009, 05, 13, 6, 20, 0),
    DesiredDeliveryDateStart = new DateTime(2009, 05, 20, 10, 0, 0),
    DesiredDeliveryDateEnd = new DateTime(2009, 05, 20, 10, 0, 0),
  };
}

from opentrans.net.

stephanstapel avatar stephanstapel commented on September 27, 2024

Hi,
I have no experience using OpenTrans.net or VSCode under Linux so I quickly googled for this error.
Is it possible that the project isn't open? At least these two postings suggest this:

https://stackoverflow.com/questions/57908712/error-on-adding-nuget-package-from-vs-code
microsoft/vscode-maven#277

from opentrans.net.

stephanstapel avatar stephanstapel commented on September 27, 2024

I also found that the package was .net 4.6.2 which will not work under Linux. So I updated it into .net standard 2.0. Waiting for your feedback.

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

I still get the same error. Can you install your Nuget-Package in Visual Code on Windows?

latest-screenshot

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

I really would like to test this software in Visual Code on Linux. If your Plugin runs in Visual Code on Windows, it will work on Linux as well. ;)

from opentrans.net.

stephanstapel avatar stephanstapel commented on September 27, 2024

I updated the package to version 1.3.0 since I forgot to modify the package to net standard 2.0 accordingly. Please try again. It works fine now with net core 3.1 in VSCode.

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

I just tried again, and I still get

latest-screenshot

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

Ok, I just installed https://dot.net/v1/dotnet-install.sh on Linux.

Adding this as well to my .bashrc

export ASPNETCORE_ENVIRONMENT=/home/zeno/.dotnet/
export PATH="$HOME/.dotnet/:$PATH"

still getting the same error.

~> dotnet --list-sdks
3.1.300 [/home/zeno/.dotnet/sdk]

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

I would like to test your software on Linux an convert and EDIFACT D.96A order file to Opentrans 2.1. Does your software support that yet?

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

Yes thank you, I read that. But what about transformation from and to EDIFACT D.96.A files?

from opentrans.net.

stephanstapel avatar stephanstapel commented on September 27, 2024

This library isn't about EDIFACT but only OpenTrans.

from opentrans.net.

zdavatz avatar zdavatz commented on September 27, 2024

Ok. Thank you!

from opentrans.net.

Related Issues (20)

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.