Skip to content

Commit 88e00f0

Browse files
committed
Fix build
1 parent 86ce6d9 commit 88e00f0

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ dotnet_separate_import_directive_groups = true
99
dotnet_sort_system_directives_first = true
1010
indent_size = 4
1111

12-
[{*.csproj,*.json,*.yml}]
12+
[{*.csproj,*.json,*.yml,*.props}]
1313
indent_size = 2

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
CYPRESS_RECORD_KEY:
88
secure: zrEJrmRw4T8jXDP0u73B73A8QEfq6bRi1Z9F4d7bEumJK9sZVyW/KUG2qN1WWYeL
99
install:
10-
- dotnet tool install -g Cake.Tool --version 2.2.0
10+
- dotnet tool install -g Cake.Tool --version 2.3.0
1111
- npm install --location=global gulp-cli
1212
build_script:
1313
- dotnet cake --Target=Test

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var parserProjectName = "Curl.CommandLine.Parser";
2727
var parserProjectFile = $"./src/{parserProjectName}/{parserProjectName}.csproj";
2828
var httpConverterProjectName = "Curl.HttpClient.Converter";
2929
var httpConverterProjectFile = $"./src/{httpConverterProjectName}/{httpConverterProjectName}.csproj";
30-
var extensionsVersion = XmlPeek(parserProjectFile, "Project/PropertyGroup[1]/VersionPrefix/text()");
30+
var nugetVersion = XmlPeek("./src/Directory.Build.props", "Project/PropertyGroup[1]/VersionPrefix/text()");
3131

3232
Task("Build")
3333
.Does(() =>

src/CurlToCSharp/CurlToCSharp.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
</PropertyGroup>
77

8-
<ItemGroup>
9-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1" />
10-
</ItemGroup>
11-
128
<ItemGroup>
139
<ProjectReference Include="..\Curl.HttpClient.Converter\Curl.HttpClient.Converter.csproj" />
1410
</ItemGroup>

src/Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="4.0" DefaultTargets="Build">
3+
<PropertyGroup>
4+
<VersionPrefix>1.0.0</VersionPrefix>
5+
</PropertyGroup>
36

47
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
58
<Using Include="Xunit" />

0 commit comments

Comments
 (0)