web.config includes several wrong assembies

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nautonnier

    web.config includes several wrong assembies

    Sorry if this has been posted (many times) before but I couldn't find
    anything useful to me.

    This doesn't happen always but sometimes when I build a web project,
    the web.config includes the following (framework 2.0 btw):

    <compilation debug="false">
    <assemblies>
    <add assembly="Syste m.Design, Version=2.0.0.0 , Culture=neutral ,
    PublicKeyToken= B03F5F7F11D50A3 A"/>
    <add assembly="Syste m.Windows.Forms , Version=2.0.0.0 ,
    Culture=neutral , PublicKeyToken= B77A5C561934E08 9"/>

    Why would System.Windows. Forms be included?

    tia,

    nautonnier
  • Patrice

    #2
    Re: web.config includes several wrong assembies

    Hi,

    Either it has been referenced by mistake or perhaps you really used
    something though I'm unable to imagine what.

    What if you simply just remove this reference and compile ? You can always
    add back the reference if it's really needed....

    --
    Patrice


    "nautonnier " <chucks@cleanre cords.coma écrit dans le message de groupe de
    discussion :
    fe0030a7-fdaf-47a9-8a53-1fb600308bb4...leg roups.com...
    Sorry if this has been posted (many times) before but I couldn't find
    anything useful to me.
    >
    This doesn't happen always but sometimes when I build a web project,
    the web.config includes the following (framework 2.0 btw):
    >
    <compilation debug="false">
    <assemblies>
    <add assembly="Syste m.Design, Version=2.0.0.0 , Culture=neutral ,
    PublicKeyToken= B03F5F7F11D50A3 A"/>
    <add assembly="Syste m.Windows.Forms , Version=2.0.0.0 ,
    Culture=neutral , PublicKeyToken= B77A5C561934E08 9"/>
    >
    Why would System.Windows. Forms be included?
    >
    tia,
    >
    nautonnier

    Comment

    • Alvin Bruney [ASP.NET MVP]

      #3
      Re: web.config includes several wrong assembies

      you or someone you know put it there. It doesn't know how to include itself.
      I don't think compilers have evolved to that level yet.

      --

      Regards,
      Alvin Bruney [MVP ASP.NET]

      [Shameless Author plug]
      Download OWC Black Book, 2nd Edition
      Exclusively on www.lulu.com/owc $15.00
      Need a free copy of VSTS 2008 w/ MSDN Premium?

      -------------------------------------------------------


      "nautonnier " <chucks@cleanre cords.comwrote in message
      news:fe0030a7-fdaf-47a9-8a53-1fb600308bb4@2g 2000hsn.googleg roups.com...
      Sorry if this has been posted (many times) before but I couldn't find
      anything useful to me.
      >
      This doesn't happen always but sometimes when I build a web project,
      the web.config includes the following (framework 2.0 btw):
      >
      <compilation debug="false">
      <assemblies>
      <add assembly="Syste m.Design, Version=2.0.0.0 , Culture=neutral ,
      PublicKeyToken= B03F5F7F11D50A3 A"/>
      <add assembly="Syste m.Windows.Forms , Version=2.0.0.0 ,
      Culture=neutral , PublicKeyToken= B77A5C561934E08 9"/>
      >
      Why would System.Windows. Forms be included?
      >
      tia,
      >
      nautonnier

      Comment

      Working...