Page 1 of 1
Newbier want to knows can noesis package layout files to exe ?
Posted: 26 May 2019, 17:16
by whidbey
guess needs an exe file with layout files packaged in binarry file,not in folder.
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 27 May 2019, 10:07
by sfernandez
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.
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 27 May 2019, 10:33
by whidbey
understand..thank you very much. loving this.
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 28 May 2019, 08:02
by whidbey
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.
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 28 May 2019, 10:39
by jsantos
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.
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 28 May 2019, 10:39
by jsantos
Please, open a new thread for new topics. Thanks!
Re: Newbier want to knows can noesis package layout files to exe ?
Posted: 28 May 2019, 10:42
by whidbey
Please, open a new thread for new topics. Thanks!
ok next time,thanks