Create a Simple .NET Application on Windows

Play Create a Simple .NET Application on Windows

Description

This is a quick tutorial for creating a very simple .NET application on a Windows machine.

Embed

Download

Download this episode

Download captions

The Discussion

  • User profile image
    Alex


    PS C:\proyectos\netcore\test> dotnet --version
    2.2.0-preview1-007525



    ERROR???!!! NU1102
    dot

    PS C:\proyectos\netcore\test> dotnet new console -o myApp
    La plantilla "Console Application" se creó correctamente.

    Procesando acciones posteriores...
    Ejecutando "dotnet restore" en myApp\myApp.csproj...
    Restoring packages for C:\proyectos\netcore\test\myApp\myApp.csproj...
    C:\proyectos\netcore\test\myApp\myApp.csproj : error NU1102: Unable to find package Microsoft.NETCore.App with version (
    >= 2.1.0-preview1-25907-02)
    C:\proyectos\netcore\test\myApp\myApp.csproj : error NU1102: - Found 19 version(s) in nuget.org [ Nearest version: 2.0
    .3 ]
    C:\proyectos\netcore\test\myApp\myApp.csproj : error NU1102: - Found 7 version(s) in Microsoft Visual Studio Offline P
    ackages [ Nearest version: 1.1.2 ]
    Generating MSBuild file C:\proyectos\netcore\test\myApp\obj\myApp.csproj.nuget.g.props.
    Generating MSBuild file C:\proyectos\netcore\test\myApp\obj\myApp.csproj.nuget.g.targets.
    Restore failed in 768,56 ms for C:\proyectos\netcore\t

    No se pudo llevar a cabo la restauración.
    No se pudo ejecutar la acción posterior.
    Descripción: Restore NuGet packages required by this project.
    Instrucciones manuales: Run 'dotnet restore'

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.