Skip to content

Commit ca45fcc

Browse files
committed
update to KSPBT 0.0.4
1 parent 110b209 commit ca45fcc

File tree

14 files changed

+31
-836
lines changed

14 files changed

+31
-836
lines changed

kOS.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<BinariesOutputRelativePath>Resources\GameData\kOS\Plugins</BinariesOutputRelativePath>
5+
<Company></Company>
6+
<Version>1.5.1.0</Version>
57
</PropertyGroup>
68
</Project>

kOS.sln

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.10.35027.167
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "kOS", "src\kOS\kOS.csproj", "{465EC87D-723D-4A6C-B116-9777AC641DE3}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "kOS", "src\kOS\kOS.csproj", "{465EC87D-723D-4A6C-B116-9777AC641DE3}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "kOS.Safe", "src\kOS.Safe\kOS.Safe.csproj", "{590FFDA8-7B44-4BC3-A12A-5FFE2BB7D8FD}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "kOS.Safe", "src\kOS.Safe\kOS.Safe.csproj", "{590FFDA8-7B44-4BC3-A12A-5FFE2BB7D8FD}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "kOS.Safe.Test", "src\kOS.Safe.Test\kOS.Safe.Test.csproj", "{C9A42A44-DDC8-4D6C-8A16-D7F30F494B46}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "kOS.Safe.Test", "src\kOS.Safe.Test\kOS.Safe.Test.csproj", "{C9A42A44-DDC8-4D6C-8A16-D7F30F494B46}"
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E44F4203-5064-4B07-845E-D6372CD8E17B}"
1313
ProjectSection(SolutionItems) = preProject
1414
CHANGELOG.md = CHANGELOG.md
1515
CONTRIBUTING.md = CONTRIBUTING.md
16-
kOS.netkan = kOS.netkan
1716
Resources\GameData\kOS\kOS.version.versiontemplate = Resources\GameData\kOS\kOS.version.versiontemplate
1817
LICENSE.md = LICENSE.md
1918
README.md = README.md

src/kOS.Safe.Test/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("kOS.Safe.Test")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("kOS.Safe.Test")]
138
[assembly: AssemblyCopyright("Copyright 2019")]
149
[assembly: AssemblyTrademark("")]
1510
[assembly: AssemblyCulture("")]
@@ -21,16 +16,3 @@
2116

2217
// The following GUID is for the ID of the typelib if this project is exposed to COM
2318
[assembly: Guid("651e637f-78f4-4f85-a22b-33fe26e5aeca")]
24-
25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyFileVersion("1.4.0.0")]
36-
[assembly: AssemblyVersion("1.4.0.0")]

