Compile two versions of C # program automatically

I need to make the same program for two different companies (different logo, different name). I would like it to be done automatically when I do a release.

I'm going to use a resource file or satellite assembly, but I'm not sure how to do this.

Which one do you think is the best?

Thank.

EDIT:

  • Differences are only one image and one line.
  • I would like everything generated with one click.
  • We can get more customers in the future.
  • I should also add that I am using SmartAssembly to merge all my dependencies into a single exe file.
+5
source share
3 answers

The best I can think of is a script package.

( (), ( ) ..). C:\MyProject\Resources. , , / ..

, script (.bat), , .

1 -

2 - MSBuild.exe

3 - , bin/release, (.. C:\Release\CompanyA)

4 - script, . 1, .

+1

, 99% , , 1%, . . , , , , [] .

, , . , xml . .

+4

.

, , . , , - -: , copywrite, ..

... - (XML, ..),

+2
source

All Articles