-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
MetadataProcessor.Tests.csproj
134 lines (134 loc) · 7.3 KB
/
MetadataProcessor.Tests.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="$(VisualStudioVersion)" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C57A07D9-3293-46ED-9EB7-E05B7965B016}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>nanoFramework.Tools.MetadataProcessor.Tests</RootNamespace>
<AssemblyName>nanoFramework.Tools.MetadataProcessor.Tests</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">16.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<!-- <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath> -->
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\MetadataProcessor.Core\key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Core\Endianness\nanoBinaryWriterTests.cs" />
<Compile Include="Core\Extensions\ByteArrayExtensionsTests.cs" />
<Compile Include="Core\Extensions\ParameterDefintionExtensionsTests.cs" />
<Compile Include="Core\Extensions\TypeDefinitionExtensionsTests.cs" />
<Compile Include="Core\Extensions\TypeReferenceExtensionsTests.cs" />
<Compile Include="Core\StubsGenerationTests.cs" />
<Compile Include="Core\Mono.Cecil\CodeWriterTests.cs" />
<Compile Include="Core\Tables\nanoAssemblyReferenceTableTests.cs" />
<Compile Include="Core\Tables\nanoAttributesTableTests.cs" />
<Compile Include="Core\Tables\nanoReferenceTableBaseTests.cs" />
<Compile Include="Core\ClrIntegrationTests.cs" />
<Compile Include="Core\Utility\DumperTests.cs" />
<Compile Include="Core\Utility\LoadHintsAssemblyResolverTests.cs" />
<Compile Include="Core\Utility\Crc32Tests.cs" />
<Compile Include="Core\Utility\nanoBitmapProcessorTests.cs" />
<Compile Include="Core\Utility\nanoDependencyGeneratorWriterTests.cs" />
<Compile Include="Core\Utility\nanoStringsConstantsTests.cs" />
<Compile Include="Core\Utility\NativeMethodsCrcTests.cs" />
<Compile Include="MsbuildTask\MsbuildTaskTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestObjectHelper.cs" />
<Compile Include="TestPreprocessedFiles.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\MetadataProcessor.Core\key.snk">
<Link>key.snk</Link>
</None>
<EmbeddedResource Include="bmp_expected_result.bin" />
<EmbeddedResource Include="gif_expected_result.bin" />
<EmbeddedResource Include="jpeg_expected_result.bin" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="bmp.bmp" />
<EmbeddedResource Include="gif.gif" />
<EmbeddedResource Include="jpeg.jpg" />
<Content Include="PdbxSorter.xslt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MetadataProcessor.Core\MetadataProcessor.Core.csproj">
<Project>{e32f7d15-2499-440c-8026-4d5ee1c5ec3a}</Project>
<Name>MetadataProcessor.Core</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mono.Cecil">
<Version>0.11.4</Version>
</PackageReference>
<PackageReference Include="MSTest.TestAdapter">
<Version>2.2.10</Version>
</PackageReference>
<PackageReference Include="MSTest.TestFramework">
<Version>2.2.10</Version>
</PackageReference>
<PackageReference Include="nanoFramework.nanoCLR.Win32" GeneratePathProperty="true">
<Version>1.8.0.85</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
nuget restore "$(ProjectDir)mscorlib\nanoFramework.CoreLibrary.sln"
"$(MSBuildBinPath)\msbuild" "$(ProjectDir)mscorlib\nanoFramework.CoreLibrary.sln" -t:Build -p:Configuration=$(Configuration) -p:NF_MDP_MSBUILDTASK_PATH="$(ProjectDir)..\MetadataProcessor.MsBuildTask\bin\$(Configuration)\net472" /m
"$(MSBuildBinPath)\msbuild" "$(ProjectDir)TestNFClassLibrary\TestNFClassLibrary\TestNFClassLibrary.nfproj" -t:Build -p:Configuration=$(Configuration) -p:NF_MDP_MSBUILDTASK_PATH="$(ProjectDir)..\MetadataProcessor.MsBuildTask\bin\$(Configuration)\net472"
"$(MSBuildBinPath)\msbuild" "$(ProjectDir)TestNFApp\TestNFApp.nfproj" -t:Build -p:Configuration=$(Configuration) -p:NF_MDP_MSBUILDTASK_PATH="$(ProjectDir)..\MetadataProcessor.MsBuildTask\bin\$(Configuration)\net472"
"$(MSBuildBinPath)\msbuild" "$(ProjectDir)StubsGenerationTestNFApp\StubsGenerationTestNFApp.nfproj" -t:Build -p:Configuration=$(Configuration) -p:NF_MDP_MSBUILDTASK_PATH="$(ProjectDir)..\MetadataProcessor.MsBuildTask\bin\$(Configuration)\net472"
mkdir "$(TargetDir)\TestNFApp"
mkdir "$(TargetDir)\StubsGenerationTestNFApp"
copy /y "$(ProjectDir)TestNFApp\$(OutDir)\*" "$(TargetDir)\TestNFApp"
copy /y "$(ProjectDir)StubsGenerationTestNFApp\$(OutDir)\*" "$(TargetDir)\StubsGenerationTestNFApp"
</PreBuildEvent>
</PropertyGroup>
<Target Name="SetNFClrLocation" AfterTargets="Build">
<Copy SourceFiles="$(PkgnanoFramework_nanoCLR_Win32)\tools\nanoFramework.nanoCLR.exe" DestinationFolder="$(TargetDir)\nanoCLR" SkipUnchangedFiles="false">
</Copy>
</Target>
</Project>