'WebMatrix' does not exist in the namespace 'Microsoft' [Answered]RSS

2 replies

Last post Sep 27, 2011 06:57 PM by SpikeMelbost

  • 'WebMatrix' does not exist in the namespace 'Microsoft'

    Sep 27, 2011 04:39 PM|SpikeMelbost|LINK

    Hi, I've just downloaded the WebMatrix extensibility framework, created a new WebMatrix extension project in VS 2010 & tried to compile it. I get the above error for the line using Microsoft.WebMatrix.Extensibility;
  • Re: 'WebMatrix' does not exist in the namespace 'Microsoft'

    Sep 27, 2011 05:09 PM|rlucero|LINK

    Awesome! Thanks for trying it out!

    For the reference error, make sure that you've installed WebMatrix 2 Beta from here: http://www.webmatrix.com/next

    Then, double check the project references and add it from Program Files (x86)\Microsoft Web Matrix\Microsoft.WebMatrix.Extensibility.dll

    If you have any other questions, please let us know!

    -Robert

  • Re: 'WebMatrix' does not exist in the namespace 'Microsoft'

    Sep 27, 2011 06:57 PM|SpikeMelbost|LINK

    Thanks, that seems to have worked. For anyone else who, like me, is more used to C++, I found 'references' on the Solution Navigator tab, right clicked on 'references', selected 'Add reference', selected assemblies | extensions, clicked on browse, navigated to the file Robert mentions above.