Comments (5)
For additional context, this is a follow up to this discussion: AvaloniaUI/Avalonia#13726
from avalonia-dotnet-templates.
Please note that Avalonia itself doesn't care about the spaces. Nor does MSBuild. I believe it's an issue with the project templates, where the spaces were replaced with underscores at creation.
Can you please confirm that you were using the avalonia.xplat
template? If yes, I'll move this issue to the templates repository.
In the meantime, you should be able to replace the underscores with spaces in the .sln and .csproj and get everything to compile (it might be faster to simply create a project without spaces from the templates though).
from avalonia-dotnet-templates.
I added the Avalonia extension to Visual Studio and created a new project with the "Avalonia Cross Platform Application (AvaloniaUI) template. As I'm new to this, I don't know if that matches avalonia.xplat.
from avalonia-dotnet-templates.
Yes, that's the one. I can clearly reproduce the problem with it.
I'm moving this issue to the templates repo, thanks.
from avalonia-dotnet-templates.
Duplicate of #165
from avalonia-dotnet-templates.
Related Issues (20)
- iOS Supported version mismatching
- Update comment in Desktop template HOT 2
- Declare ViewModelBase as abstract
- XUnit/NUnit headless templates HOT 5
- New Avalonia User Control still contains the `private void InitializeComponent()` method HOT 3
- Base VM type mismatch in ViewLocator
- Avalonia xPlat Library template HOT 2
- Nullability warning in ViewLocator.cs
- Template namespaces missing subfolder HOT 1
- Xplat templates requires .net 7.0 , although android packages do not support 7.0 yet HOT 4
- Creating new items in Visual Studio doesn't replace invalid characters in namespace HOT 1
- Template namespace switch leads to strange behaviours
- Preparing for 11.1 HOT 3
- Remove ReactiveUI from XPlat templates HOT 5
- Full type name consistency for created UserControls HOT 2
- BindingPlugins.DataValidators.RemoveAt(0) is too magical in the template HOT 2
- Use Directory.Packages.props for package management HOT 1
- Only show Avalonia project items in Avalonia projects.
- Conditional `Avalonia.Diagnostics`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia-dotnet-templates.