Skip to content

Commit 820e1aa

Browse files
committed
Converted to VS 2015. Installed NUnit as a NuGet package.Code now successfully compiles.
1 parent 7c68e5b commit 820e1aa

File tree

5 files changed

+48
-8
lines changed

5 files changed

+48
-8
lines changed

Source/GenCode128.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
Microsoft Visual Studio Solution File, Format Version 9.00
2-
# Visual Studio 2005
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio 14
3+
VisualStudioVersion = 14.0.24627.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
35
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenCode128", "GenCode128\GenCode128.csproj", "{32817BF9-E380-4467-9C7F-936F4B122BC7}"
46
EndProject
57
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenCode128Tests", "GenCode128Tests\GenCode128Tests.csproj", "{8DA9BF9D-6901-44C9-8A52-689415350740}"

Source/GenCode128/GenCode128.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
23
<PropertyGroup>
34
<ProjectType>Local</ProjectType>
45
<ProductVersion>8.0.50727</ProductVersion>
@@ -33,6 +34,8 @@
3334
</FileUpgradeFlags>
3435
<UpgradeBackupLocation>
3536
</UpgradeBackupLocation>
37+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
38+
<OldToolsVersion>2.0</OldToolsVersion>
3639
</PropertyGroup>
3740
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3841
<OutputPath>bin\Debug\</OutputPath>

Source/GenCode128Tests/GenCode128Tests.csproj

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
23
<PropertyGroup>
34
<ProjectType>Local</ProjectType>
45
<ProductVersion>8.0.50727</ProductVersion>
@@ -34,6 +35,23 @@
3435
</FileUpgradeFlags>
3536
<UpgradeBackupLocation>
3637
</UpgradeBackupLocation>
38+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
39+
<OldToolsVersion>2.0</OldToolsVersion>
40+
<PublishUrl>publish\</PublishUrl>
41+
<Install>true</Install>
42+
<InstallFrom>Disk</InstallFrom>
43+
<UpdateEnabled>false</UpdateEnabled>
44+
<UpdateMode>Foreground</UpdateMode>
45+
<UpdateInterval>7</UpdateInterval>
46+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
47+
<UpdatePeriodically>false</UpdatePeriodically>
48+
<UpdateRequired>false</UpdateRequired>
49+
<MapFileExtensions>true</MapFileExtensions>
50+
<ApplicationRevision>0</ApplicationRevision>
51+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
52+
<IsWebBootstrapper>false</IsWebBootstrapper>
53+
<UseApplicationTrust>false</UseApplicationTrust>
54+
<BootstrapperEnabled>true</BootstrapperEnabled>
3755
</PropertyGroup>
3856
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3957
<OutputPath>bin\Debug\</OutputPath>
@@ -82,9 +100,9 @@
82100
<ErrorReport>prompt</ErrorReport>
83101
</PropertyGroup>
84102
<ItemGroup>
85-
<Reference Include="nunit.framework">
86-
<Name>nunit.framework</Name>
87-
<HintPath>..\..\..\..\Program Files\TestDriven.NET 2.0\NUnit\nunit.framework.dll</HintPath>
103+
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
104+
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
105+
<Private>True</Private>
88106
</Reference>
89107
<Reference Include="System">
90108
<Name>System</Name>
@@ -109,6 +127,16 @@
109127
<SubType>Code</SubType>
110128
</Compile>
111129
</ItemGroup>
130+
<ItemGroup>
131+
<None Include="packages.config" />
132+
</ItemGroup>
133+
<ItemGroup>
134+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
135+
<Visible>False</Visible>
136+
<ProductName>.NET Framework 3.5 SP1</ProductName>
137+
<Install>true</Install>
138+
</BootstrapperPackage>
139+
</ItemGroup>
112140
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
113141
<PropertyGroup>
114142
<PreBuildEvent>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="NUnit" version="2.6.4" targetFramework="net2" />
4+
</packages>

Source/Sample/Sample.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
23
<PropertyGroup>
34
<ProjectType>Local</ProjectType>
45
<ProductVersion>8.0.50727</ProductVersion>
@@ -32,6 +33,8 @@
3233
</FileUpgradeFlags>
3334
<UpgradeBackupLocation>
3435
</UpgradeBackupLocation>
36+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
37+
<OldToolsVersion>2.0</OldToolsVersion>
3538
</PropertyGroup>
3639
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3740
<OutputPath>bin\Debug\</OutputPath>

0 commit comments

Comments
 (0)