Anybody know why I suddenly get this Error message in C# 2005 express edition
"
Error 36 Resource identifier 'RubberPicker.RubPicMain.resources' has already been used in this assembly C:\Documents and Settings\jmwatte\Mijn documenten\Visual Studio\Projects\RubberPicker\RubberPicker\CSC 0 0
"
When I click on it in the error list it flashes up the message :
"The operation could not be completed"
and I have no idea what went wrong.
I can get a last succefull build running but that's about it but everytime I start the project up it gives me the same error.
Anybody know how I go about solving this problem
Thax
JMW

Error 36 Resource identifier 'R.r.resources' has already been used in this assembly C:\Do...
Mark Robotnik
bw12117
Other problem came up ... Now I got a file with is my main form and when I want to get in designer mode on that one I got a
" One or more errors encountered while loading the designer..." I changed some references in that one that didn't match anymore and now it keeps giving me that error when I try to open up my designview of that form...
And that got me really worried .
Any solutions
jmw
thx
And already thx for your previous help.
Noah Hambayi
Did you install anything new recently Did you try deleting the offending assembly.. or at least renaming / moving it Open up the project file in notepad and see if the resource file is referenced twice by any chance.
Let me know if any of this helps.
LiquidMike
I'm not using express editions. I'm using VS.NET so its a bit hard for me to see exactly what you are seeing. However, in VS.NET we have .csproj files as well as SLN files. The CSPROJ files hold information about whats in the project (not just the solution). Embedded resources something like this:
<ItemGroup>
<EmbeddedResource Include="Resource1.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
If you have .csproj files try opening it up and looking for multiple reference to your resource. I do think this is either solution or project related. Heres another test you can do. Try creating a second project and adding all of your project files to it. Save the project, close it, and reopen it. See if it creates the same error.
Raju Sreenivasan
2. How do I delete the offending assembly
3. The project file where do I find that That is the ****.sln file, right
It's strange... because when I delete the ***.suo and the ***.sln file, it builds me a solution and i can run it. No problem. But when I run it again (always in debug mode in C#express) ... it comes up with this exception.
So if you could point me in the good direction for deleting the offending assembly in the hope that that helps or to exclude from the possible solutions, I'd be gratefull...
thx
jmw
Blkm74
But ofcourse A new problem arises ... I'll start a new thread on that one.
It's a pitty I didn't learn what exactly caused the problem but hey, you cann't win em all.
thx for your help
CU
jmw
Spadzan
Could you post your form code somewhere I have a feeling if you removed the ineritance listing from the wrong code it would cause your designer to fail. If you create a new form, does the designer work on that If so, then there is something wrong with your form. I'm not sure how you got in this mode, but let me see if I can help. Lets say your form name is called Form1. With this being the case, make sure that Form1.cs has:
public partial class Form1 : Form
Then make sure that your Form1.Designer.cs file has the following:
partial class Form1
If these aren't right, they may be affecting the designer. It doesn't appear to cause problems in VS.NET 2005, but I know in VS.NET 2003 changing inheritance caused problems with the designers. Since I don't have the express editions, I can only guess that this is how the express edition is handling designers too.
Let me know.