Closed dotnetnoobie closed 5 years ago
In the BlazorLib template in the .csproj file
the showing as a Windows Application seems to be due to this line in the .csproj
<OutputType>library</OutputType>
if I change it to use a capital L
<OutputType>Library</OutputType>
Then in the Properties dialog it shows correctly as a Class Library
Hi! I install .NET Core SDK 2.1.300-preview2-008533 on my Mac (Os x- macOS High Sierra). And Blazor Template. But when I create new blazer project always comes to old version "0.1.0"!
Typically you end up with old templates if you have some issue with the configuration of your nuget package sources. Make sure you're getting Microsoft.AspNetCore.Blazor.Templates
from nuget.org and not from myget or any other package source.
To ensure you're getting the templates from the right place try this:
dotnet new -u Microsoft.AspNetCore.Blazor.Templates
dotnet new -i Microsoft.AspNetCore.Blazor.Templates --nuget-source https://api.nuget.org/v3/index.json
I think this will resolve your issue, so closing, but please reopen if you still run into problems.
Using Blazor Language Services 15.7.10222 (0.2.0 preview version)
When I make a Blazor Reusable Component I get old package references in the .csproj file
The other thing I noticed is that the OutputType is set to Library but if I look at the properties dialog in VS 2017 preview 3.0 It tells me I have an output type of Windows Application