Reputation: 806
I need to put up a png image as splash screen for my WPF.
I imported the file to project and changed Build Action to 'Splash Screen'
This should have done the job, but I am getting this error message:
Unknown build error, 'An item with the same key has already been added.'
Googling the error didn't help.
Upvotes: 10
Views: 774
Reputation: 966
I can confirm that changing the build action to Application Definition and then building (there will be errors), then switching it back to Splash Screen and running the program clears this error.
Upvotes: 11