Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load file or assembly 'netstandard, Version=2.1.0.0 #42

Open
NRomyR opened this issue Mar 13, 2021 · 1 comment
Open

Could not load file or assembly 'netstandard, Version=2.1.0.0 #42

NRomyR opened this issue Mar 13, 2021 · 1 comment

Comments

@NRomyR
Copy link

NRomyR commented Mar 13, 2021

Hi,

Does anyone have the same problem as I do.?

I tried to load the instance document using ASP.net with targeted framework 4.7, vb.net

`

            Dim path, Filenya As String
            Dim xbrlDoc1 = New XbrlDocument
            Dim a As Integer
            path = Server.MapPath("documents//")
            FileUpload1.SaveAs(path + FileUpload1.FileName)
            Filenya =path + FileUpload1.FileName
            MsgBox("File already uploaded at " + path + FileUpload1.FileName)

            xbrlDoc1.Load(Filenya)`

However I got this error message
Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

image

If you have the solution, please let me know.

Thanks and Cheers,
Romy

@JeffFerguson
Copy link
Owner

I think the issue is that your ASP.NET application is built to use the .NET Framework while Gepsio is built to use .NET Standard 2.1, and, by association, .NET Core. According to this document, .NET Standard 2.1 does not support .NET Framework. Can you build using .NET Core instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants