I\'ve created a Form1.cs in a Windows Forms application, and there\'s already a file Form1.resx. But whenever I try to run my application, I\'m constantly getting the follow
It basically means it can't find your files. 1. Try to close and reopen the project. 2. Re-add the files via Add -> Existing item.
After rolling back updates to an application that involved the deletion of new source files that had been created in the rolled back Changesets; the Rebuild generated "Unable to create a manifest resource name" errors for those deleted source files.
This was resolved by applying the "Exclude from Project" option on the applicable deleted source files. After doing that, the Rebuild ran without errors.
If you use TFS this error means created file not found, try copy manually files from creator and paste in your forms folder. This worked for me!
This is my project..
project pic
Look at SalesSoListReportTest.cs and SalesSoListReportTest.aspx there are warning icons beside it.. Try to delete warning files, and re-add.. You can find the files at recycle bin.. delete, and re-add the files
Your .csproj is corrupted. You need to manually edit it. For a form, there must be 3 entries:
<Compile Include="MyForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MyForm.Designer.cs">
<DependentUpon>MyForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="MyForm.resx">
<DependentUpon>MyForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
best to run solutions away from desktop. (and "Document and Settings" folder). try moving your solution folder to C:\Projects\ or smth and try again and see if it fixes it.
or if you are not using any resources in your form, then remove it (from project), when you need it will get added automatically next time