{"id":16473094,"url":"https://github.com/binki/quickopcpackagereference","last_synced_at":"2025-02-28T06:21:07.205Z","repository":{"id":143134256,"uuid":"149623013","full_name":"binki/QuickOpcPackageReference","owner":"binki","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-20T14:34:08.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T02:19:17.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T14:33:40.000Z","updated_at":"2018-09-20T14:34:10.000Z","dependencies_parsed_at":"2023-04-10T08:36:19.174Z","dependency_job_id":null,"html_url":"https://github.com/binki/QuickOpcPackageReference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FQuickOpcPackageReference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FQuickOpcPackageReference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FQuickOpcPackageReference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FQuickOpcPackageReference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binki","download_url":"https://codeload.github.com/binki/QuickOpcPackageReference/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241110918,"owners_count":19911412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T12:25:19.242Z","updated_at":"2025-02-28T06:21:07.186Z","avatar_url":"https://github.com/binki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Demo to help demonstrate the problem described at http://www.opclabs.com/forum/feature-requests-product-improvement-ideas/2523-please-support-packagereference-for-nuget-packages . This project uses `\u003cPackageReference/\u003e` to reference [`OpcLabs.QuickOpc`](https://www.nuget.org/packages/OpcLabs.QuickOpc/5.53.315). As a result, when compiled, the project is missing the following files which are (in my tests) required for successful execution:\n\n* `App_Web_OpcLabs.EasyOpcClassicRaw.amd64.dll`\n* `App_Web_OpcLabs.EasyOpcClassicRaw.x86.dll`\n\nThe result is that the program crashes if you simply compile and run this project without having first installed OpcLabs.QuickOpc via the installer. You get a stack like the following:\n\n```\nUnhandled Exception: System.TypeInitializationException: The type initializer for 'OpcLabs.EasyOpc.DataAccess.EasyDAClient' threw an exception. ---\u003e System.IO.FileNotFoundException: Could not load file or assembly 'App_Web_OpcLabs.EasyOpcClassicRaw.x86, Version=5.53.315.1, Culture=neutral, PublicKeyToken=6faddca41dacb409' or one of its dependencies. The system cannot find the file specified.\n+ It is possible that Microsoft Visual C++ Redistributable Package is not installed.\n   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark\u0026 stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\n   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark\u0026 stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\n   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark\u0026 stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\n   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark\u0026 stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)\n   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark\u0026 stackMark, Boolean forIntrospection)\n   at System.Reflection.Assembly.Load(String assemblyString)\n   at OpcLabs.EasyOpc.Implementations.Native.Assemblies.LoadRawAssembly(String name)\n   at OpcLabs.EasyOpc.Implementations.Native.Assemblies.get_EasyOpcClassicRaw()\n   at OpcLabs.EasyOpc.Implementations.Native.Assemblies.GetRawType(String name)\n   at OpcLabs.EasyOpc.Implementations.Native.DataAccess.NativeEasyDAClient.get_RawType()\n   at OpcLabs.EasyOpc.Implementations.Native.DataAccess.NativeEasyDAClient.set_AdaptableParameters(EasyDAAdaptableParameters value)\n   at OpcLabs.EasyOpc.DataAccess.EasyDAClient..cctor()\n   --- End of inner exception stack trace ---\n   at OpcLabs.EasyOpc.DataAccess.EasyDAClient.Create()\n   at QuickOpcPackageReference.Program.Main(String[] args) in C:\\Users\\binki\\source\\repos\\QuickOpcPackageReference\\QuickOpcPackageReference\\Program.cs:line 9\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fquickopcpackagereference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinki%2Fquickopcpackagereference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fquickopcpackagereference/lists"}