After Updating a windows forms app to .Net5 I have one more error to resolve ( I started with over 1500!)


Active member
Jan 4, 2009
Programming Experience
I'm just updating a medium sized windows forms app To .Net5
The last problem I have is
Error MSB3577 Two output file names resolved to the same output path: "obj\Debug\net5.0-windows\MyAppName.Resources.resources" MyAppNameC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 3162
I did have a look at microsoft's description of error MSB3577 but I didn't understand a word of it ;(

I Just don't know how to resolve this problem any help would be appreciated.


Thanks for reply
Yes I have added a few . I had to, to get rid of the errors.
But I'm pretty certain I have no duplicates though.
I did replace and rename a complete form but I have removed the old one from the project.
I checked the project file but they look completely different once you convert to .Net5 but anyway I couldn't see any duplicates .
The only strange thing was that there is an entry for that old form in there but the entries mention to remove the files!
<Compile Remove="Forms\F_Main.Designer.vb" />
<Compile Remove="Forms\F_Main.vb" />
<EmbeddedResource Remove="Forms\F_Main.resx" />
I did try deleting these from Proj.vb but then my project wouldn't load?
Last edited: