Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3223302
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:05:28+00:00 2026-05-17T16:05:28+00:00

I have an embedded file – xsd.exe – in my .NET library. How can

  • 0

I have an embedded file – xsd.exe – in my .NET library.

How can I, without rebuilding the embedded file from its byte[], use it?

The exe runs on the command line so I need to be able to make calls like: xsd /o:.. or whatever.

I have read something about ManifestResourceStream but I can’t seem to find it in the framework and I have no idea how to use it.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:05:29+00:00Added an answer on May 17, 2026 at 4:05 pm

    If you can write it to a temp file (File.WriteAllBytes), you can create a new AppDomain, and use yourAppDomain.ExecuteAssembly(...); however, to do this manually from a byte[], I expect you would need to load it manually with Assembly.Load(byte[],...), look at the loadedAssembly.EntryPoint, and use reflection to invoke it. The ExecuteAssembly approach is far easier…

    Of course, if you can write it to a file, you could also just use Process.Start which is even more easy ;p

    You might also want to double-check redist/deployment rights re xsd.exe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL file added to my VS.NET 2008 project as an embedded
I have a .ico file that is embedded as a resource (build action set
I have an embedded PowerPoint presentation in an Excel workbook. How can I edit
We have a small embedded system without any video or serial ports (i.e. we
Basically I have embedded a xps file in a WPF application containing a XPSDocument
I have embedded an EXE as a resource in my Win32 application. I'm looking
We have a Windows application on .net 2.0 that uses embedded encrypted database. The
I have embedded a Python interpreter in a C program. Suppose the C program
I have an embedded webserver that has a total of 2 Megs of space
I have an embedded flash that is transparent so it looks like part of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.