Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet] Add class library project templates for tvOS, macOS and Mac Catalyst. #16263

Merged
merged 3 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [ "macOS", "Mac Catalyst" ],
"identity": "Microsoft.MacCatalyst.MacCatalystLib",
"name": "Mac Catalyst Class Library",
"description": "A project for creating a .NET Mac Catalyst class library",
"shortName": "maccatalystlib",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "MacCatalystLib1",
"preferNameDirectory": true,
"primaryOutputs": [
{ "path": "MacCatalystLib1.csproj" }
],
"defaultName": "MacCatalystLib1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace MacCatalystLib1;

public class Class1 {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-maccatalyst</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">MacCatalystLib1</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [ "macOS" ],
"identity": "Microsoft.macOS.macOSLib",
"name": "macOS Class Library",
"description": "A project for creating a .NET macOS class library",
"shortName": "macoslib",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "macOSLib1",
"preferNameDirectory": true,
"primaryOutputs": [
{ "path": "macOSLib1.csproj" }
],
"defaultName": "macOSLib1"
}
4 changes: 4 additions & 0 deletions dotnet/Templates/Microsoft.macOS.Templates/macoslib/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace macOSLib1;

public class Class1 {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-macos</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">macOSLib1</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"author": "Microsoft",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": [ "tvOS", "Mobile" ],
"identity": "Microsoft.tvOS.tvOSLib",
"name": "tvOS Class Library",
"description": "A project for creating a .NET tvOS class library",
"shortName": "tvoslib",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "tvOSLib1",
"preferNameDirectory": true,
"primaryOutputs": [
{ "path": "tvOSLib1.csproj" }
],
"defaultName": "tvOSLib1"
}
4 changes: 4 additions & 0 deletions dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace tvOSLib1;

public class Class1 {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-tvos</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">tvOSLib1</RootNamespace>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
</Project>
Loading