C#NET project - embed file as resource in DLL

Dear C# expert,

In my project I have a file (machine learned tensorflow graph model) which I dont want share during deployment. Hence I wanted this graph model to be embed inside the DLL.

I am using tensorflowsharp to consume the graph model. when I add the graph model as resource and run it, I get the following error.

An unhandled exception of type '[login to view URL]' occurred in [login to view URL]

Additional information: Object reference not set to an instance of an object. occurred

Please let me know if you can work on this. You can download my project here. Inside it you can see "graph" folder. The file inside that folder needed to be a part of the DLL.

[login to view URL]

I am using VS2017 C#.

Happy bidding. Thanks for the help in advance.

Skills: C# Programming, .NET

See more: please let know will start project, making setup file net project, please let know little bit think choose project, reverse engineering project exe file net, net visual basic 2008 resource file, add delphi tlb reference net project instead dll, terminal services net project dll, use unmanaged dll net project, add native dll net project, save audio video file net project, save xml file net project, dear sir please let know progress buy products, recreate net project file, calling dll net project, human resource management system asp net project documentation, project net import xml file, vb net add xml file project, net project write file read file, project, c# .net project

About the Employer:
( 225 reviews ) SK, Korea, Republic of

Project ID: #22109663

Awarded to:


Hello I have almost 10 years of experience with C# and .NET Framework and I have experience with putting various things into resources, including referenced assemblies.

$20 USD in 1 day
(770 Reviews)

3 freelancers are bidding on average $27 for this job


hi. I have downloaded and embedded the graph file to DLL. and it works now. there was one small mistake in code. I can show you on teamviewer and I will give you solution after you award. waiting for your response...

$40 USD in 1 day
(97 Reviews)

Hello, I have gone through your project description and understood what has to be done in this task and can give you a complete assurance that I can do the job. I have sound experience in performing such kind of work More

$20 USD in 7 days
(0 Reviews)