Merge pull request #508 from Sergio0694/dev/simplified-packaging
Drop NuGetizer from packaging projects
このコミットが含まれているのは:
53ファイル変更
+208
-411
検索条件に一致するファイルはありません
@@ -29,7 +29,7 @@ jobs:
|
||||
path: msbuild.binlog
|
||||
if-no-files-found: error
|
||||
|
||||
# Build the .msbuildproj projects and the UWP/WinUI projects to generate all the NuGet packages.
|
||||
# Pack all projects with dotnet/MSBuild to generate NuGet packages.
|
||||
# This workflow also uploads the resulting packages as artifacts.
|
||||
build-packages:
|
||||
runs-on: windows-2022
|
||||
@@ -39,15 +39,15 @@ jobs:
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/[email protected]
|
||||
- name: Build ComputeSharp.Core package
|
||||
run: dotnet build src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj -c Release
|
||||
run: dotnet pack src\ComputeSharp.Core\ComputeSharp.Core.csproj -c Release
|
||||
- name: Build ComputeSharp package
|
||||
run: dotnet build src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj -c Release
|
||||
run: dotnet pack src\ComputeSharp\ComputeSharp.csproj -c Release
|
||||
- name: Build ComputeSharp.Dynamic package
|
||||
run: dotnet build src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj -c Release
|
||||
run: dotnet pack src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj -c Release
|
||||
- name: Build ComputeSharp.D2D1 package
|
||||
run: dotnet build src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj -c Release
|
||||
run: dotnet pack src\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj -c Release
|
||||
- name: Build ComputeSharp.Pix package
|
||||
run: dotnet build src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj -c Release
|
||||
run: dotnet pack src\ComputeSharp.Pix\ComputeSharp.Pix.csproj -c Release
|
||||
- name: Build ComputeSharp.Uwp package
|
||||
run: msbuild src\ComputeSharp.Uwp\ComputeSharp.Uwp.csproj -t:restore,build,pack /p:Configuration=Release
|
||||
- name: Build ComputeSharp.D2D1.Uwp package
|
||||
|
||||
+7
-11
@@ -32,17 +32,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_SolutionItems", "_Solution
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SourceGenerators", "src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj", "{EB52CB67-4162-4722-874B-44EA8DA5450E}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Packages", "Packages", "{FB17EF84-9208-47AC-921F-680CB1DAD8BA}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj = src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj
|
||||
src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj = src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj
|
||||
src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj = src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj
|
||||
src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj = src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj
|
||||
src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj = src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj
|
||||
src\ComputeSharp.Core.Package\icon.png = src\ComputeSharp.Core.Package\icon.png
|
||||
src\ComputeSharp.Core.Package\icon_highres.png = src\ComputeSharp.Core.Package\icon_highres.png
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Sample", "samples\ComputeSharp.Sample\ComputeSharp.Sample.csproj", "{7048DEEA-0A6F-46A0-B951-B682A8F1CB75}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests.SourceGenerators", "tests\ComputeSharp.Tests.SourceGenerators\ComputeSharp.Tests.SourceGenerators.csproj", "{BBBD0ADD-F2F9-49A3-BD5E-D223F0735D8B}"
|
||||
@@ -154,6 +143,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B54B6DCA
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.D2D1.Cli", "samples\ComputeSharp.SwapChain.D2D1.Cli\ComputeSharp.SwapChain.D2D1.Cli.csproj", "{9EA5AE9D-C39A-4F43-B03E-0A848EA2558A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{345F62CF-5320-4531-A087-DA5B488FDDE6}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
assets\icon.ico = assets\icon.ico
|
||||
assets\icon.png = assets\icon.png
|
||||
assets\icon_highres.png = assets\icon_highres.png
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Sergio Pedri
|
||||
Copyright (c) 2023 Sergio Pedri
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
差分なしでファイル名を変更。
|
変更前 幅: | 高さ: | サイズ: 98 KiB 変更後 幅: | 高さ: | サイズ: 98 KiB |
差分なしでファイル名を変更。
|
変更前 幅: | 高さ: | サイズ: 1.5 KiB 変更後 幅: | 高さ: | サイズ: 1.5 KiB |
差分なしでファイル名を変更。
|
変更前 幅: | 高さ: | サイズ: 22 KiB 変更後 幅: | 高さ: | サイズ: 22 KiB |
@@ -90,8 +90,11 @@
|
||||
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request' AND '$(IsCommitOnReleaseBranch)' != 'true'">pr</VersionSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NuGet info and basic configuration -->
|
||||
<PropertyGroup>
|
||||
<ContinuousIntegrationBuild Condition="'$(GITHUB_RUN_ID)' != ''">true</ContinuousIntegrationBuild>
|
||||
<PackageId>$(MSBuildProjectName)</PackageId>
|
||||
<Title>$(MSBuildProjectName)</Title>
|
||||
<RepositoryUrl>https://github.com/Sergio0694/ComputeSharp/</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
@@ -99,13 +102,13 @@
|
||||
<Authors>Sergio Pedri</Authors>
|
||||
<Owners>Sergio Pedri</Owners>
|
||||
<Company>Sergio Pedri</Company>
|
||||
<Copyright>Copyright (c) 2022 Sergio Pedri</Copyright>
|
||||
<Copyright>Copyright (c) 2023 Sergio Pedri</Copyright>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<PackageProjectUrl>https://github.com/Sergio0694/ComputeSharp/</PackageProjectUrl>
|
||||
<PackageIcon>icon.png</PackageIcon>
|
||||
<PackageIconUrl>https://user-images.githubusercontent.com/10199417/110238403-b8811080-7f41-11eb-8cfe-e47e7e58f05b.png</PackageIconUrl>
|
||||
<PackageTags>dotnet net netcore netstandard csharp library graphics directx shader hlsl compute gpu performance parallel windows</PackageTags>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -127,7 +130,11 @@
|
||||
<PropertyGroup>
|
||||
<ProjectDirectoryPathFromSourceRoot>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..\', $(MSBuildProjectDirectory)))</ProjectDirectoryPathFromSourceRoot>
|
||||
<IsPublishedProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('src\'))</IsPublishedProject>
|
||||
<IsTestProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\'))</IsTestProject>
|
||||
<IsSourceGeneratorProject>false</IsSourceGeneratorProject>
|
||||
<IsSourceGeneratorProject Condition="$(IsPublishedProject) AND $(MSBuildProjectName.EndsWith('.SourceGenerators'))">true</IsSourceGeneratorProject>
|
||||
<IsPackagedProject>false</IsPackagedProject>
|
||||
<IsPackagedProject Condition="$(IsPublishedProject) AND !$(IsSourceGeneratorProject)">true</IsPackagedProject>
|
||||
<IsTestProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\'))</IsTestProject>
|
||||
<IsInternalsTestProject>false</IsInternalsTestProject>
|
||||
<IsInternalsTestProject Condition="$(IsTestProject) AND $(MSBuildProjectName.EndsWith('.Internals'))">true</IsInternalsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
@@ -32,5 +31,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -23,5 +22,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0</TargetFrameworks>
|
||||
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
||||
@@ -12,5 +11,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -14,5 +13,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
<!--
|
||||
@@ -14,7 +13,7 @@
|
||||
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
|
||||
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
||||
<AssemblyName>computesharp.cli</AssemblyName>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
<ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
@@ -40,11 +39,6 @@
|
||||
<PackageReference Include="PublishAotCompressed" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Application icon -->
|
||||
<ItemGroup>
|
||||
<Content Include="icon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Core\ComputeSharp.Core.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
@@ -59,5 +53,4 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems" Label="Shared" />
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType Condition="'$(CI_RUNNER_SAMPLES_INTEGRATION_TESTS)' == 'true'">Exe</OutputType>
|
||||
<OutputType Condition="'$(CI_RUNNER_SAMPLES_INTEGRATION_TESTS)' != 'true'">WinExe</OutputType>
|
||||
@@ -8,7 +7,7 @@
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
||||
<AssemblyName>computesharp.d2d1.cli</AssemblyName>
|
||||
<ApplicationIcon>..\ComputeSharp.SwapChain.Cli\icon.ico</ApplicationIcon>
|
||||
<ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
@@ -31,7 +30,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="PolySharp" Version="1.13.1" PrivateAssets="all" />
|
||||
<PackageReference Include="TerraFX.Interop.Windows" Version="10.0.22621.1" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -44,5 +42,4 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems" Label="Shared" />
|
||||
|
||||
</Project>
|
||||
@@ -1,11 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
|
||||
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
||||
<NoWarn>$(NoWarn);CA1416;IDE0210</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -22,5 +21,4 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems" Label="Shared" />
|
||||
|
||||
</Project>
|
||||
@@ -1,29 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Core</PackageId>
|
||||
<Title>ComputeSharp.Core</Title>
|
||||
<Description>A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers)</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.Core\ComputeSharp.Core.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" PackFolder="analyzers\dotnet\cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Include the custom .targets file to check the source generator -->
|
||||
<None Include="..\ComputeSharp.Core\ComputeSharp.Core.targets" PackagePath="buildTransitive\ComputeSharp.Core.targets" Pack="true" />
|
||||
<None Include="..\ComputeSharp.Core\ComputeSharp.Core.targets" PackagePath="build\ComputeSharp.Core.targets" Pack="true" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,9 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<PackSymbols>false</PackSymbols>
|
||||
<Description>ComputeSharp.Core.SourceGenerators</Description>
|
||||
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.Core.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -13,10 +13,12 @@
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_ComputeSharpCoreGatherAnalyzers">
|
||||
|
||||
<!-- Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
|
||||
<!--
|
||||
Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check.
|
||||
-->
|
||||
<GetAssemblyIdentity AssemblyFiles="$([System.IO.Path]::Combine(`$([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath)))`,`Microsoft.Build.Tasks.CodeAnalysis.dll`))">
|
||||
<Output TaskParameter="Assemblies" ItemName="ComputeSharpCoreCurrentCompilerAssemblyIdentity"/>
|
||||
</GetAssemblyIdentity>
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.D2D1</PackageId>
|
||||
<Title>ComputeSharp.D2D1</Title>
|
||||
<Description>A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" PackFolder="analyzers\dotnet\cs" />
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Include the custom .targets file to check the source generator -->
|
||||
<None Include="..\ComputeSharp.D2D1\ComputeSharp.D2D1.targets" PackagePath="buildTransitive\ComputeSharp.D2D1.targets" Pack="true" />
|
||||
<None Include="..\ComputeSharp.D2D1\ComputeSharp.D2D1.targets" PackagePath="build\ComputeSharp.D2D1.targets" Pack="true" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,9 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<PackSymbols>false</PackSymbols>
|
||||
<Description>ComputeSharp.D2D1.SourceGenerators</Description>
|
||||
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -8,27 +8,13 @@
|
||||
<TargetPlatformMinVersion>$(TargetPlatformBaseVersion).$(TargetPlatformMinRevision).0</TargetPlatformMinVersion>
|
||||
<ExtrasUwpMetaPackageVersion>6.2.14</ExtrasUwpMetaPackageVersion>
|
||||
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IsPublishable>true</IsPublishable>
|
||||
<ExtrasEnableDefaultXamlItems>true</ExtrasEnableDefaultXamlItems>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<RootNamespace>ComputeSharp.D2D1.Uwp</RootNamespace>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win10-x64;win-arm64</RuntimeIdentifiers>
|
||||
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.D2D1.Uwp</PackageId>
|
||||
<Title>ComputeSharp.D2D1.Uwp</Title>
|
||||
<Description>A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1</Description>
|
||||
<PackageTags>$(PackageTags) uwp winui</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Win2D.uwp" Version="1.27.0-preview3" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\..\build\Directory.Build.props" />
|
||||
</Project>
|
||||
@@ -1,23 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<RootNamespace>ComputeSharp.D2D1.WinUI</RootNamespace>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.D2D1.WinUI</PackageId>
|
||||
<Title>ComputeSharp.D2D1.WinUI</Title>
|
||||
<Description>A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1</Description>
|
||||
<PackageTags>$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
</ItemGroup>
|
||||
<!--
|
||||
Ignore some warnings about ambiguous cref attribute references.
|
||||
This happens for ICanvasImage, but it's not really clear why.
|
||||
-->
|
||||
<NoWarn>$(NoWarn);CS0419</NoWarn>
|
||||
|
||||
<!-- Ignore warnings for usings outside of a namespace (needed for some WinRT type aliases) -->
|
||||
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.1.0-preview1" />
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\..\build\Directory.Build.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
<!-- Ignore some warnings about ambiguous cref attribute references (happens for ICanvasImage but it's not really clear why) -->
|
||||
<NoWarn>$(NoWarn);CS0419</NoWarn>
|
||||
|
||||
<!-- Ignore warnings for usings outside of a namespace (needed for some WinRT type aliases) -->
|
||||
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,8 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.D2D1.xml</DocumentationFile>
|
||||
<SupportedOSVersion>windows6.1</SupportedOSVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -15,9 +13,8 @@
|
||||
<ProjectReference Include="..\ComputeSharp.Core\ComputeSharp.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- .NET Standard 2.0 polyfill packages -->
|
||||
<!-- Explicitly reference System.Runtime.CompilerServices.Unsafe on .NET Standard 2.0 to get Unsafe.SkipInit -->
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
||||
<PackageReference Include="System.Memory" Version="4.5.5" />
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -13,10 +13,12 @@
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_ComputeSharpD2D1GatherAnalyzers">
|
||||
|
||||
<!-- Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
|
||||
<!--
|
||||
Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check.
|
||||
-->
|
||||
<GetAssemblyIdentity AssemblyFiles="$([System.IO.Path]::Combine(`$([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath)))`,`Microsoft.Build.Tasks.CodeAnalysis.dll`))">
|
||||
<Output TaskParameter="Assemblies" ItemName="ComputeSharpD2D1CurrentCompilerAssemblyIdentity"/>
|
||||
</GetAssemblyIdentity>
|
||||
@@ -35,9 +37,11 @@
|
||||
<Analyzer Remove="@(_ComputeSharpD2D1Analyzer)"/>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- If the source generators are disabled, also emit an error. This would've been produced by MSBuild itself as well, but
|
||||
emitting this manually lets us customize the message to inform developers as to why exactly the generators have been
|
||||
disabled, and that ComputeSharp will not work at all unless a more up to date IDE or compiler version are used. -->
|
||||
<!--
|
||||
If the source generators are disabled, also emit an error. This would've been produced by MSBuild itself as well, but
|
||||
emitting this manually lets us customize the message to inform developers as to why exactly the generators have been
|
||||
disabled, and that ComputeSharp will not work at all unless a more up to date IDE or compiler version are used.
|
||||
-->
|
||||
<Error Condition ="'$(ComputeSharpD2D1CurrentCompilerVersionIsNotNewEnough)' == 'true'" Text="The ComputeSharp.D2D1 source generators have been disabled on the current configuration, as they need Roslyn 4.4 in order to work. ComputeSharp.D2D1 requires the source generators to run in order to process shaders, so the library cannot be used without a more up to date IDE (eg. VS 2022 17.4 or greater) or .NET SDK version (.NET 7 SDK or greater)."/>
|
||||
</Target>
|
||||
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Dynamic</PackageId>
|
||||
<Title>ComputeSharp.Dynamic</Title>
|
||||
<Description>An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
|
||||
<!-- Also include the ComputeSharp.Core reference, so that it's packed as a package reference, and not as binaries -->
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,8 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.Dynamic.xml</DocumentationFile>
|
||||
<Platforms>AnyCPU;x64;ARM64</Platforms>
|
||||
<SupportedOSVersion>windows6.2</SupportedOSVersion>
|
||||
</PropertyGroup>
|
||||
@@ -21,34 +19,38 @@
|
||||
|
||||
<Choose>
|
||||
|
||||
<!-- When building locally for x64/ARM64 (using the project through a project reference),
|
||||
just copy the right native libraries to the output directory, with no subfolders. -->
|
||||
<!--
|
||||
When building locally for x64/ARM64 (using the project through a project reference),
|
||||
just copy the right native libraries to the output directory, with no subfolders.
|
||||
-->
|
||||
<When Condition="'$(Platform)' == 'x64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'ARM64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
|
||||
<!-- When no RID is specified, it means the NuGet package is being packed. In this
|
||||
case, copy all native libraries to the right runtimes/<RID>/native directory,
|
||||
which will automatically be used by NuGet to deploy the right libs to consumers.
|
||||
Still keep the link target to get the libraries to be copied to the output, which
|
||||
allows them to be found even when running the library locally in Any CPU. This will
|
||||
make life easier for developers using a project reference with an incorrect configuration,
|
||||
while still not causing any change in the final NuGet package (Link isn't looked up there). -->
|
||||
<!--
|
||||
When no RID is specified, it means the NuGet package is being packed. In this
|
||||
case, copy all native libraries to the right runtimes/<RID>/native directory,
|
||||
which will automatically be used by NuGet to deploy the right libs to consumers.
|
||||
Still keep the link target to get the libraries to be copied to the output, which
|
||||
allows them to be found even when running the library locally in Any CPU. This will
|
||||
make life easier for developers using a project reference with an incorrect configuration,
|
||||
while still not causing any change in the final NuGet package (Link isn't looked up there).
|
||||
-->
|
||||
<Otherwise>
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp</PackageId>
|
||||
<Title>ComputeSharp</Title>
|
||||
<Description>A library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp\ComputeSharp.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" PackFolder="analyzers\dotnet\cs" />
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Include the custom .targets file to check the source generator -->
|
||||
<None Include="..\ComputeSharp\ComputeSharp.targets" PackagePath="buildTransitive\ComputeSharp.targets" Pack="true" />
|
||||
<None Include="..\ComputeSharp\ComputeSharp.targets" PackagePath="build\ComputeSharp.targets" Pack="true" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,51 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Pix</PackageId>
|
||||
<Title>ComputeSharp.Pix</Title>
|
||||
<Description>An extension library for ComputeSharp to enable PIX support to produce debugging information</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Include the PIX license file -->
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Pix\LICENSE.txt" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<PackageLicenseExpression></PackageLicenseExpression>
|
||||
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.Pix\ComputeSharp.Pix.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
|
||||
<!-- Also include the ComputeSharp.Core reference, so that it's packed as a package reference, and not as binaries (same as in ComputeSharp.Dynamic) -->
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Include the custom .targets file extract the PIX native libraries -->
|
||||
<None Include="..\ComputeSharp.Pix\ComputeSharp.Pix.targets" PackagePath="buildTransitive\ComputeSharp.Pix.targets" Pack="true" />
|
||||
<None Include="..\ComputeSharp.Pix\ComputeSharp.Pix.targets" PackagePath="build\ComputeSharp.Pix.targets" Pack="true" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,8 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.Pix.xml</DocumentationFile>
|
||||
<Platforms>AnyCPU;x64;ARM64</Platforms>
|
||||
<SupportedOSVersion>windows6.2</SupportedOSVersion>
|
||||
</PropertyGroup>
|
||||
@@ -19,46 +17,60 @@
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\WinPixEventRuntime.dll"
|
||||
Link="WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest" />
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'ARM64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime.dll"
|
||||
Link="WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest" />
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
|
||||
<!-- When no RID is specified, it means the NuGet package is being packed. In this case,
|
||||
copy all libraries, and then rely on the custom .targets file to unpack them correctly. -->
|
||||
<!--
|
||||
When no RID is specified, it means the NuGet package is being packed. In this case,
|
||||
copy all libraries, and then rely on the custom .targets file to unpack them correctly.
|
||||
-->
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<WinPixEventRuntimeVersion>winpixeventruntime.1.0.220810001</WinPixEventRuntimeVersion>
|
||||
|
||||
<!--
|
||||
This ignores the following warning:
|
||||
"NU5100: the assembly 'winpixeventruntime.1.0.220810001\x64\WinPixEventRuntime.dll' is not inside the 'lib' folder and hence it won't
|
||||
be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced."
|
||||
This is by design: we're copying the PIX assemblies into a separate folder and then unpacking them from the bundled .targets file.
|
||||
-->
|
||||
<NoWarn>$(NoWarn);NU5100</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\WinPixEventRuntime.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\x64\WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\x64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\x64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\x64\WinPixEventRuntime_UAP.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\x64\WinPixEventRuntime_UAP.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\x64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\x64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\arm64\WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\arm64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\arm64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime_UAP.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\arm64\WinPixEventRuntime_UAP.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\arm64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\arm64"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Sergio Pedri
|
||||
Copyright (c) 2023 Sergio Pedri
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<PackSymbols>false</PackSymbols>
|
||||
<Description>ComputeSharp.SourceGenerators</Description>
|
||||
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -8,27 +8,13 @@
|
||||
<TargetPlatformMinVersion>$(TargetPlatformBaseVersion).$(TargetPlatformMinRevision).0</TargetPlatformMinVersion>
|
||||
<ExtrasUwpMetaPackageVersion>6.2.14</ExtrasUwpMetaPackageVersion>
|
||||
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IsPublishable>true</IsPublishable>
|
||||
<ExtrasEnableDefaultXamlItems>true</ExtrasEnableDefaultXamlItems>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<RootNamespace>ComputeSharp.Uwp</RootNamespace>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win10-x64;win-arm64</RuntimeIdentifiers>
|
||||
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Uwp</PackageId>
|
||||
<Title>ComputeSharp.Uwp</Title>
|
||||
<Description>A UWP library with controls to render DX12 shaders powered by ComputeSharp</Description>
|
||||
<PackageTags>$(PackageTags) uwp winui</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp\ComputeSharp.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\..\build\Directory.Build.props" />
|
||||
</Project>
|
||||
@@ -2,22 +2,10 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<RootNamespace>ComputeSharp.WinUI</RootNamespace>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.WinUI</PackageId>
|
||||
<Title>ComputeSharp.WinUI</Title>
|
||||
<Description>A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp</Description>
|
||||
<PackageTags>$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\ComputeSharp.Core.Package\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230331000" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<Project>
|
||||
<Import Project="..\..\build\Directory.Build.props" />
|
||||
</Project>
|
||||
@@ -1,8 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<DocumentationFile>ComputeSharp.xml</DocumentationFile>
|
||||
<SupportedOSVersion>windows6.2</SupportedOSVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -13,10 +13,12 @@
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_ComputeSharpGatherAnalyzers">
|
||||
|
||||
<!-- Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check. -->
|
||||
<!--
|
||||
Use the CSharpCoreTargetsPath property to find the version of the compiler we are using. This is the same mechanism
|
||||
MSBuild uses to find the compiler. We could check the assembly version for any compiler assembly (since they all have
|
||||
the same version) but Microsoft.Build.Tasks.CodeAnalysis.dll is where MSBuild loads the compiler tasks from so if
|
||||
someone is getting creative with msbuild tasks/targets this is the "most correct" assembly to check.
|
||||
-->
|
||||
<GetAssemblyIdentity AssemblyFiles="$([System.IO.Path]::Combine(`$([System.IO.Path]::GetDirectoryName($(CSharpCoreTargetsPath)))`,`Microsoft.Build.Tasks.CodeAnalysis.dll`))">
|
||||
<Output TaskParameter="Assemblies" ItemName="ComputeSharpCurrentCompilerAssemblyIdentity"/>
|
||||
</GetAssemblyIdentity>
|
||||
@@ -35,9 +37,11 @@
|
||||
<Analyzer Remove="@(_ComputeSharpAnalyzer)"/>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- If the source generators are disabled, also emit an error. This would've been produced by MSBuild itself as well, but
|
||||
emitting this manually lets us customize the message to inform developers as to why exactly the generators have been
|
||||
disabled, and that ComputeSharp will not work at all unless a more up to date IDE or compiler version are used. -->
|
||||
<!--
|
||||
If the source generators are disabled, also emit an error. This would've been produced by MSBuild itself as well, but
|
||||
emitting this manually lets us customize the message to inform developers as to why exactly the generators have been
|
||||
disabled, and that ComputeSharp will not work at all unless a more up to date IDE or compiler version are used.
|
||||
-->
|
||||
<Error Condition ="'$(ComputeSharpCurrentCompilerVersionIsNotNewEnough)' == 'true'" Text="The ComputeSharp source generators have been disabled on the current configuration, as they need Roslyn 4.4 in order to work. ComputeSharp requires the source generators to run in order to process shaders, so the library cannot be used without a more up to date IDE (eg. VS 2022 17.4 or greater) or .NET SDK version (.NET 7 SDK or greater)."/>
|
||||
</Target>
|
||||
|
||||
|
||||
+66
-10
@@ -1,19 +1,75 @@
|
||||
<Project>
|
||||
<Import Project="..\build\Directory.Build.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Centralized packaging metadata for published projects -->
|
||||
<PropertyGroup Condition="$(IsPackagedProject)">
|
||||
|
||||
<!--
|
||||
This ignores the following warning:
|
||||
"DNG02: NuGetizer uses SponsorLink to properly attribute your sponsorship with
|
||||
devlooped. Please install the GitHub app at https://github.com/apps/sponsorlink.
|
||||
-->
|
||||
<NoWarn>$(NoWarn);DNG02</NoWarn>
|
||||
<!-- Package descriptions-->
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp'">
|
||||
<![CDATA[A library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Core'">
|
||||
<![CDATA[A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers).]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1'">
|
||||
<![CDATA[A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.Uwp'">
|
||||
<![CDATA[A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Dynamic'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Pix'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable PIX support to produce debugging information.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Uwp'">
|
||||
<![CDATA[A UWP library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
</Description>
|
||||
|
||||
<!-- Package tags -->
|
||||
<PackageTags Condition="$(MSBuildProjectName.Contains('.D2D1'))">$(PackageTags) d2d d2d1 direct2d pixel</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.Uwp'))">$(PackageTags) uwp winui</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.WinUI'))">$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Reference NuGetizer to manage the packaging process -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGetizer" Version="0.9.5" PrivateAssets="all" />
|
||||
<!-- Additional properties for all source projects-->
|
||||
<PropertyGroup>
|
||||
|
||||
<!-- Generate documentation files (only for published, non source generator projects) -->
|
||||
<GenerateDocumentationFile Condition="$(IsPackagedProject)">true</GenerateDocumentationFile>
|
||||
<DocumentationFile Condition="'$(GenerateDocumentationFile)' == 'true'">$(MSBuildProjectName).xml</DocumentationFile>
|
||||
|
||||
<!-- Disable packing symbols for source generators -->
|
||||
<PackSymbols Condition="$(IsSourceGeneratorProject)">false</PackSymbols>
|
||||
|
||||
<!-- Check whether the project has a .targets file to bundle -->
|
||||
<IsTargetsFileAvailableForPacking>false</IsTargetsFileAvailableForPacking>
|
||||
<IsTargetsFileAvailableForPacking Condition="$(IsPackagedProject) AND Exists('$(MSBuildProjectName).targets')">true</IsTargetsFileAvailableForPacking>
|
||||
|
||||
<!-- Same check for an optional LICENSE.txt file to bundle -->
|
||||
<IsLicenseFileAvailableForPacking>false</IsLicenseFileAvailableForPacking>
|
||||
<IsLicenseFileAvailableForPacking Condition="$(IsPackagedProject) AND Exists('LICENSE.txt')">true</IsLicenseFileAvailableForPacking>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Additional items for published projects -->
|
||||
<ItemGroup Condition="$(IsPackagedProject)" Label="Package">
|
||||
|
||||
<!-- Pack the NuGet icon file -->
|
||||
<None Include="$(MSBuildThisFileDirectory)..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Pack .targets files, if present -->
|
||||
<None Condition="$(IsTargetsFileAvailableForPacking)" Include="$(MSBuildProjectName).targets" PackagePath="buildTransitive" Pack="true" />
|
||||
<None Condition="$(IsTargetsFileAvailableForPacking)" Include="$(MSBuildProjectName).targets" PackagePath="build" Pack="true" />
|
||||
|
||||
<!-- Pack the license file, if present -->
|
||||
<None Condition="$(IsLicenseFileAvailableForPacking)" Include="LICENSE.txt" Pack="true" PackagePath="\" Visible="False" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
|
||||
@@ -2,6 +2,28 @@
|
||||
<Project>
|
||||
<Import Project="..\build\Directory.Build.targets" />
|
||||
|
||||
<!-- Check whether there is a source generator that should be packed with the project -->
|
||||
<PropertyGroup Condition="$(IsPackagedProject)">
|
||||
<IsSourceGeneratorAvailableForPacking>false</IsSourceGeneratorAvailableForPacking>
|
||||
<IsSourceGeneratorAvailableForPacking Condition="Exists('..\$(MSBuildProjectName).SourceGenerators')">true</IsSourceGeneratorAvailableForPacking>
|
||||
<SourceGeneratorReferenceTargetFramework Condition="$(IsSourceGeneratorAvailableForPacking)">$(TargetFrameworks.Split(';')[0].Trim())</SourceGeneratorReferenceTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Pack the source generator, if present -->
|
||||
<ItemGroup Condition="'$(IsSourceGeneratorAvailableForPacking)' == 'true'" Label="Package">
|
||||
|
||||
<!-- Source generator reference (to trigger building the generator) -->
|
||||
<ProjectReference Condition="'$(TargetFramework)' == '$(SourceGeneratorReferenceTargetFramework)'"
|
||||
Include="..\$(MSBuildProjectName).SourceGenerators\$(MSBuildProjectName).SourceGenerators.csproj"
|
||||
ReferenceOutputAssembly="false" />
|
||||
|
||||
<!-- Pack the source generator from its output directory -->
|
||||
<None Include="..\$(MSBuildProjectName).SourceGenerators\bin\$(Configuration)\$(SourceGeneratorReferenceTargetFramework)\$(MSBuildProjectName).SourceGenerators.dll"
|
||||
PackagePath="analyzers\dotnet\cs"
|
||||
Pack="true"
|
||||
Visible="false" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Enable trimming support on .NET 6 (we need to use StartsWith since it
|
||||
could be a Windows TFM too). This can't be in a target unlike the other
|
||||
|
||||
-2
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -17,5 +16,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -101,5 +100,4 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\..\samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems" Label="Shared" />
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -21,5 +20,4 @@
|
||||
<PackageReference Include="ComputeSharp" Version="$(PackageVersion)" />
|
||||
<PackageReference Include="ComputeSharp.Dynamic" Version="$(PackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -20,5 +19,4 @@
|
||||
<PackageReference Include="ComputeSharp.Core" Version="$(PackageVersion)" />
|
||||
<PackageReference Include="ComputeSharp" Version="$(PackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -21,5 +20,4 @@
|
||||
<PackageReference Include="ComputeSharp" Version="$(PackageVersion)" />
|
||||
<PackageReference Include="ComputeSharp.Pix" Version="$(PackageVersion)" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -31,6 +30,5 @@
|
||||
<Compile Include="..\ComputeSharp.Tests\Attributes\DeviceAttribute.cs" Link="Attributes\DeviceAttribute.cs" />
|
||||
<Compile Include="..\ComputeSharp.Tests\Attributes\ResourceAttribute.cs" Link="Attributes\ResourceAttribute.cs" />
|
||||
<Compile Include="..\ComputeSharp.Tests\Extensions\GraphicsDeviceExtensions.cs" Link="Extensions\GraphicsDeviceExtensions.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+1
-3
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -30,6 +29,5 @@
|
||||
<Compile Include="..\ComputeSharp.Tests\Attributes\ResourceAttribute.cs" Link="Attributes\ResourceAttribute.cs" />
|
||||
<Compile Include="..\ComputeSharp.Tests\Extensions\DeviceExtensions.cs" Link="Extensions\DeviceExtensions.cs" />
|
||||
<Compile Include="..\ComputeSharp.Tests\Extensions\GraphicsDeviceExtensions.cs" Link="Extensions\GraphicsDeviceExtensions.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
@@ -18,5 +17,4 @@
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -32,5 +31,4 @@
|
||||
<Compile Include="..\ComputeSharp.Tests\Extensions\DeviceExtensions.cs" Link="Extensions\DeviceExtensions.cs" />
|
||||
<Compile Include="..\ComputeSharp.Tests\Extensions\GraphicsDeviceExtensions.cs" Link="Extensions\GraphicsDeviceExtensions.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
-2
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -15,5 +14,4 @@
|
||||
<Compile Remove="Project\*" />
|
||||
<None Include="Project\*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -15,6 +14,5 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" />
|
||||
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,5 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
|
||||
<IsPackable>false</IsPackable>
|
||||
@@ -104,5 +103,4 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
新しいイシューから参照
ユーザーをブロックする