Giter VIP home page Giter VIP logo

Comments (4)

maxkatz6 avatar maxkatz6 commented on August 29, 2024

Try to recreate browser project from the avalonia.xplat template.

from avalonia.

githubxiaoa avatar githubxiaoa commented on August 29, 2024

I have created a new project without making any changes, but it is still unsuccessful

from avalonia.

msneijders avatar msneijders commented on August 29, 2024

Using template v1.14 it works running from visual studio (it finds and reads an avalonia.js file) -- but when I deploy (testing with a local IIS), I cannot find the avalonia.js file in _framework folder. I copied the content from avalonia.js that is generated while debugging from visual studio from within the browsers DevTools (because I cannot find it in wwwroot/_framework), and put it in the _framework folder of the deployment; then it runs.

from avalonia.

maxkatz6 avatar maxkatz6 commented on August 29, 2024

I have created a new project without making any changes, but it is still unsuccessful

It doesn't give much information on how you run it.
New project templates work just fine here, via dotnet run and dotnet publish (which are the most important).
If any IDE doesn't handle running projects - report the issue to them.

testing with a local IIS

Can't really help with IIS. Don't see reasons to use it also.
For local testing of published packages, I recommend dotnet serve tool. For production there are various static website cloud providers as well, or nginx should work too just fine.

but when I deploy

Do you deploy with dotnet publish btw? Any other way won't work.

from avalonia.

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.