Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
help me please I'm stuck with that when I copied the solution I had this error
after debug

C#
Error	3	Resource file "obj\x64\Debug\MahmoudDarwish.Migrations.InitialCreate.resources" has an invalid name. The item metadata "%(FullPath)" cannot be applied to the path "obj\x64\Debug\MahmoudDarwish.Migrations.InitialCreate.resources". C:\Users\New\Desktop\inetweb\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2.t\MahmoudDarwish_V2\MahmoudDarwish\obj\x64\Debug\MahmoudDarwish.Migrations.InitialCreate.resources	MahmoudDarwish


What I have tried:

I don't find any solution in google search
Posted
Updated 18-May-16 13:04pm
Comments
Dave Kreskowiak 18-May-16 16:07pm    
You're going to have to provide a lot more detail. WE have no idea what you're doing, what you did, how this message came up, ...

1 solution

I have seen this before when copying solutions.
The problem will be in one (or more) of the solutions .csproj files. If you look at the path above you will see MahmoudDarwish_V2.t repeated many times. This is typically because the csproj files use relative paths. The path is also too long (266 characters)
You can do either of the following;
Create a new project & copy & paste your existing code into it (I use Notepad & open & copy from the individual files)
OR
Open the csproj files and manually edit them (not really recommended unless you are brave)

Kind Regards
 
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