1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project DefaultTargets =" Build" ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <PropertyGroup >
4- <AssemblyName >MFUnit</AssemblyName >
5- <OutputType >Library</OutputType >
6- <RootNamespace >MFUnit</RootNamespace >
7- <ProjectTypeGuids >{b69e3092-b931-443c-abe7-7e7b65f2a37f};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
8- <ProductVersion >9.0.21022</ProductVersion >
9- <SchemaVersion >2.0</SchemaVersion >
10- <ProjectGuid >{EC81132A-FCC6-4294-B60E-B62E4A908C43}</ProjectGuid >
11- <TargetFrameworkVersion Condition =" $(TargetFrameworkVersion) == ''" >v4.1</TargetFrameworkVersion >
12- <NetMfTargetsBaseDir Condition =" '$(NetMfTargetsBaseDir)'==''" >$(MSBuildExtensionsPath32)\Microsoft\.NET Micro Framework\</NetMfTargetsBaseDir >
13- <!-- Take the target framework version and sanitize it for use with NuGet -->
14- <NugetVersion >netmf$(TargetFrameworkVersion.Replace('.', '').Replace('v', ''))</NugetVersion >
15- <!-- Override the standard obj directory so we don't get cache clashes -->
16- <IntermediateOutputPath >obj\$(NugetVersion)\</IntermediateOutputPath >
17- </PropertyGroup >
18- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
19- <DebugSymbols >true</DebugSymbols >
20- <DebugType >full</DebugType >
21- <Optimize >false</Optimize >
22- <OutputPath >bin\$(Configuration)\$(NugetVersion)\</OutputPath >
23- <OutDir >$(OutputPath)</OutDir >
24- <DefineConstants >DEBUG;TRACE</DefineConstants >
25- <ErrorReport >prompt</ErrorReport >
26- <WarningLevel >4</WarningLevel >
27- </PropertyGroup >
28- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
29- <DebugType >pdbonly</DebugType >
30- <Optimize >true</Optimize >
31- <OutputPath >bin\$(Configuration)\$(NugetVersion)\</OutputPath >
32- <OutDir >$(OutputPath)</OutDir >
33- <DefineConstants >TRACE</DefineConstants >
34- <ErrorReport >prompt</ErrorReport >
35- <WarningLevel >4</WarningLevel >
36- </PropertyGroup >
37- <Import Project =" $(NetMfTargetsBaseDir)$(TargetFrameworkVersion)\CSharp.Targets" />
38- <ItemGroup >
39- <Compile Include =" Assert.cs" />
40- <Compile Include =" AssertException.cs" />
41- <Compile Include =" TestResult.cs" />
42- <Compile Include =" Interface\TestRunController.cs" />
43- <Compile Include =" Interface\TestRunView.cs" />
44- <Compile Include =" Properties\AssemblyInfo.cs" />
45- <Compile Include =" Resources.Designer.cs" >
46- <AutoGen >True</AutoGen >
47- <DesignTime >True</DesignTime >
48- <DependentUpon >Resources.resx</DependentUpon >
49- </Compile >
50- <Compile Include =" TestApplication.cs" />
51- <Compile Include =" TestRun.cs" />
52- </ItemGroup >
53- <ItemGroup >
54- <Reference Include =" Microsoft.SPOT.Graphics" />
55- <Reference Include =" Microsoft.SPOT.Hardware" />
56- <Reference Include =" Microsoft.SPOT.Native" />
57- <Reference Include =" Microsoft.SPOT.TinyCore" />
58- </ItemGroup >
59- <ItemGroup >
60- <EmbeddedResource Include =" Resources.resx" >
61- <Generator >ResXFileCodeGenerator</Generator >
62- <LastGenOutput >Resources.Designer.cs</LastGenOutput >
63- </EmbeddedResource >
64- </ItemGroup >
65- <ItemGroup >
66- <None Include =" Resources\nina14.tinyfnt" />
67- </ItemGroup >
68- <Target Name =" AfterBuild" >
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project DefaultTargets =" Build" ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <PropertyGroup >
4+ <AssemblyName >MFUnit</AssemblyName >
5+ <OutputType >Library</OutputType >
6+ <RootNamespace >MFUnit</RootNamespace >
7+ <ProjectTypeGuids >{b69e3092-b931-443c-abe7-7e7b65f2a37f};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
8+ <ProductVersion >9.0.21022</ProductVersion >
9+ <SchemaVersion >2.0</SchemaVersion >
10+ <ProjectGuid >{EC81132A-FCC6-4294-B60E-B62E4A908C43}</ProjectGuid >
11+ <TargetFrameworkVersion Condition =" $(TargetFrameworkVersion) == ''" >v4.3</TargetFrameworkVersion >
12+ <NetMfTargetsBaseDir Condition =" '$(NetMfTargetsBaseDir)'==''" >$(MSBuildExtensionsPath32)\Microsoft\.NET Micro Framework\</NetMfTargetsBaseDir >
13+ <!-- Take the target framework version and sanitize it for use with NuGet -->
14+ <NugetVersion >netmf$(TargetFrameworkVersion.Replace('.', '').Replace('v', ''))</NugetVersion >
15+ <!-- Override the standard obj directory so we don't get cache clashes -->
16+ <IntermediateOutputPath >obj\$(NugetVersion)\</IntermediateOutputPath >
17+ <TargetFrameworkProfile />
18+ </PropertyGroup >
19+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
20+ <DebugSymbols >true</DebugSymbols >
21+ <DebugType >full</DebugType >
22+ <Optimize >false</Optimize >
23+ <OutputPath >bin\$(Configuration)\$(NugetVersion)\</OutputPath >
24+ <OutDir >$(OutputPath)</OutDir >
25+ <DefineConstants >DEBUG;TRACE</DefineConstants >
26+ <ErrorReport >prompt</ErrorReport >
27+ <WarningLevel >4</WarningLevel >
28+ </PropertyGroup >
29+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
30+ <DebugType >pdbonly</DebugType >
31+ <Optimize >true</Optimize >
32+ <OutputPath >bin\$(Configuration)\$(NugetVersion)\</OutputPath >
33+ <OutDir >$(OutputPath)</OutDir >
34+ <DefineConstants >TRACE</DefineConstants >
35+ <ErrorReport >prompt</ErrorReport >
36+ <WarningLevel >4</WarningLevel >
37+ </PropertyGroup >
38+ <Import Project =" $(NetMfTargetsBaseDir)$(TargetFrameworkVersion)\CSharp.Targets" />
39+ <ItemGroup >
40+ <Compile Include =" Assert.cs" />
41+ <Compile Include =" AssertException.cs" />
42+ <Compile Include =" TestResult.cs" />
43+ <Compile Include =" Interface\TestRunController.cs" />
44+ <Compile Include =" Interface\TestRunView.cs" />
45+ <Compile Include =" Properties\AssemblyInfo.cs" />
46+ <Compile Include =" Resources.Designer.cs" >
47+ <AutoGen >True</AutoGen >
48+ <DesignTime >True</DesignTime >
49+ <DependentUpon >Resources.resx</DependentUpon >
50+ </Compile >
51+ <Compile Include =" TestApplication.cs" />
52+ <Compile Include =" TestRun.cs" />
53+ </ItemGroup >
54+ <ItemGroup >
55+ <Reference Include =" Microsoft.SPOT.Graphics" />
56+ <Reference Include =" Microsoft.SPOT.Hardware" />
57+ <Reference Include =" Microsoft.SPOT.Native" />
58+ <Reference Include =" Microsoft.SPOT.TinyCore" />
59+ </ItemGroup >
60+ <ItemGroup >
61+ <EmbeddedResource Include =" Resources.resx" >
62+ <Generator >ResXFileCodeGenerator</Generator >
63+ <LastGenOutput >Resources.Designer.cs</LastGenOutput >
64+ </EmbeddedResource >
65+ </ItemGroup >
66+ <ItemGroup >
67+ <None Include =" Resources\nina14.tinyfnt" />
68+ </ItemGroup >
69+ <Target Name =" AfterBuild" >
6970 <!--
7071 For reasons unknown invoking this target generates an MMP: error MMP0000: CLR_E_FAIL error on compile.
7172 I believe this might be because the MetaDataProcessor loads a v4.1 assembly into our AppDomain which causes us grief.
7273 To get around this we will just shell out to MSBuild again.
73- -->
74+ -->
7475 <!-- <MSBuild Condition="'$(TargetFrameworkVersion)' != 'v4.2'"
7576 Projects="$(MSBuildProjectFile)"
76- Properties="TargetFrameworkVersion=v4.2;Configuration=$(Configuration);Platform=$(Platform)" />-->
77- <Exec Condition =" '$(TargetFrameworkVersion)' != 'v4.2 '" Command =" $(MSBuildBinPath)\msbuild.exe $(MSBuildProjectFile) /p:TargetFrameworkVersion=v4.2 ;Configuration=$(Configuration);Platform=$(Platform)" />
78- </Target >
77+ Properties="TargetFrameworkVersion=v4.2;Configuration=$(Configuration);Platform=$(Platform)" />-->
78+ <Exec Condition =" '$(TargetFrameworkVersion)' != 'v4.3 '" Command =" $(MSBuildBinPath)\msbuild.exe $(MSBuildProjectFile) /p:TargetFrameworkVersion=v4.3 ;Configuration=$(Configuration);Platform=$(Platform)" />
79+ </Target >
7980</Project >
0 commit comments