whidbey
Topic Author
Posts: 49
Joined: 26 May 2019, 07:16

Newbier want to knows can noesis package layout files to exe ?

26 May 2019, 17:16

guess needs an exe file with layout files packaged in binarry file,not in folder.
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: Newbier want to knows can noesis package layout files to exe ?

27 May 2019, 10:07

Hi,

Yes, it is possible, our samples are doing exactly that.
In C++ we convert the xaml files to a header file that is compiled along with the exe.
In C# we use the "Embedded resource" Build action to pack the xaml files (an other resources) inside the assembly.
Then we use the embedded resource providers available in the application framework (you will find the source code in the corresponding SDK) to load the files.

Let us know if you need further help setting this up.
 
whidbey
Topic Author
Posts: 49
Joined: 26 May 2019, 07:16

Re: Newbier want to knows can noesis package layout files to exe ?

27 May 2019, 10:33

understand..thank you very much. loving this.
 
whidbey
Topic Author
Posts: 49
Joined: 26 May 2019, 07:16

Re: Newbier want to knows can noesis package layout files to exe ?

28 May 2019, 08:02

one more question is:
is there a tool generate xaml to c++ headerfiles? and will the headfiles be recoverd everytime when generate?
thanks
Hi,

Yes, it is possible, our samples are doing exactly that.
In C++ we convert the xaml files to a header file that is compiled along with the exe.
In C# we use the "Embedded resource" Build action to pack the xaml files (an other resources) inside the assembly.
Then we use the embedded resource providers available in the application framework (you will find the source code in the corresponding SDK) to load the files.

Let us know if you need further help setting this up.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Newbier want to knows can noesis package layout files to exe ?

28 May 2019, 10:39

one more question is:
is there a tool generate xaml to c++ headerfiles? and will the headfiles be recoverd everytime when generate?
Yes, we provide a tool for that (Bin2h), it is included in the SDK and all our samples are configured to use it automatically each time a XAML changes.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Newbier want to knows can noesis package layout files to exe ?

28 May 2019, 10:39

Please, open a new thread for new topics. Thanks!
 
whidbey
Topic Author
Posts: 49
Joined: 26 May 2019, 07:16

Re: Newbier want to knows can noesis package layout files to exe ?

28 May 2019, 10:42

Please, open a new thread for new topics. Thanks!
ok next time,thanks

Who is online

Users browsing this forum: No registered users and 2 guests