Current version of my Bot is "4.15.0". How to update latest version in bot framework composer ?
It's not possible in Bot composer at the moment !!!
Open the application in Visual studio go to "Manage NuGet package" & update to the latest version.
If you're talking about the packages then there are few ways to do this.
One way is to use Visual Studio and update the version using the NuGet Manager
If you're using Visual Studio Code, like I am, there is an extension called NuGet Package Manger GUI that you can use and do it yourself.
Another possible way is to just change the version number in .csproj file
Related
I created a new .NET core Web App and I am trying to add packages Microsoft.EntityframeworkCore and Microsoft.AspNetCore and I am getting the error:
package restore failed rolling back packages
I have tried clearing the NuGet Caches reinstalling VS 2017 and the problem persists, note the project is brand new.
Please make sure your VS 2017 already upgraded to 15.3.5, you can re-run the VS 2017 installer as administrator and if there has the ‘Update’ button, click it to update. Then check you also installed the latest .NET Core 2.0 SDK and then create a new ASP.NET core web application, choose ‘ASP.NET Core 2.0’ as below to create:
Then you can successfully install those 2 packages through Manage Nuget Packages like the following:
There are a few preliminary sources that mention that there is a new ValueTask in C# 7.0:
https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/
http://intellitect.com/generalized-async-return-types/
But I am not able to find this type?
According to the documentation, System.Threading.Tasks.ValueTask<TResult> is in the System.Threading.Tasks.Extensions package.
For those still struggling to use ValueTask, the System.Threading.Tasks.Extensions Nuget package must still be installed. My system includes VS 2017 version 15.2 along with version 4.7 of the .NET Framework - and I still had to install the Nuget package.
To install the package, from VS 2017 click on the Project menu and select Manage Nuget Packages. In the search box, enter System.Threading.Tasks.Extensions and then install it. You should be good to go after this.
I am playing with the new Apache Cordova blank template in Visual Studio 2015 RC. I noticed the taco.json file in the project.
Besides defining the version of Apache Cordova you are using does it serves any other purpose?
Is it something like bower to define other frameworks like angular or bootstrap in there?
Geert,
taco.json file is currently used by Visual Studio to define Cordova CLI version used to build the project with. If you open up config.xml designer, under the platforms tab you will see the Cordova CLI version specified.
When you build/run your app for iOS, the remote agent uses the CLI version defined in your taco.json file to ensure that the remote machine uses the correct version of Cordova to build your app.
Currently, taco.json file is only used by Visual Studio and Visual Studio CLI (like vs-mda-remote) and does not define bower packages.
A bit of extra information... "taco" is an acronym for "Tools for Apache Cordova". In the RC release of Visual Studio, taco.json only includes a single key-value pair declaring the version of Cordova used in the project. For example:
{
"cordova-cli": "4.3.0"
}
If you want to use a different version of Cordova (greater than 4.3), just change the value on the right side of the colon.
Geert,
I have not used this feature, but based on the existing documentation, taco.json is used for continuous integration servers.
Documentation with details can be found here:
https://github.com/Microsoft/cordova-docs/blob/master/tutorial-gulp/gulp-ci.md
https://github.com/Microsoft/cordova-docs/blob/master/tutorial-team-build/README.md
To add to an older question:
Since TACO v1.0.0 was officially release on Thursday (1 October 2015), Here's the new official site: taco.tools.
I found this site to be a great place to get started and extra info on TACO.
The packages at https://www.myget.org/gallery/aspnetrelease target aspnet50, and when I try to install them I get:
You are trying to install this package into a project that targets
'.NETFramework,Version=v4.5', but the package does not contain any
assembly references or content files that are compatible with that
framework.
Is there a way?
You can't do that (currently). If you insist on working with ASP.NET vNext in VS2013, you can use it as an editor and run everything from the commandline with the tools from the aspnet Home repository.
You should install the newest CTP of VS14 if you want to work with asp.net vNext, which you can download the newest version of from here and learn how to use it in this guide. ASP.NET vNext is in alpha currently, so documentation and information can be a bit sparse. aspnet50 is the (current) name for the new .Net framework introduced with ASP.NET vNext.
I was able to manually download the nuget packages and had no problem referencing from VS 2013.
Opening VS2010 today, the extension manager notified me of an update for NuGet Package Manager.
During the install, I get an 'Installation Failed' with an option to view the log.
The key error message I see in that log file is:
The signature on the update version of 'NuGet Package Manager' does not match
the signature on the installed version. Therefore, Extension Manager cannot
install the update.
The version numbers I am upgrading from/to are as follows.
Current Version: 1.5.20902.9026
New Version: 1.6.21205.9031
I have also tried to install it while VS2010 is closed via this page:
here
Update: The recently released NuGet 2.0 also may require uninstalling an older version of NuGet first.
From the NuGet 2.0 Release Notes: (http://docs.nuget.org/docs/release-notes/nuget-2.0)
Known Installation Issue
If you are running VS 2010 SP1, you might run into an installation error when attempting to upgrade NuGet if you have an older version installed.
The workaround is to simply uninstall NuGet and then install it from the VS Extension Gallery. See http://support.microsoft.com/kb/2581019 for more information, or to go directly to the VS hotfix.
Note: If Visual Studio won't allow you to uninstall the extension (the Uninstall button is disabled), then you likely need to restart Visual Studio using "Run as Administrator."
Here is the VisualStudio/Express hotfix for this issue...
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=38654
There's not much on the page describing what it's for, but it's linked to from here that does provide some description...
http://connect.microsoft.com/VisualStudio/Downloads
I have installed this hotfix on both the Professional (on Win 7 Pro 32 bit) and Express versions (on Windows 7 Ultimate 64 bit) and the NuGet update behaves as it should.
When i originally had the problem, Joe Doyle's answer solved it.
However, going to version 1.8, I cannot see a listing for nuget in Programs and Features.
So from within Visual Studio / Tools / Extension Manager.
Uninstalled NUGET.
Restarted VS
Return to the Extension manager and install NUGET.
After uninstalling Nuget from Control panel, Go to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\ or the location matching similar pattern based upon windows bit version, and delete the folder 1.0.11220.104. And, if you install it now, you wont' get the same problem.