Difference between package reload and package refresh? - webmethod

Can you please help me to find out the main difference between package reload and package refresh in webMethods?
Thanks in Advance.

When you refresh the Package Navigator view, Designer retrieves a fresh copy of the contents of all the packages from the memory of the Integration Server.
When you reload a package, Integration Server removes the existing package information from memory and loads new versions of the package and its contents into its memory.

Related

Own Nuget Server - The V2 feed at '' returned an unexpected status code '404 Not Found'

I created my own Nuget Server following the documentation and I got it, but I cannot access the packages from Visual Studio 2019 Community Nuget Package Manager.
So, when I do it through a browser I get this, which seems fine:
When I click on "here" to view the packages I see the test one I added, and if I click it I can even download it:
However, when I access by Visual Studio I get this:
The full error says:
[Nuget Server] The V2 feed at
'http://mywebsite.com/NugetServer/Packages/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework=''&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0'
returned an unexpected status code '404 Not Found'. But I can't figure
out why.
This is how I added it to the Nuget Manager:
This is the folder structure of the site:
As you can see the package test.1.0.0.nupkg is where the NugetServer project told me to put it.
I tried several things:
Giving Everyone FullControl of the folder (because at the beginning I got 403 Forbiden instead of 404)
Changing the folder structure, puting the nupkg package inside a folder named nuget, put the whole Packages folder inside the nuget folder and other things I saw as solutions in other Stackoverflow threads.
Transforming everything to VB as this Stackoverflow thread suggested.
Changing IIS parameters
Nothing worked for me, so I need a bit of help to find the way.
Maybe I need something for the "Search()" to work? I'm lost.
If you need more info I can provide, just ask, please.
Please go to Tools > Nuget Package Manager > Package Sources and check the resource is https://api.nuget.org/v3/index.json as below:
Nothing worked for me, so I need a bit of help to find the way.
Maybe I need something for the "Search()" to work? I'm lost.
If you need more info I can provide, just ask, please.
First, since you can get the nuget package and view the package on your local website according to this document, I'm sure you have no problem with the steps to create your own nuget server.
The main reason is that you use the wrong link such as the view package in the Package Source. Instead, you should use the Repository URLs which is specified. The error is just it cannot
Repository URLs
In the package manager settings, add the following URL to the list of Package Sources:https://xxxxxxxxx/NugetServer/nuget.
Adding packages
To add packages to the feed put package files (.nupkg files) in the folder D:\xxxxx\xxxx\NugetServer\Packages
So please refer to the related info in your PC.
Update 1
Sloution
1) put the nuget packages into your local path like D:\xxxxx\xxxx\NugetServer\Packages so that you can access the packages through your links.(do not create any other new folders and put packages into them)
2) change the package source to http://xxxxxx/NugetServer/nuget as Repository URLs in your PC saids.
Update 2
In addition, please do not forget to run the instance of the NugetServer project at the same time and when the first screenshot that you provided shows, you should follow the guidance of it.
Hope it could help you.

Cakephp package manager (Installer setup like wordpress and joomla) framework

I was wondering, is there any package manager which i can automatically setup my local Cakephp project to another computer where the user has Installer page and install creates and installs the database frontend(in HTML page), I appreciate your suggestions thank you. Any package or script or process which I can flow to make setup process like this one
https://packagist.org/packages/rachidlaasri/laravel-installer

More NuGet hell

Sorry - still scratching my head when it comes to NuGet. So I generated a bunch of packages and put them all on a network share. Things worked for a while, but then I started noticing that the versions that showed up in the NuGet Package Manager console didn't match what was on disk. (The version numbers didn't match what was on disk nor did the ID and description). Then I realized that there were additional .dlls needed in my package so I regenerated a new package with all of the necessary .dlls. In my testing I had been using versions 2.2, 2.4, 2.5 and 2.7, so I decided to start from scratch and created the new package as 2.0 with the title being "All Library Files". So I created a new .nuspec file in a new folder and packed it and then cleared out my network share that had all of the prior versions and then published it to the network share using nuget init. So I can go to the network share and all that's there is is a single folder with the name of my package and under that there are two folders: 2.0 and 2.1 (I created 2.1 later), but now when I open NuGet Package Manager at either the solution or the project level nothing shows up. I used Uninstall-Package to get rid of the initial ones and now whether I go to Installed Packages or Updates (or Online for that matter) I don't see anything. I expected to see the two new versions that I put in the folder. I've tried clearing the cache (both from the UI and the command line: nuget locals all -clear).
What could I possibly be doing wrong?
UPDATE 8/11/17 2:19pm:
I created a new folder on a local machine and copied all of my packages there and then added a new reference to it in the NuGet Package Manager and suddenly I can see all of my new packages. So somewhere it's gotta be caching that info. But now when I try to add one of my packages I get the error: Item has already been added. Key in dictionary: 'lib/net40/ Library.dll. I've used file explorer to search all files on disk for the string "lib/net40" and nothing is found. AAAUUUUGGGHHHH!!!!
I've now resorted to deleting and re-getting the entire code-base (all 91,717 files) :-(.

Using own source code on slx.cloud?

I created an account on slx.cloud and tested the available sample applications. Is there a place where I can upload my own source code though?
First of all, thanks for trying it out! I am the product manager of SLX.cloud (a free online version of our multicore optimization tools), so if you have any further questions you can ask me directly.
SLX.cloud currently offers two ways to import your own source code:
1. Importing via version control (recommended)
SLX.cloud allows you to import your code via git, github and SVN. You can start by creating a workspace using the usermake or usercmake template projects and after starting the workspace you can go to Workspace -> Import Project within the IDE.
It is also possible to import private repositories via Github. For that just go to Preferences -> VCS within the IDE and click the Github button in the bottom right corner to set up the SSH key for Github.
2. Importing via ZIP files
You can upload your source code as a ZIP file into the workspace, by going to Workspace -> Import ZIP
NOTE: The files will persist within the /projects folder if you stop the workspace, but not outside of it. Make sure to download your changes via Workspace -> Export ZIP. All files outside the /projects folder are updated on each start as we are loading the latest docker image for our tooling on startup.
NOTE: If you plan on sharing your workspace with coworkers and friends via the factory functionality, you will need to use version control to import the source code into the factory.
3. Tutorial from importing to analyzing your code
If you are interested in more details on analyzing your own code, I have created a tutorial on our documentation which includes importing your own code, but goes much further than that.

Can't install any NuGet Package if at least one Source is not available

The following problem does not exist in VS2013 (Premium),I can only reproduce it in VS2015 (Enterprise)
I've added a custom NuGet package source.
If that source if not available I cannot install any package (for example EntityFramework)
I get a message
Attempting to gather dependency information for package
'EntityFramework.6.1.3' with respect to project 'ConsoleApplication9',
targeting '.NETFramework,Version=v4.5.2'
Exception'System.AggregateException' thrown when trying to add source
'http://XXX/FeedService.svc/'.
Please verify all your online package sources are available.
From the last line of the message I assume that this is not a bug but as I said it works on VS2013
Any idea why this has changed?
Can I do anything about this?
This is by design. Since we support searching across multiple sources for the packages that you need, we need to be able to reach all sources and get the package results before restoring these packages, to be deterministic and consistent in the way we do restore.
However, we understand that some users go into offline/online modes and we are investing in building a feature set that will enable you to temporarily disable some sources while you are working offline. In the meantime you can look into creating a custom nuget.config that does not contain the offending source and using that to restore when you are in the offline mode.
This is an old question so I'm surprised the workaround from the bug report wasn't added here. To save reader a click:
From within Visual Studio, open Tools -> Options -> NuGet Package
Manager -> Package Sources
Untick all of the package sources that are unavailable, leaving just
the public NuGet entries.
Install your packages as normal
Once you're back in your office follow steps 1 and 2 again but this time make sure everything is checked.

Resources