How to use `dotnet new` template in visual studio 2019? - dotnet-cli

I installed Visual Studio 2019 GA Released version today.
I installed this template https://github.com/Dotnet-Boxed/Templates via dotnet new command line
I then can use the dotnet new to create a project from command line.
However, the installed template does not show in this windows in Visual Studio 2019.
What the point of putting the link to install a new template from CLI but not listing new installed template in the UI?
Is this a bug or actually a missing feature?

https://devblogs.microsoft.com/dotnet/net-cli-templates-in-visual-studio/
in this post you can see how to enable .net core cli project templates in VS2019
Starting in Visual Studio 16.8 Preview 2 we’ve enabled a preview feature that you can turn on that enables all templates that are installed via CLI to now show as options in Visual Studio as well. To enable this option visit the Preview Features options in the Tools…Options menu and look for the “Show all .NET Core templates in the New Project dialog” (we’re awesome at naming) checkbox and check it:
After enabling you need to restart the Visual Studio instance to get this capability. After restarting and choosing to create a new project you’ll see some slight differences in the experience.

This is a missing feature that is still being actively planned and developed. Look for it sometime in the .NET Core 3 timeframe.

Related

Missing .NET Framework 4.0 in Visual Studio 2017 Prerequisites when publishing

Hello, I need to publish my application with .NET Framework 4.0 (for windows XP support) but when trying to add it to the prerequisites it is missing. What can i do?
i used the old, free "Bootstrap Manifest Generator" tool, which is a bit hard to find nowadays. My steps were as follows:
I downloaded the .NET Framework 4.0 redistributable package: https://www.microsoft.com/en-za/download/confirmation.aspx?id=17718
To get the package to appear in the "Prerequisites" dialog box, i downloaded the "Bootstrap Manifest Generator" tool from SoftPedia (http://www.softpedia.com/get/Programming/Other-Programming-Files/Bootstrapper-Manifest-Generator.shtml). I scanned my download with McAfee and it was safe.
I installed the package and ran it. The series of images below illustrate the options that i selected on the tool:
Select "New Project" and then the "Package Manifest" option
- Fill-in the Project Name and Project Code, and then click the first icon above the white panel labeled "Package"
- Browse to the redistributable package
Enter the "Display Name" and then click the second icon above the white panel. The output folder will be highlighted in blue.
Move the containing folder (navigate one level up to copy the "DotNETFX40" folder) to the location shown below (Note, i'm using VS2017 Community on Windows 10):
In my WPF application, in the "Prerequisites" dialog, i now see the DotNETFX40 folder, as highlighted below.
Now when i publish the application, the DotNETFX40 folder is published as well:
I think you will have to use Visual Studio 2015 to be able to select .NET Framework 4.0 as a prerequisite.
The official support for .NET Framework 4 has ended: https://blogs.msdn.microsoft.com/dotnet/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1/

Visual Studio 2013 and Angular

I need to work with Visual Studio 2013.
I have already an scaffoldded Angular + Gulp project created with yeoman
Now i need to edit with visual studio.
Could you please explain me how to enable angular on Visual studio?
You don't need to "enable" angular for VS.
It is just editing text files in a certain folder structure.
Just import the folder as a new project or whatever suits your needs.
(In theory you could develop an Angular app with any text editor).
If you need intellisense or other helping technology look for an appropriate add-on on nuget. (e.g. ng intellisense Add-on )

unable to find a version of silverlight developer runtime installed

In the following environment:
-VS2012
-Windows 7 64bit
-Microsoft Silverlight 5 SDK
I have created a few lightswitch applications in VS2012 but I am running into an error when attempting to create a new one or open an existing lightswitch project. I receive a pop-up that says "unable to find a version of silverlight developer runtime installed".
There is a link on the pop-up which starts a download but after downloading it, I still receive the same error.
I was able to fix the issue by doing the following :
I went into "Uninstall a program" and noticed that I had 4 different Silverlight related items installed.
Microsoft Silverlight
Microsoft Silverlight SDK3
Microsoft Silverlight SDK4
Microsoft Silverlight SDK5
I just uninstalled the first item, "Microsoft Silverlight" then reinstalled the appropriate (32 or 64 bit) Microsoft Silverlight SDK5 from the following link: http://www.silverlight.net/downloads .
Don't use the link that is given in VS 2012. Doesn't work.
I have a slight different solution for Visual Studio 2010. After uninstall the current Silverlight Runtime, I got it to work if I download it from Visual Studio suggested url.
The best way I have found to find the most current Silverlight 5 Developer Runtime or End-User Runtime, is to search the downloads for the latest Silverlight bits. All other suggestions seem to take you on a wild goose chase depending on what version of Visual Studio or OS you are using.
Search Microsoft Downloads
Just look for the latest "Security Update for Microsoft Silverlight" entry.
The Silverlight Security Update KB2890788 is what fixed it for me, after trying uninstall and re-install without success.

Is there a DotNetNuke 6 Module Development Template for Visual Studio?

Can anybody tell me how to install a module development template for DotNeTNuke. Please note that I am working in DNN 6 and using Visual Studio 2010. So the template must be compatible with both DNN 6 and VS 2010. I have tried one that was for VS 2010 but not for DNN 6. Please suggest any links or videos.
There is a development template that's released with every version of DotNetNuke, available in both the DotNetNuke Support Network (for paid edition customers), and in the official downloads area for the Community Edition. Just click on the Visual Studio Starter Kit.
If you want a more complete visual studio template, I would highly recommend the templates that Chris Hammond put together on Codeplex, that bdukes mentioned. There are templates for both VB and C#, and they include automated packaging for your modules.
You can get c# version of module development template from http://dnnmodule.codeplex.com/.
There are some minor changes in module development for each new major version of dnn changes, but there are no templates dedicated to the version of dnn till yet since we assume our module should work in any version starting from 4.x to 6.x.
Let me know if you want any other help.

Silverlight 3 - Visual Studio Tools

I am trying to get started doing some Silverlight development. I am interested in learning about the out-of-browser support. I can create and run Silverlight 3 applications just fine. I have confirmed that I have Silverlight 3 instead of Silverlight 3 Beta. I have been able to confirm this because my API list includes Application.InstallStateChanged instead of Application.ExecutionStateChanged.
However, I do not have the option to enable my application to run offline in Visual Studio. I can see this option in this blog post (http://johnpapa.net/silverlight/updated-silvertwit-code-for-msdn-magazine/). Unfortunately, I do not have the option shown or the Reduce XAP size option. I have downloaded the Visual Studio tools from here (http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en).
What am I doing wrong?
Thank you!
It looks like John Papa is using a new version of visual studio possibly the VS2010 beta.
Try this tutorial instead
http://wildermuth.com/2009/03/18/Enabling_Out-of-Browser_Support_in_Silverlight_3
or
http://blogs.msdn.com/katriend/archive/2009/07/10/silverlight-3-out-of-browser-applications.aspx
Corrupted Install
It looks like a corrupted install. Try uninstalling and then see Allen Chen's advice here:
http://silverlight.net/forums/t/83226.aspx including:
Silverlight3_Tools.exe /x:c:\temp /u to manually extract the SL 3 files and c:\temp\SPInstaller.exe to verify the tools install.
Use Blend
Also, If you have Blend 3 installed (preview here) you can enable Out of the Browser inside of Blend. See Project->Silverlight Project Options.
One thing might be that your Silverlight developer runtime got corrupted/overwritten. Try installing it once and see if it solves...
http://silverlight.net/getstarted/silverlight3/default.aspx

Resources