如何捆绑的index.html,jquery.js和,在的main.css DLL在WPF使用? [英] How to bundle index.html, jquery.js, main.css in DLL to use in WPF?
本文介绍了如何捆绑的index.html,jquery.js和,在的main.css DLL在WPF使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道,可能的捆绑
如:
index.html
main.css
jQuery.js
Logo.gif
到一个组件(DLL)和WPF使用它通过 RES://
协议,但我找不到在Visual任何项目模板工作室2010/2012做到这一点。
into an assembly (DLL) and use it in WPF via res://
protocol, but I cannot find any project template in Visual Studio 2010/2012 to do it.
它是如何可能做到这一点?
How it is possible to do this?
推荐答案
您要创建什么是所谓的资源文件。有向导创建这种类型的文件:
You want to create what is called Resource File. There is wizard for creating this type of file:
文件 - > 新 - > 文件 - > C# - > 资源文件我的VS2010
File -> New -> File -> C# -> Resource File on my VS2010.
这篇关于如何捆绑的index.html,jquery.js和,在的main.css DLL在WPF使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文