I just added Mic.Web.Helpers to use the FileUpload helper via Package Managaer.
This action created a BIN folder and put all the new DLLs into that.
After this, VS 2010 says : the Webmatrix.Data is no more (Database not exist), i have to add it manually.
I have in App_Code few files , with this declare @functions{ } with lot of new function in there ,most of them have the parameter as : Database db (webmatrix database namespace)
I tried to but @using WEbmatrix.Data but no use.
Anyone knows why i can't use Webmatrix.Data any more? It seems the REF to Webmatrix.Data was deleted.
Edited:
God, i have to manually add @using WebMatrix.Data in every page @_@. Why the Ref to WebMatrix.Data.Database gone?
If i remove the BIN folder, everything works just fine, but can't use the FileUpload helper.
Those can be added manually using @using directive.
But, if in App_Code folder if we have a section @fuctions uses Webmatrix Database, we can't do anything( Can't use @using in file that has @functions { }
I created new project, added new Ref Package using Package Manager -> Everything got screwed up, even WebSecurity namespace goes missing.
vandat
0 Points
12 Posts
Can't use Webmatrix.Data after adding new Ref Lib
Jun 11, 2012 04:40 AM|LINK
Hi,
I just added Mic.Web.Helpers to use the FileUpload helper via Package Managaer.
This action created a BIN folder and put all the new DLLs into that.
After this, VS 2010 says : the Webmatrix.Data is no more (Database not exist), i have to add it manually.
I have in App_Code few files , with this declare @functions{ } with lot of new function in there ,most of them have the parameter as : Database db (webmatrix database namespace)
I tried to but @using WEbmatrix.Data but no use.
Anyone knows why i can't use Webmatrix.Data any more? It seems the REF to Webmatrix.Data was deleted.
Edited:
God, i have to manually add @using WebMatrix.Data in every page @_@. Why the Ref to WebMatrix.Data.Database gone?
If i remove the BIN folder, everything works just fine, but can't use the FileUpload helper.
Thanks guys.
dejohnny
Member
2 Points
1 Post
Re: Can't use Webmatrix.Data after adding new Ref Lib
Jun 12, 2012 04:34 AM|LINK
Vandat,
I'm having them same issue too! This is happening in WebMatrix version 1 & 2. No WebMatrix.Data namspace.
WebMatrix.Data
vandat
0 Points
12 Posts
Re: Can't use Webmatrix.Data after adding new Ref Lib
Jun 12, 2012 07:01 AM|LINK
Those can be added manually using @using directive.
But, if in App_Code folder if we have a section @fuctions uses Webmatrix Database, we can't do anything( Can't use @using in file that has @functions { }
I created new project, added new Ref Package using Package Manager -> Everything got screwed up, even WebSecurity namespace goes missing.
Solution? Anyone ?
WebMatrix.Data
vandat
0 Points
12 Posts
Re: Can't use Webmatrix.Data after adding new Ref Lib
Jun 13, 2012 07:59 AM|LINK
Can't find any solution so far guys.
Adding manually still does not work.
Anyone?
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Can't use Webmatrix.Data after adding new Ref Lib
Jun 13, 2012 11:03 AM|LINK
Hi
Same discussion here:
http://forums.asp.net/t/1612176.aspx/1?WebMatrix+beta+2+FileUpload+helper+doesn+t+work
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework