add the Stripe plugin to Nopcommerce - visual-studio

Stripe for 3.40 --> http://www.nopcommerce.com/p/1512/stripe-payment-plugin.aspx
So I noticed that when I download the Stripe plugin off the Nopcommerce.com site that the Stripe plugin for Nopcommerce v3.4 does not contain a project file(.csproj) to add the project to Visual studio.
Stripe for 2.65--> http://www.nopcommerce.com/p/638/stripe-payment-plugin.aspx
So I went and downloaded the Stripe plugin for Nopcommerce v2.65. I noticed that this downloaded package does contain the Project file(.csproj) for adding to visual studio.
1). can I just use the older Stripe plugin with my new Nopcommerce version?
2). or and, does someone have a way to use the new Stripe plugin?
3). is there a better free shopping cart to use Stripe (asp.MVC)?

This plugin is provided without source code. I's alread compiled and ready for deployment. Hence you cannot add it to Visual Studio solution. So simply upload this plugin to your server and use it

Rename the main folder by removing ''upload'' in the name it should read Payments.Stripe try that and let me know!

Related

How can I publish documentation when pushing a NuGet package to nuget.org?

I'm building a Blazor component and want to automate the build process. Currently the package builds properly and is pushed to nuget.org with its proper license and icon files but I can't find anywhere how to include docs. I have to manually sign in to nuget.org and update the docs to point to the same github readme link.
Is there any way to automate this process?
The feature is only for nuget.org website and is not a part of nuget cli now. And you are not the only one who wants to reflect this problem.
There is a similar github link.
After feedback from many users, the Team is working hard to add this feature to nuget cli. You can follow this link to keep track of the progress.
All the data for your package should be included inside the library project (Properties). Once you build the library and upload to Nuget, the links, descriptions and everything else will be displayed when someone searched for your package and previews on visual studio or on Nuget.
Take a look here, you will see where to find everything: https://youtu.be/FTnua-kh-bY

How to upload a custom Build Task to TFS 2015?

I have a custom build task ready to go and I would like to upload it to my TFS server. I don't see much guidance out there for how to do this. Is there any way it can be uploaded through some kind of an "Add Task" workflow in the UI, or does it need to be done via the TFS2015 instance API?
Any step-by-step instructions would be appreciated.
FYI, I'm using the following visual studio template:
https://marketplace.visualstudio.com/items?itemName=JoshGarverick.VSTSExtensionProjectTemplates
I'd like to see it here:
If you have packaged the extension (custom build task), then just need to upload the extension VSIX files to TFS 2015 as mentioned by Daniel, then install the extension. After completed the installation the custome task step will displayed there.
Go to http://server:8080/tfs/_gallery/manage to upload the extension

Deploying VirtoCommerce.Manager to Azure from Visual Studio

I am working with Virto Commerce server 2.4.561 and I'm having a great deal of difficulty successfully publishing to Azure from Visual Studio. Based on the documentation provided, it's not clear to me what the appropriate method is. Most guidance related to Azure assumes that I am using Git deployment. But in this case I am not. I am coding locally on my dev machine and I would like to be able to use web deployment to deploy directly to Azure from Visual Studio. However, the guidance found here seems to suggest that if you want to do your own deployment, you need to use deploy.cmd. I'm not exactly sure why that is. I can only guess that it has something to do with how the modules need to be packaged up.
I am able to run deploy.cmd and it appears to succeed, but I end up with an artifacts folder with 2,000+ files and folders in it and I am left to use old-school FTP to sync all those files up with the Azure website. Is this how it is meant to be done? I have tried to deploy directly from Visual Studio to Azure, and it appears to succeed, but the site does not behave correctly. Specifically, the custom modules I've built don't load correctly.
What is the right way to do this?
There is a way to publish your custom module directly from Visual Studio, but you still need a working Virto Commerce in Azure beforehand, and the easiest way to set it up is to use the Deploy to Azure button in GitHub.
In the Azure portal create a new virtual application /MyModule with
physical path site\wwwroot\admin\Modules\MyModule. It will be used
for publishing a custom module.
Download the source code from GitHub with the same version as you have published to Azure, add your custom module to the solution and build it.
In Visual Studio right-click on your module project and select Publish.
On the Profile screen select Microsoft Azure Web Apps as a publish target and select your Azure Web App.
On the Connection screen select Web Deploy as a publish method and add /Module to the site name. So your site name should look like this: myvc/MyModule.
On the Preview screen click the Start Preview button and make sure the file list contains only files related to your module and the action is Add for each of them.
When you click the Publish button, Visual Studio will upload all module files to the physical directory configured for the virtual application myvc/MyModule. For subsequent publishing it will upload only modified files.
Update: You should restart the Web App via the Azure portal after publishing in order to load the new version of your code into the application. Thanks to N1njaB0b for reminding.

