开发者

c# / asp.net compiling project

开发者 https://www.devze.com 2023-03-25 17:01 出处:网络
me and a friend are working on some software in which custom variables need to be inserted into the code for each customer. Whe thought about using a seperate text file but for portability and securit

me and a friend are working on some software in which custom variables need to be inserted into the code for each customer. Whe thought about using a seperate text file but for portability and security we want to include the variables into the .exe.

I have looked at tutorials like this one : http://www.c-sharpcorner.com/UploadFile/dommym/5598/ or this one : http://support.micr开发者_Go百科osoft.com/kb/304655

to use asp.net to get the client's data, insert it into the source and then compile it. But these articles only talk about single file sources and our main project has multiple .cs files. So my question was : how would I compile a whole project instead of just one file ?


You can use embedded resource files for this.

You can reference the embedded strings from anywhere in the project.

0

精彩评论

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