an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > I can not Build website on VS 2010 Express due ...
Last Post 6/29/2010 11:41:51 PM By lukezy. 9 replies.
6/29/2010 11:54:57 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
Error 1 The property or indexer 'Admin_Catalog_Controls_ProductCrossSell.ProductId' cannot be used in this context because it lacks the get accessor D:\AcrEStore_4.0\Web\Admin\Catalog\ProductEdit.aspx 25 
 
6/29/2010 11:59:44 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
Just add a get accessor to ProductId in ProductCrossSell file.
DotShoppingCart Staff
6/29/2010 1:55:42 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
What is get accessor, We got an error when running site on admin adding Image to a product
<span style="font-size: 12pt"><o:p></o:p></span>
6/29/2010 2:18:47 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
It's the basic c# property concept. Please search for "get accessor" and you will find MSDN reference.
DotShoppingCart Staff
6/29/2010 3:01:26 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
Please send the text and token and mention where it in the file should be or send me the who fixed file.
 
6/29/2010 3:07:00 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
 Luke,
 
Please send me the fixed script, this bug may also the cause of problem for adding Images to a product. posted in another thread.
 
Thanks,
 
6/29/2010 3:20:30 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
You should use VS 2008 for DSC Suite V4. VS 2010 will be supported in the future version.
DotShoppingCart Staff
6/29/2010 3:41:01 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
 In another posting regarding Core Component you said just use VS 2010, now you are saying VS 2010 not working and use VS 2008.
What should I do and Use?
 
What about Adding Product Image in Admin that cause error on ProductID, does it relates to this issue?
6/29/2010 4:21:48 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
I just noticed that the latest version V4.1 Core component does use VS 2010. Sorry for the confusion. We will update V4.1 DSC Suite to VS2010 shortly.
DotShoppingCart Staff
6/29/2010 11:41:51 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: I can not Build website on VS 2010 Express due to this error in Source, Please fix the source.
V4.1 DSC Suite has been updated to VS2010. Please download the latest package.
DotShoppingCart Staff