Answer:
Sentence A is the correct option.
Step-by-step explanation:
Sentence A is correct because when you have a conjunctive adverb linking two independent clauses, you should use a semicolon. In this case, both of these independent clauses have been connected by the conjunctive adverb however (see 1 and 2). What is more, you should use a comma after the conjuctive adverb because it appears in initial position in the second clause.
1) She tried to pain the building; (independent clause I)
2) However, it rained (independent clause II)