-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
1,048 additions
and
1,192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
param( | ||
[Parameter(Mandatory = $true, Position = 0)] | ||
[string]$targetFramework | ||
) | ||
|
||
dotnet clean -c Release | ||
|
||
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" | ||
|
||
# Building for a specific framework. | ||
dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl | ||
dotnet build -c Release /p:RepositoryUrl=$repositoryUrl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
|
||
<!-- | ||
Directory.Build.props is automatically picked up and imported by | ||
Microsoft.Common.props. This file needs to exist, even if empty so that | ||
files in the parent directory tree, with the same name, are not imported | ||
instead. They import fairly early and only Sdk.props will have been | ||
imported beforehand. We also don't need to add ourselves to | ||
MSBuildAllProjects, as that is done by the file that imports us. | ||
--> | ||
|
||
<!--Set product category--> | ||
<PropertyGroup> | ||
<SixLaborsProjectCategory>samples</SixLaborsProjectCategory> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<!-- Import the solution .props file. --> | ||
<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" /> | ||
|
||
<PropertyGroup> | ||
<CodeAnalysisRuleSet>..\Drawing.Samples.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
|
||
<!-- | ||
Directory.Build.targets is automatically picked up and imported by | ||
Microsoft.Common.targets. This file needs to exist, even if empty so that | ||
files in the parent directory tree, with the same name, are not imported | ||
instead. They import fairly late and most other props/targets will have | ||
been imported beforehand. We also don't need to add ourselves to | ||
MSBuildAllProjects, as that is done by the file that imports us. | ||
--> | ||
|
||
<!-- Import the solution .targets file. --> | ||
<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.targets" /> | ||
|
||
</Project> |
13 changes: 3 additions & 10 deletions
13
samples/DrawShapesWithImageSharp/DrawShapesWithImageSharp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.1</TargetFramework> | ||
<TargetFramework>netcoreapp3.1</TargetFramework> | ||
<DebugType>portable</DebugType> | ||
<OutputType>Exe</OutputType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\SixLabors.Shapes.Text\SixLabors.Shapes.Text.csproj" /> | ||
<ProjectReference Include="..\..\src\SixLabors.Shapes\SixLabors.Shapes.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-dev002919" /> | ||
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" /> | ||
<PackageReference Include="System.Runtime.Numerics" Version="4.3.0" /> | ||
<ProjectReference Include="..\..\src\ImageSharp.Drawing\ImageSharp.Drawing.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.