I use a resource file in my ASP.NET MVC application and ReSharper warns me about not finding System.Windows.Forms reference when I analyze the project's code issues.
Should I really be referencing System.Windows.Forms in my web application? Why is it needed in the resx file anyway?
When I open the resx file in XML editor, I see that it references the assembly:
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="..." type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>...;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
I really don't like that my web application is linked to anything System.Windows.Forms related.
Why is that? Is there a better way of managing resources on web applications then using these resx files?