no more submodule

This commit is contained in:
2024-09-15 22:40:48 +02:00
parent df3b8a3135
commit 0234b33671
5804 changed files with 943618 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageType>DotnetPlatform</PackageType>
<PackageId>$(MSBuildProjectName)</PackageId>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<GenerateDependencyFile>false</GenerateDependencyFile>
<IncludeSymbols>false</IncludeSymbols>
<NoWarn>$(NoWarn);NU5100;NU5128;NU5130;NU5131</NoWarn>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,42 @@
<Project>
<ItemGroup>
<_FrameworkListFile Condition=" !$(MSBuildProjectName.Contains('.Runtime')) " Include="$(IntermediateOutputPath)FrameworkList.xml" />
<_FrameworkListFile Condition=" !$(MSBuildProjectName.Contains('.Ref')) " Include="$(IntermediateOutputPath)RuntimeList.xml" />
</ItemGroup>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.SharedFramework.Sdk" Version="7.0.0-beta.22259.5" />
<UsingTask TaskName="CreateFrameworkListFile" AssemblyFile="$(DotNetSharedFrameworkTaskFile)"/>
<PropertyGroup>
<!-- Microsoft.DotNet.SharedFramework.Sdk changes this property, creating a symbols package with no meaning. -->
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
<!-- https://github.com/dotnet/runtime/blob/0647ec314948904319da5eb15e9931f7c85ed1e2/src/installer/pkg/projects/Directory.Build.targets#L281 -->
<Target Name="_GenerateFrameworkListFile"
BeforeTargets="Build;AssignTargetPaths">
<ItemGroup>
<_RootAttribute Include="Name" Value="GtkSharp" />
<_RootAttribute Include="TargetFrameworkIdentifier" Value=".NETCoreApp" />
<_RootAttribute Include="TargetFrameworkVersion" Value="8.0" />
<_RootAttribute Include="FrameworkName" Value="$(MSBuildProjectName.Replace('.Ref','').Replace('.Runtime',''))" />
<_AssemblyFiles Include="@(_PackageFiles)" Condition=" '%(_PackageFiles.Extension)' == '.dll' and '%(_PackageFiles.SubFolder)' == '' " />
<_Classifications Include="@(_AssemblyFiles->'%(FileName)%(Extension)'->Distinct())" Profile="GTK" />
</ItemGroup>
<!-- https://github.com/dotnet/arcade/blob/1924d7ea148c9f26ca3d82b60f0a775a5389ed22/src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/src/CreateFrameworkListFile.cs -->
<CreateFrameworkListFile
Files="@(_AssemblyFiles)"
FileClassifications="@(_Classifications)"
TargetFile="%(_FrameworkListFile.Identity)"
TargetFilePrefixes="ref;lib"
RootAttributes="@(_RootAttribute)"
/>
<ItemGroup>
<FileWrites Include="@(_FrameworkListFile)" />
<Content Include="@(_FrameworkListFile)" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="data" Link="data\%(FileName)%(Extension)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -0,0 +1,20 @@
<Project>
<UsingTask TaskName="ReplaceText"
TaskFactory="RoslynCodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
<ParameterGroup>
<Input ParameterType="System.String" Required="true" />
<Output ParameterType="System.String" Required="true" />
<OldValue ParameterType="System.String" Required="true" />
<NewValue ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Using Namespace="System.IO" />
<Code Type="Fragment" Language="cs">
<![CDATA[
File.WriteAllText(Output, File.ReadAllText(Input).Replace(OldValue, NewValue));
]]>
</Code>
</Task>
</UsingTask>
</Project>

View File

@@ -0,0 +1,14 @@
<Project>
<PropertyGroup>
<PackageType>Template</PackageType>
<PackageId>$(MSBuildProjectName)</PackageId>
<TargetFramework>netstandard2.0</TargetFramework>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<GenerateDependencyFile>false</GenerateDependencyFile>
<IncludeSymbols>false</IncludeSymbols>
<NoWarn>NU5128</NoWarn>
</PropertyGroup>
</Project>