rdlc file not copied to bin\Debug during build

I have designed an rdlc file.  It is just like many others in the solution which were designed by others, and it runs just fine.  But I have to manually copy it into bin\Debug because it doesn't get put there during the build, as do the exisiting rdlc files.

What makes an rdlc file be included in the build so that it appears in bin\Debug and can be found in the path?  Is there a setting somewhere?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
Is it a file included in the solution (solution explorer) ?
Shaun KlineLead Software EngineerCommented:
Within visual studio, check the build action for your rdlc file. It should be set to content. Build action can be found be looking at the properties of the file.
AmyAuthor Commented:
Andy - Yes, the report is listed in Solution Explorer, right next to the other rdlc files that aren't having this problem.

Shaun - Yes, the Build Action of this rdlc is already set to Content.
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

AndyAinscowFreelance programmer / ConsultantCommented:
OK, that simple idea bites the dust then.  :-(
Shaun KlineLead Software EngineerCommented:
Next simple question, is the configuration manager set to debug or release?
AmyAuthor Commented:
I didn't know about changing the configuration manager setting.  

It's been set to Debug.  I rebuilt with that setting.  Then I set it to Release and rebuilt.  Neither rebuild put the file in bin\Debug or bin\Release.
By default rdlc files are embedded resources, meaning the Build Action of the rdlc file (Properties) is set to Embedded Resource.  So there will be no file copied to Debug/Release, because the content of the file is embedded on the .exe or .dll.

rdlc File Properties
If you do want to have it copied to the Debug/Release folders, set the properties as below:

rdlc File Properties (Content)
Hopefully that answers your question.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AmyAuthor Commented:
Wow!  That's it!  Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.