开发者

Making code "CAS-safe" and "environment safe"

I read an article about making code reliable i开发者_StackOverflow社区n different environments (what with CAS having an influence), and one technique was to use .GetExecutingAssembly(...) for accessing resources in an assembly (Eg text files). Is there any other useful technique?

I ask as some stuff I am writing will be demo'd from another machine.

Thanks


I think these two MSDN articles should provide you the information you need about accessing resources in an assembly:

Resources in Applications

Packaging and Deploying Resources

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