Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when build desktop app work in csharp I get error manifest why and how to solve issue ?

error details

Severity Code Description Project File Line Suppression State Tool
Error Unable to create a manifest resource name for "..\..\..\..\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.resx". Could not find a part of the path 'C:\Users\ahmed\OneDrive\Desktop\Tab versions\NewTfs 25-09-2019\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.cs'. Tab

so How to solve issue please ?

error display



Unable to create a manifest resource name for "..\..\..\..\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.resx". Could not find a part of the path 'C:\Users\ahmed\OneDrive\Desktop\Tab versions\NewTfs 25-09-2019\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.cs'



i attached my project file

C#
<Compile Include="..\..\..\..\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.cs">  
     <Link>Root\Backup.cs</Link>  
   </Compile>  
   <Compile Include="..\..\..\..\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.designer.cs">  
     <Link>Root\Backup.designer.cs</Link>  
     <DependentUpon>Backup.cs</DependentUpon>  
   </Compile>  
lt;EmbeddedResource Include="..\..\..\..\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.resx">  
     <Link>Root\Backup.resx</Link>  
     <DependentUpon>Backup.cs</DependentUpon>  
   </EmbeddedResource>



so i need to know why this issue happen and how to solve it

i work on visual studio 2019 csharp .NET Framework 4

What I have tried:

I try to exclude files of bcackup.cs,resx,designer
then include again and build
but nothing changed same error still display
Posted
Updated 20-Jan-21 15:42pm

1 solution

Could not find a part of the path 'C:\Users\ahmed\OneDrive\Desktop\Tab versions\NewTfs 25-09-2019\Module 3.0.0\Trunk\Code\Forms\Forms\Backup.cs'. Tab


Does this path exist? It looks long.... Move your code out of onedrive and into c:\tab versions and see what you get
 
Share this answer
 

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



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