Can no longer build solution due to missing file error

I am building an inventory solution for a friend and after making changes to the solution, I cannot get the solution to build. The error is "Cannot find file 'filename'.  The associated error number is MSB3113. When I double-click the error it opens a target file and  the line of the error starts with <GenerateApplicationManifest. I am using the express version of Visual Studio 2017. The solution will allow me to revert to the last successful build which was last night.
Who is Participating?
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.

Shaun VermaakTechnical SpecialistCommented:
Can you share the project?
waynerayAuthor Commented:
Hi Shaun. I have never shared one of my projects. Do you mean attach all the vb files?
waynerayAuthor Commented:
I mean project files?
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Shaun VermaakTechnical SpecialistCommented:
Yes, zipping and attaching the project so that I can see error and try to fix it.

If it is confidential you should not share it
Dev AdminSystem Engineer | .NET Developer | Microsoft MVP | Technical SpeakerCommented:
From this the reason of the error can be a reference of your project
waynerayAuthor Commented:
There are parts of my project that are sensitive to my client. I am really trying to understand what I did between last night and this morning for my project to forget where the database file is when building. My computer did shut down last night and the program was still open. I don't recall changing any references.
Peter HutchisonSenior Network Systems SpecialistCommented:
Open the project or solution file in notepad and check that all files listed are actually in the project. If its referencing a DLL then make sure that is installed too.
Do you know what references the project has included? Are they all .NET references or does it has some old COM references?
waynerayAuthor Commented:
When I open the solution file in notepad, this is the contents of the file.

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2026
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "PolydyneInventory", "PolydyneInventory\PolydyneInventory.vbproj", "{C77EBBB2-1A77-498F-A313-565D7959FCF4}"
      GlobalSection(SolutionConfigurationPlatforms) = preSolution
            Debug|Any CPU = Debug|Any CPU
            Release|Any CPU = Release|Any CPU
      GlobalSection(ProjectConfigurationPlatforms) = postSolution
            {C77EBBB2-1A77-498F-A313-565D7959FCF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
            {C77EBBB2-1A77-498F-A313-565D7959FCF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
            {C77EBBB2-1A77-498F-A313-565D7959FCF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
            {C77EBBB2-1A77-498F-A313-565D7959FCF4}.Release|Any CPU.Build.0 = Release|Any CPU
      GlobalSection(SolutionProperties) = preSolution
            HideSolutionNode = FALSE
      GlobalSection(ExtensibilityGlobals) = postSolution
            SolutionGuid = {75D10608-770E-4DB0-9D31-901D8FFDFE11}
waynerayAuthor Commented:
I opened the project file and I am looking through the file. When I try to start the program inside the solution I get the error message " There are build errors. Would you like to Continue and run the last successful build? Below is content from the output window.

Severity      Code      Description      Project      File      Line      Suppression State

Error            Could not find file 'Polydyne.accdb'.      PolydyneInventory      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets      3863      

The file is there but ...
waynerayAuthor Commented:
When I opened the project file I located the database file section. Here it is.

    <PublishFile Include="Polydyne.accdb">
Peter HutchisonSenior Network Systems SpecialistCommented:
A database really should not be part of a Visual Studio project. Try removing it from the project and rebuild. If it is not showing in the solution explorer, enable 'Show all files' in the Project menu.

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
Amr AlyCommented:
I have faced this error before ..... I think it's simple to fix .....
First which build method do you use .... ? ...... if you use "setup project" ....Try to close your Visual studio then open it again i think the problem will disappear .... If not check in the solution explorer of your setup project name (right click on it and choose view to open  file system)===>>>from file system open application folder and check if any file has underline with a blue line (try to right click to the application folder then add file and choose it again"file which has the problem") and remove the underline one ....that's all
hope it helps
waynerayAuthor Commented:
Thanks to everyone for your assistance. Peter, your suggestion worked fine. Thanks again.
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
Visual Basic.NET

From novice to tech pro — start learning today.