Skip to content

Commit 4fcf2d8

Browse files
author
Justin
committed
Upgraded xproj to csproj.
Rolled version.
1 parent f74710b commit 4fcf2d8

File tree

7 files changed

+68
-4487
lines changed

7 files changed

+68
-4487
lines changed

default.ps1

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ task clean {
1515
}
1616

1717
task init {
18-
exec { .\build\dotnet\install.ps1 --Version "1.0.0-preview3-003171" | Out-Default }
18+
exec { .\build\dotnet\install.ps1 --Version "1.0.3" | Out-Default }
1919
exec { dotnet --version | Out-Default }
2020
}
2121

@@ -24,12 +24,18 @@ task release {
2424
}
2525

2626
task compile -depends clean {
27-
$projectPath = "$sourceDir\SourceSchemaParser\project.json"
27+
$projectPath = "$sourceDir\SourceSchemaParser\SourceSchemaParser.csproj"
2828

2929
$version = if ($env:APPVEYOR_BUILD_NUMBER -ne $NULL) { $env:APPVEYOR_BUILD_NUMBER } else { '0' }
3030
$version = "{0:D5}" -f [convert]::ToInt32($version, 10)
3131

3232
exec { dotnet restore $projectPath }
3333
exec { dotnet build $projectPath -c $config }
34-
exec { dotnet pack $projectPath -c $config -o $artifactsDir --version-suffix $version }
34+
35+
if ($env:APPVEYOR_REPO_TAG -eq $true) {
36+
exec { dotnet pack $projectPath -c $config -o $artifactsDir }
37+
}
38+
else {
39+
exec { dotnet pack $projectPath -c $config -o $artifactsDir --version-suffix $version }
40+
}
3541
}

src/Backup/SourceSchemaParser.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceSchemaParser.Net45", "SourceSchemaParser.Net45\SourceSchemaParser.Net45.csproj", "{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}"
7+
EndProject
8+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SourceSchemaParser", "SourceSchemaParser\SourceSchemaParser.xproj", "{88846063-566D-4920-A338-9CF28DD291A8}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{88846063-566D-4920-A338-9CF28DD291A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{88846063-566D-4920-A338-9CF28DD291A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{88846063-566D-4920-A338-9CF28DD291A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{88846063-566D-4920-A338-9CF28DD291A8}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal
File renamed without changes.
File renamed without changes.

src/SourceSchemaParser.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26403.7
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceSchemaParser.Net45", "SourceSchemaParser.Net45\SourceSchemaParser.Net45.csproj", "{F46F6EB7-2BF1-48FD-AEAE-3145FA294A96}"
77
EndProject
8-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "SourceSchemaParser", "SourceSchemaParser\SourceSchemaParser.xproj", "{88846063-566D-4920-A338-9CF28DD291A8}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SourceSchemaParser", "SourceSchemaParser\SourceSchemaParser.csproj", "{88846063-566D-4920-A338-9CF28DD291A8}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<Description>Parses Valve Source Engine game schema files into easy to use object oriented structures.</Description>
5+
<VersionPrefix>2.0.1</VersionPrefix>
6+
<Authors>Justin Skiles</Authors>
7+
<TargetFrameworks>netstandard1.3;net45</TargetFrameworks>
8+
<AssemblyName>SourceSchemaParser</AssemblyName>
9+
<PackageId>SourceSchemaParser</PackageId>
10+
<PackageProjectUrl>https://github.com/babelshift/SourceSchemaParser</PackageProjectUrl>
11+
<PackageLicenseUrl>https://raw.githubusercontent.com/babelshift/SourceSchemaParser/master/LICENSE</PackageLicenseUrl>
12+
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
13+
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
14+
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="AutoMapper" Version="5.2.0" />
19+
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
20+
<PackageReference Include="Steam.Models" Version="3.0.1-ci-00027" />
21+
</ItemGroup>
22+
23+
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
24+
<Reference Include="System" />
25+
<Reference Include="Microsoft.CSharp" />
26+
</ItemGroup>
27+
28+
</Project>

0 commit comments

Comments
 (0)