Click here to Skip to main content
15,885,203 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have my first WPF project which is developed with C# and VS 2013. At the root of the project, there is an external XML schema file with ".xsd" extension that is used in my project codes. Inside VS 2013 environment, I code and run the project without seeing any issue.

Recently, I have built that project for Release. However, the built folder does not include that external ".xsd" file. As a result, on running that project outside VS 2013 environment, I get an exception that tells it could not find out that ".xsd" file. I am a WPF newbie. Please tell me how I solve that issue. Thank you in advance.
Posted
Comments
Richard MacCutchan 9-Nov-14 11:56am    
Check the properties of that file in the Debug build settings, and make sure the Release settings are the same, so the file gets built or copied.
Maciej Los 9-Nov-14 16:38pm    
This is an answer!
Richard MacCutchan 10-Nov-14 3:41am    
Well it's a suggestion; no guarantee that it's a solution. But thanks for your confidence.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900