C
CSharper
Please tell me what am I doing wrong in the following;
I have a WPF program that I build it in IDE and ran it, it runs fine.
I wanted to make it an exe through command line compiler(why, I need
to do some additional work) to I did a build in IDE and took the
compiler parameters and wrote a batch program to create the exe. It
compiled successfully and created the exe. But when try to run it I
get the error that Window1.xaml not found.
I have 2 part question;
1. What is the correct way to create single exe that I can distribute
it to the client, without giving all the xaml files?
2. I did find couple of tools from some blogs like ac.exe or xamlc.exe
to convert the xaml to baml. But even if I convert it to baml how can
I add it to the exe file?
Thanks.
I have a WPF program that I build it in IDE and ran it, it runs fine.
I wanted to make it an exe through command line compiler(why, I need
to do some additional work) to I did a build in IDE and took the
compiler parameters and wrote a batch program to create the exe. It
compiled successfully and created the exe. But when try to run it I
get the error that Window1.xaml not found.
I have 2 part question;
1. What is the correct way to create single exe that I can distribute
it to the client, without giving all the xaml files?
2. I did find couple of tools from some blogs like ac.exe or xamlc.exe
to convert the xaml to baml. But even if I convert it to baml how can
I add it to the exe file?
Thanks.