Comments (8)
@NullFragment not related. Check breaking changes page https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes
Note that 11.0 is in development and nightly builds might not be stable.
from avalonia-dotnet-templates.
Please, try 6.0.202 sdk version. I wonder if they had breaking changes again.
from avalonia-dotnet-templates.
I tried with 6.0.200 and was unable to build on macOS, but WebAssembly and Desktop, and Android worked. I will change to 6.202 and retry.
from avalonia-dotnet-templates.
Still does not work, same error occurs as before:
The type 'UIResponder' is defined in an assembly that is not referenced.
with SDK 6.0.202. Is there a specific version of XCode required as well? or will the latest be sufficient?
from avalonia-dotnet-templates.
I was able to reproduce.
Yes, it's caused by breaking changes in .NET 6 minor versions.
This template targets Avalonia nightly version that was built with older version of .NET SDK and Xamarin.iOS.
I it was fixed after I changed Avalonia version to a newer nighthly build - 0.10.999-cibuild0021189-beta
Works with both 6.0.202 and 6.0.301 sdk (changing global.json version to a specific one).
from avalonia-dotnet-templates.
Works as expected with the new version.
from avalonia-dotnet-templates.
Leaving the issue open because the template should probably be upgraded or at least somewhat keep its targeting up to date with the CI builds. I wonder if there is not a way to install a CI built template from dotnet instead of the default one?
from avalonia-dotnet-templates.
I came across this issue while trying to look into Avalonia. Upgrading to a newer nightly build still results in build failures for me (nothing was modified in the project other than the NuGet package versions):
XamlX.XamlParseException: Unable to resolve type FluentTheme from namespace https://github.com/avaloniaui Line 10, position 10.
MainWindow.axaml.cs(9, 13): [CS0103] The name 'InitializeComponent' does not exist in the current context
MainView.axaml.cs(9, 13): [CS0103] The name 'InitializeComponent' does not exist in the current context
I'm using Avalonia Templates @ v0.10.14
and I've tried all of the Avalonia NuGet packages at 0.10.999-cibuild0021189-beta
and 0.10.999-cibuild0021319-beta
from avalonia-dotnet-templates.
Related Issues (20)
- TemplatedControl should use ControlTheme instead of styles HOT 2
- Update naming of templates
- Group Avalonia templates in Rider "New Project" window HOT 2
- iOS Templates wont work by default HOT 1
- 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
- avalonia.xplat template replaces spaces with underscores in project references HOT 5
- 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 4
- Full type name consistency for created UserControls HOT 2
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.