Developer forum

Forum » Development » Downgraded dll

Downgraded dll

José Silva
Reply
 Hi all,

I am developing a custom module in DW 19.2.1.0 but each time i build it, i get this error when i go to the admin page.

Could not load type 'Dynamicweb.Extensibility.Searching.ScheduledUpdate' from assembly 'Dynamicweb, Version=18.9.1.1, Culture=neutral, PublicKeyToken=null'.

Then it works if i replace Dynamicweb.dll by the original version, but i have to do this every time.
Does anyone know what's going on?

Thank you,

Replies

 
Nicolai Høeg Pedersen
Reply
Your reference path on the solution is incorrect.

Right click solution in VS, choose properties, check the reference path and correct it.

 
José Silva
Reply
I have the reference path pointing to the bin folder in the application i am developing and it's not working yet.
Should it be this way?
 
Nicolai Høeg Pedersen
Reply
No...

That will often fu.. up....

If you have set it up "best practice" you would have something like this:
  • Application(19.2.3.4)
    • Admin <- this is a virtual /Admin directory in IIS
    • Bin<- this is your reference path
  • MySolution
    • Application <- this is your home directory in IIS
      • Bin
    • Files <- this is a virtual /Files directory in IIS
    • (Database)<- this is a virtual /Database directory in IIS but only if you are running on Access.
 
José Silva
Reply
I am sorry but i haven't figured it out yet.

Are Application e MySolution websites is IIS?
Is there any documentation explaining this process?

Thank you once again.
 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
No - they are folders on your disk.

Read documentation here: http://developer.dynamicweb-cms.com/documentation/getting-started/installation---requirements.aspx

And articles on custom solutions here: http://devierkoeden.com/Articles.aspx

Votes for this answer: 0

 

You must be logged in to post in the forum