src/kOS.Safe.Test/Properties/AssemblyInfo.cs.versiontemplate

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 9 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,21 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.props" Condition="Exists('..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.props')" />
4-
<Import Project="..\..\packages\JsonPoke.1.2.0\build\JsonPoke.props" Condition="Exists('..\..\packages\JsonPoke.1.2.0\build\JsonPoke.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
52
<PropertyGroup>
6-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8-
<ProjectGuid>{C9A42A44-DDC8-4D6C-8A16-D7F30F494B46}</ProjectGuid>
3+
<TargetFramework>net48</TargetFramework>
94
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>kOS.Safe.Test</RootNamespace>
12-
<AssemblyName>kOS.Safe.Test</AssemblyName>
13-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<TargetFrameworkProfile />
16-
<NuGetPackageImportStamp>
17-
</NuGetPackageImportStamp>
185
</PropertyGroup>
19-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20-
<DebugSymbols>true</DebugSymbols>
21-
<DebugType>full</DebugType>
22-
<Optimize>false</Optimize>
23-
<OutputPath>bin\Debug\</OutputPath>
24-
<DefineConstants>DEBUG;TRACE</DefineConstants>
25-
<ErrorReport>prompt</ErrorReport>
26-
<WarningLevel>4</WarningLevel>
27-
<Prefer32Bit>false</Prefer32Bit>
28-
</PropertyGroup>
29-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30-
<DebugType>pdbonly</DebugType>
31-
<Optimize>true</Optimize>
32-
<OutputPath>bin\Release\</OutputPath>
33-
<DefineConstants>TRACE</DefineConstants>
34-
<ErrorReport>prompt</ErrorReport>
35-
<WarningLevel>4</WarningLevel>
36-
<Prefer32Bit>false</Prefer32Bit>
6+
<PropertyGroup>
7+
<ReferenceUnityAssemblies>false</ReferenceUnityAssemblies>
8+
<ReferenceKSPAssemblies>false</ReferenceKSPAssemblies>
379
</PropertyGroup>
38-
<ItemGroup>
39-
<Reference Include="NSubstitute, Version=1.8.1.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca">
40-
<HintPath>$(SolutionDir)packages\NSubstitute.1.8.1.0\lib\net35\NSubstitute.dll</HintPath>
41-
<Private>false</Private>
42-
</Reference>
43-
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
44-
<HintPath>$(SolutionDir)packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
45-
<Private>false</Private>
46-
</Reference>
47-
<!-- while we want to use KSPBuildTools to reference the same System dlls that KSP uses, we don't want any of the KSP or Unity libraries-->
48-
<Reference Remove="$(ManagedPath)\Assembly-CSharp.dll"/>
49-
<Reference Remove="$(ManagedPath)\Assembly-CSharp-firstpass.dll"/>
50-
<Reference Remove="$(ManagedPath)\UnityEngine*.dll"/>
51-
</ItemGroup>
52-
<ItemGroup>
53-
<Compile Include="Calculator\CalculatorScalarTest.cs" />
54-
<Compile Include="Calculator\CalculatorStructureTest.cs" />
55-
<Compile Include="Collections\MixedCollectionPrintingTest.cs" />
56-
<Compile Include="Structures\BooleanValueTest.cs" />
57-
<Compile Include="Structures\ScalarValueTest.cs" />
58-
<Compile Include="Structures\StringValueTest.cs" />
59-
<Compile Include="Structure\ClampSetSuffixTest.cs" />
60-
<Compile Include="Collections\LexiconTest.cs" />
61-
<Compile Include="Collections\ListValueTest.cs" />
62-
<Compile Include="Structure\NoArgsSuffixTest.cs" />
63-
<Compile Include="Opcode\FakeCpu.cs" />
64-
<Compile Include="Opcode\OpcodeGetIndexText.cs" />
65-
<Compile Include="Opcode\OpcodeSetIndexTest.cs" />
66-
<Compile Include="Structure\SetSuffixTest.cs" />
67-
<Compile Include="Structure\StructureSuffixIntegrationTest.cs" />
68-
<Compile Include="Structure\StructureTest.cs" />
69-
<Compile Include="Properties\AssemblyInfo.cs" />
70-
<Compile Include="TestLogger.cs" />
71-
<Compile Include="Structure\TwoArgsVoidSuffixTest.cs" />
72-
<Compile Include="Collections\QueueValueTest.cs" />
73-
<Compile Include="Collections\StackValueTest.cs" />
74-
<Compile Include="Serialization\JSONFormatterTest.cs" />
75-
<Compile Include="Serialization\TerminalFormatterTest.cs" />
76-
<Compile Include="Collections\CollectionValueTest.cs" />
77-
<Compile Include="Collections\RangeValueTest.cs" />
78-
<Compile Include="Serialization\FormatterTest.cs" />
79-
<Compile Include="Communication\MessageQueueTest.cs" />
80-
<Compile Include="Communication\FakeCurrentTimeProvider.cs" />
81-
<Compile Include="Collections\UniqueSetValueTest.cs" />
82-
<Compile Include="Persistence\VolumePathTest.cs" />
83-
<Compile Include="Persistence\GlobalPathTest.cs" />
84-
<Compile Include="Persistence\ArchiveTest.cs" />
85-
<Compile Include="Persistence\HarddiskTest.cs" />
86-
<Compile Include="Persistence\VolumeTest.cs" />
87-
<Compile Include="Persistence\CopyAndMoveTest.cs" />
88-
<Compile Include="Persistence\HarddiskToArchiveCopyAndMoveTest.cs" />
89-
<Compile Include="Persistence\HarddiskToHarddiskCopyAndMoveTest.cs" />
90-
<Compile Include="Persistence\ArchiveAndHarddiskCopyAndMoveTest.cs" />
91-
<Compile Include="Persistence\ArchiveToHarddiskCopyAndMoveTest.cs" />
92-
<Compile Include="KS\ParserTest.cs" />
93-
<Compile Include="Execution\BaseIntegrationTest.cs" />
94-
<Compile Include="Execution\Noop.cs" />
95-
<Compile Include="Execution\Config.cs" />
96-
<Compile Include="Execution\Screen.cs" />
97-
<Compile Include="Execution\SimpleTest.cs" />
98-
</ItemGroup>
9910
<ItemGroup>
10011
<ProjectReference Include="..\kOS.Safe\kOS.Safe.csproj">
10112
<Project>{590FFDA8-7B44-4BC3-A12A-5FFE2BB7D8FD}</Project>
10213
<Name>kOS.Safe</Name>
14+
<Private>False</Private>
10315
</ProjectReference>
10416
</ItemGroup>
10517
<ItemGroup>
106-
<None Include="packages.config" />
107-
<None Include="Properties\AssemblyInfo.cs.versiontemplate" />
108-
</ItemGroup>
109-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110-
<ItemGroup>
111-
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
18+
<PackageReference Include="NSubstitute" Version="1.8.1.0" />
19+
<PackageReference Include="NUnit" Version="2.7.1" />
11220
</ItemGroup>
113-
<ItemGroup />
114-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
115-
<PropertyGroup>
116-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
117-
</PropertyGroup>
118-
<Error Condition="!Exists('..\..\packages\JsonPoke.1.2.0\build\JsonPoke.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\JsonPoke.1.2.0\build\JsonPoke.props'))" />
119-
<Error Condition="!Exists('..\..\packages\JsonPoke.1.2.0\build\JsonPoke.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\JsonPoke.1.2.0\build\JsonPoke.targets'))" />
120-
<Error Condition="!Exists('..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.props'))" />
121-
<Error Condition="!Exists('..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\KSPBuildTools.0.0.2-alpha.7\build\KSPBuildTools.targets'))" />
122-
</Target>
123-
<Import Project="..\..\packages\JsonPoke.1.2.0\build\JsonPoke.targets" Condition="Exists('..\..\packages\JsonPoke.1.2.0\build\JsonPoke.targets')" />
124-
</Project>
21+
</Project>

src/kOS.Safe.Test/packages.config

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/kOS.Safe/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
// General Information about an assembly is controlled through the following
55
// set of attributes. Change these attribute values to modify the information
66
// associated with an assembly.
7-
[assembly: AssemblyTitle("kOS.Safe")]
8-
[assembly: AssemblyDescription("")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("")]
11-
[assembly: AssemblyProduct("kOS.Safe")]
127
[assembly: AssemblyCopyright("Copyright © 2019")]
138
[assembly: AssemblyTrademark("")]
149
[assembly: AssemblyCulture("")]
@@ -21,15 +16,3 @@
2116
// The following GUID is for the ID of the typelib if this project is exposed to COM
2217
[assembly: Guid("c1a3b326-28f5-4b98-bf0f-8bd25363fbd7")]
2318

24-
// Version information for an assembly consists of the following four values:
25-
//
26-
// Major Version
27-
// Minor Version
28-
// Build Number
29-
// Revision
30-
//
31-
// You can specify all the values or you can default the Build and Revision Numbers
32-
// by using the '*' as shown below:
33-
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyFileVersion("1.4.0.0")]
35-
[assembly: AssemblyVersion("1.4.0.0")]

src/kOS.Safe/Properties/AssemblyInfo.cs.versiontemplate

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)