Publish website without roslyn

I am trying to create web application using Visual Studio 2015 and .NET 4.5.1.
When I publish the website, visual studio create folder named roslyn.
I know it's used to compile code on the fly, but unfortunately my hosting provider doesn't allow me to execute the compiler on their server.
How to publish the website without roslyn like previous version of Visual Studio?
EDIT:
I got this error when trying to acces my website.
It seems IIS trying to execute roslyn\csc.exe but my user account doesn't have permission to do that. With previous version of Visual Studio, this error doesn't show up.
I've just faced the same problem. When you create a new web project, two nuget packages automatically added to your project. If you remove them, your problem should be solved. Package names are: "Microsoft.CodeDom.Providers.DotNetCompilerPlatform" and "Microsoft.Net.Compilers".
I had the same issue. Followed the steps from here. Basically:
Uninstall the package
Uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform <Your Web API project name>
In your publish profile settings, uncheck "Allow precompiled site to be updatable". You can find this under Settings > Precompile during publishing > configure
After searching the same issued I face, I just came here. I read the above answer which is right.
I give the answer, because of Here is the good article to explain :
Why the publish code have this exe as well as development environment ?
What is the benefit and how to remove?
This is also the very good article, about the history of this exe
After countless effort....and according to this website.
I find that you can use /p:UseWPP_CopyWebApplication=true /p:PipelineDependsOnBuild=false in MSBuild to transform web.config, this also include the roslyn compiler in the build. The output is same as what you get by publishing in Visual Studio into file system
There is an open bug on the roslyn repository about this issue.
In my case all I had to do was to downgrade the dll Microsoft.CodeDom.Providers.DotNetCompilerPlatform from version 1.0.6 to 1.0.5.
I have had the same issue in Sept2016 when I took over an existing ASP.NET program. I found that there were multiple versions of the two compiler packages mentioned by Kemal installed in different projects of the solution.
So firstly I updated to get them the same. VS doesn't tell you that updates are available in this scenario (or maybe I missed them ?)
I then had to restart VS2015 for the packages to clean up properly.

Install NuGet packages automatically in VS 2010 project template

Can anyone share with me how to (or where I can find how to) install NuGet packages automatically when I create a new project based on my custom project template in Visual Studio 2010?
I am creating a new project template for a project that uses a couple NuGet packages by default. I've read the documentation on the NuGet site but this is not acceptable in that I want to reference an existing package if it's already installed in the project.
In other words, if I embed package v1 in my template (VSIX) but version 1.1 has already been installed in the solution, I want NuGet to reference version 1.1 instead of putting v1 into the solution and forcing the developer to update the package.
Is this possible? And, if so, how?
NuGet 1.5 now supports this feature without requiring that you build an ASP.NET MVC 3 project template.
http://blogs.msdn.com/b/marcinon/archive/2011/07/08/project-templates-and-preinstalled-nuget-packages.aspx
This supersedes the post that I wrote. :)
Check out this post here:
http://haacked.com/archive/2011/06/06/creating-a-custom-asp-net-mvc-project-template.aspx
The article mentioned that the NuGet packages need to be on your machine, however this should change in the future (if it hasn't already).

Resources