Minor code style tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-12 18:26:36 +01:00
1 親 4773a965bd
コミット cc321612c6
5ファイル変更
+19 -31

検索条件に一致するファイルはありません

-1
ファイルの表示
@@ -7,7 +7,6 @@
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.12.1.1473" />
</ItemGroup>
<ItemGroup>
+5 -12
ファイルの表示
@@ -6,13 +6,7 @@
</PropertyGroup>
<ItemGroup>
<None Remove="city.jpg" />
</ItemGroup>
<ItemGroup>
<Content Include="city.jpg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="city.jpg" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
@@ -21,11 +15,10 @@
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp\ComputeSharp.csproj" />
<ProjectReference
Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
</ItemGroup>
</Project>
+4 -5
ファイルの表示
@@ -7,11 +7,10 @@
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp\ComputeSharp.csproj" />
<ProjectReference
Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
</ItemGroup>
</Project>
+6 -8
ファイルの表示
@@ -7,14 +7,11 @@
</PropertyGroup>
<PropertyGroup>
<!--
This is needed so that the packaging for the source generator is correct
We want to have the package references of this project be private when packing the SG
(The nugetizer infrastructure recognizes that and packages the dependencies directly alongside the main binary)
And public dependencies when building for the main project
Right now this is conditioned on the target framework, so this property is primarily for readability
This may change in the future
-->
<!--This is needed so that the packaging for the source generator is correct. We want to have the package references
of this project be private when packing the source generator (the nugetizer infrastructure recognizes that and
packages the dependencies directly alongside the main binary), and public dependencies when building for the main
project. Right now this is conditioned on the target framework, so this property is primarily for readability.-->
<BuildingForSourceGenerator>false</BuildingForSourceGenerator>
<BuildingForSourceGenerator Condition="'$(TargetFramework)' == 'netstandard2.0'">true</BuildingForSourceGenerator>
@@ -24,6 +21,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Toolkit" Version="7.0.0-preview4" />
<!--Hide the package references when this assembly is being built for the source generator-->
<PackageReference Condition="'$(BuildingForSourceGenerator)' == 'true'" Update="@(PackageReference)" PrivateAssets="all" />
</ItemGroup>
+4 -5
ファイルの表示
@@ -14,11 +14,10 @@
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp\ComputeSharp.csproj" />
<ProjectReference
Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="contentfiles;build"/>
</ItemGroup>
</Project>