in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Why can't I rebuild the whole solution

Last post 03-18-2008 5:16 AM by berndt. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-12-2008 2:20 PM

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Why can't I rebuild the whole solution

    Hi

    I tried too rebuild the whole solution without success.

    Got the following 4 error messages from Visual Studio 2005

    Error 5 Metadata file 'C:\inetpub\wwwroot\dashCommerce 3.0 Beta\Core\bin\Release\MettleSystems.dashCommerce.Core.dll' could not be found Store

    Error 6 Metadata file 'C:\inetpub\wwwroot\dashCommerce 3.0 Beta\Core\bin\Release\MettleSystems.dashCommerce.Core.dll' could not be found Web

    Error 7 Metadata file 'C:\inetpub\wwwroot\dashCommerce 3.0 Beta\Store\bin\Release\MettleSystems.dashCommerce.Store.dll' could not be found Web

    Error 8 Unable to copy file "obj\Release\MettleSystems.dashCommerce.Core.Properties.Resources.resources" to "obj\Release \MettleSystems.dashCommerce.Core.obj.Release.MettleSystems.dashCommerce.Core.Properties.Resources.resources". Could not find file 'obj\Release\MettleSystems.dashCommerce.Core.Properties.Resources.resources'. Core

    I didn't do any changes just tried to rebuild it. Whats wrong? Does anybody have a solution? 

     

  • 03-12-2008 2:49 PM In reply to

    Re: Why can't I rebuild the whole solution

    Its looking like your project and assembly references may have gotten screwed up. Make sure the references are correct.

    --
    Chris
  • 03-13-2008 1:57 PM In reply to

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Re: Why can't I rebuild the whole solution

    I think the problem lies in that SubSonic.dll , log4net.dll ,AjaxControlToolkit.dll FredCK.FCKeditorV2.dll  are not referenced the right way.

    because there is a small yellow warning triangle assosiated with the filename in the resources folder.

    Have you any ideas why and what they are doing there?

  • 03-13-2008 3:34 PM In reply to

    Re: Why can't I rebuild the whole solution

    Yeah, it sounds like your references got goofed up somehow. Just reference them from the Dependencies folder and you should be good to go. You may have to remove the references and add them again or you can use the hint path in the project properties.

    --
    Big Smile ~ Chris

    Open Source = Community = Shared Responsibility = Submit A Patch!
    Filed under:
  • 03-14-2008 5:39 AM In reply to

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Re: Why can't I rebuild the whole solution

    I have tried all of this stuff already without any success.

    This is crazy. When I look in the Web\References folder  all the references are there, without any warning sign. When I double click, lets say the SubSonic referens in that folder , I can see the assembly  SubSonic in the objekt browsers window. Everthing OK here.

    But when I try to do the same in the Core\References folder ie. double click on the SubSonic assembly. I get a dialogbox that says

    "This object cannot be viewed in the object browser because its unavaiable or not yet build. Please ensure that the project is avaiable and built."

    I susspected that something was wrong with the reference mechanism, so I tried to referenced the Microsoft.DirextX assembly instead.
    And this worked just fine.
    It seems that my reference mechanism is allergic to the files that should be included in dashCommerce.Tongue Tied

    How come that an assambly is accepted in one Reference folder and not accepted in the other?Confused
     I also discovered that the filenames of the built Dll's in the solution explorer obj\release folder are marked with the same yellow warning sign.Surprise

    When I look in the file explorer outside VS2005 there are no files at all in that folder.

    The files are in the folder obj\Debug instead of the obj\Release folder.

    What do I have to do to place the files in the obj/Release folder

    I hope you can give me some hint of whats going on in my VS2005.

  • 03-14-2008 9:29 AM In reply to

    Re: Why can't I rebuild the whole solution

    This IS odd. Try cleaning the solution (right click on the solution -> Clean Solution) and then Rebuild the solution. Without being there, it's kinda hard to say what could be wrong.

    --
    Chris
  • 03-14-2008 10:09 AM In reply to

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Re: Why can't I rebuild the whole solution

    Yea I understand.

    I tested Cleaning the Solution without success! 

    I noticed also that the folder Dependencies  in the solution Explorer is kind of geyed out. It's not geyed but the edges of the folder are dottet instead of lines.

    Do you know why?  Maybe this has something to do with that.

    Or has it something to do with security on my computer.

    I tried to  Evaluate Assembly subSonic.dll in the .NET Framework 2.0 Configuration/rutime Security policy (in the administration tools in the controllpanel)but got the answer "unable to load assembly"

  • 03-18-2008 5:16 AM In reply to

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Re: Why can't I rebuild the whole solution

    Answer

    I think I found an answer to my problem

    I'm using the cassini webserver because I have XP Home without the IIS.
    I forgot to execute the UltiDev Cassini Web Server Runtime Components

    cassiniexplorersetup.msi
    CassiniServer2Setup.msi

    at C:\Program\Microsoft Visual Studio 8\SDK\2.0\Bootstrapper\packages\UltraDev Cassini Webserver for ASP.NET 2.0\

    When I executed the cassiniexplorersetup.msi and then started VS2005. VS2005 found my assemblies and removed the little yellow warning sign and I could compile the project.

    I don't know what really happend, but this worked for me.

    So now I can build the whole project. Ureka!!!!!! Big Smile

Page 1 of 1 (8 items)