I have downloaded the source code of Merchello at "https://github.com/Merchello/Merchello" and start the project. But when I start the solution, it generate an error:
A project with an Output Type of Class Library cannot be started directly.
In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.
So how can debug the solution? I want to see and debug the back-end and front-end of Merchello.
The startup project should be Merchello.FastTrack.Ui (that's the website)
Also make sure the you are NOT building Merchello.Mui.Client, Merchello.Web.Ui.Client, and Merchello.Providers.Ui.Client (VS -> build menu -> configuration manager).
TBH - I get a bit lazy and often forget to change my local connection string back to the .sdf file (working on a build process that will correct this problem but it's a ways out).
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 101: {
Line 102: var address = shipment.GetDestinationAddress();
Line 103: var args = string.Format("{0}.{1}", address.Region.Replace(" ", string.Empty), address.CountryCode);
Line 104: return Cache.CacheKeys.ShippingGatewayProviderShippingRateQuoteCacheKey(shipment.Key, shippingGatewayMethod.ShipMethod.Key, shipment.VersionKey, args);
Line 105: }
Source File: C:\Users\User\Desktop\BeMo e-commerce\Merchello-merchello-dev\src\Merchello.Core\Gateways\Shipping\ShipmentRateQuoteStrategyBase.cs Line: 103
This step appear when I do check out on a product. I report this so you can check.
What project should I start when debug the source code of Merchello?
Hello,
I have downloaded the source code of Merchello at "https://github.com/Merchello/Merchello" and start the project. But when I start the solution, it generate an error:
So how can debug the solution? I want to see and debug the back-end and front-end of Merchello.
The startup project should be Merchello.FastTrack.Ui (that's the website)
Also make sure the you are NOT building Merchello.Mui.Client, Merchello.Web.Ui.Client, and Merchello.Providers.Ui.Client (VS -> build menu -> configuration manager).
TBH - I get a bit lazy and often forget to change my local connection string back to the .sdf file (working on a build process that will correct this problem but it's a ways out).
Hello Rusty Swayne,
When it run to http://localhost:51323/checkout/ship-rate-quote/ an error occurred:
This step appear when I do check out on a product. I report this so you can check.
is working on a reply...