Comments (5)
Hi @PaulAnderson02,
Glab to inform you that your request for .NET MAUI Class Library project template has been accepted.
Will release them by today.
Regards,
Vijay Anand E G
from dotnet-maui-templates.
Hi @PaulAnderson02,
VS extension and NuGet package have been updated with the .NET MAUI Class Library project template and are released to the respective distribution channels.
Update them for the changes to reflect.
For more details, refer to my blog post and GitHub readme.
from dotnet-maui-templates.
@egvijayanand Awesome
from dotnet-maui-templates.
Hi @PaulAnderson02,
Since the steps for creating a .NET MAUI class library (and how to manage dependencies) is not yet emerged, this request can't be entertained for now.
Regards,
Vijay Anand E G
from dotnet-maui-templates.
Hi @PaulAnderson02,
The workaround would be to use a class library template configured as a .NET MAUI library.
If you're working with .NET CLI, then dotnet new classlib
would create a new library project (or) if Visual Studio, create a new Class Library project.
Manual Steps:
In the C# project file, replace the <TargetFramework>
element with the following:
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst;net6.0-windows</TargetFrameworks>
And then add the .NET MAUI element within the <PropertyGroup>
block:
<UseMaui>true</UseMaui>
Regards,
Vijay Anand E G
from dotnet-maui-templates.
Related Issues (20)
- Build fails for .NET MAUI class library with .NET MAUI Essentials targeting the Windows platform HOT 2
- The partial class template allows a class that is both static and abstract. HOT 1
- [3.2.0-preview.1] Project node is not closed properly in the soln file while creating a Blazor Hybrid with RCL option from CLI HOT 1
- Consider adding a parameter named blank to create a new .NET MAUI App from the ground up in the chosen design pattern
- Request for Adding Dependency Injection Support to dotnet-maui-templates HOT 6
- _Imports.razor file getting excluded while creating a project in the Razor design pattern HOT 1
- Generic Item Templates for Visual Studio HOT 1
- Add support for .NET MAUI on .NET 9 Previews HOT 1
- Incorrect type name generation in the ContentPage with BlazorWebView item templates HOT 1
- Support for adding .NET MAUI Community Toolkit namespace while defining base types with that particular `xmlns` scope (mct) HOT 2
- Add the ability to abstract shared code as a MAUI Class Library quite like how Razor components abstracted as Razor Class Library
- Shell Page Support for PR8 HOT 2
- Support for Maui preview 13 HOT 4
- Gesture issue in Tab template HOT 1
- Compile error with RC1 HOT 2
- Add option to include Microsoft.Toolkit.Mvvm HOT 4
- Installation on VS 2022 failed HOT 3
- Support for .NET MAUI Templates on .NET 7 HOT 3
- How can I use Hybrid in Shell Design Pattern? HOT 3
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 dotnet-maui-templates.