Xyro
Xyro

Reputation: 227

c# / asp.net compiling project

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.microsoft.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 ?

Upvotes: 1

Views: 103

Answers (1)

Oded
Oded

Reputation: 498992

You can use embedded resource files for this.

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

Upvotes: 1

Related Questions