Code Monkey home page Code Monkey logo

Comments (1)

Garderoben avatar Garderoben commented on August 18, 2024

After failing to run on .Net 6x (see: #433), I have descided to give a new try on .NET 8x under docker env. What I have done:

$ mkdir -p foo
$ cd foo
$ docker run -it --rm \
	-v "$PWD":/app -w /app \
	mcr.microsoft.com/dotnet/sdk:"8.0" 

Under docker from here:

root@1c955b976efe:/app# ls -al
total 4
drwxr-xr-x 2 root root   64 Jan 15 10:48 .
drwxr-xr-x 1 root root 4096 Jan 15 10:49 ..

root@1c955b976efe:/app# dotnet  --version
8.0.100-rc.1.23463.5

Install Template

root@1c955b976efe:/app# dotnet new install MudBlazor.Templates
The following template packages will be installed:
   MudBlazor.Templates

Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.cs.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.de.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.en.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.es.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.fr.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.it.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.ja.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.ko.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.pl.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.pt-BR.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.ru.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.tr.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.zh-Hans.json), it will be skipped from further processing.
Warning: Failed to read or parse localization file /root/.templateengine/packages/MudBlazor.Templates.0.6.5.nupkg(/content/mudblazor/.template.config/localize/templatestrings.zh-Hant.json), it will be skipped from further processing.
Success: MudBlazor.Templates::0.6.5 installed the following templates:
Template Name      Short Name  Language  Tags
-----------------  ----------  --------  --------------------------------
MudBlazor Web App  mudblazor   [C#]      Web/Blazor/WebAssembly/MudBlazor

Create new project (from tutorial):

root@1c955b976efe:/app# dotnet new mudblazor --host wasm --name MyApplication
Error: Invalid option(s):
--host
   '--host' is not a valid option
wasm
   'wasm' is not a valid option

For more information, run:
   dotnet new mudblazor -h

For details on the exit code, refer to https://aka.ms/templating-exit-codes#127

New template has new operations check the readme or use -h for help as stated in your response.

https://github.com/MudBlazor/Templates/blob/dev/README.md

from templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.