Skip to content

Commit 5d82054

Browse files
committed
Fix up test project file
1 parent e1e8c3d commit 5d82054

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/BlazorWasmSdk/Tasks/Microsoft.NET.Sdk.BlazorWebAssembly.Tasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</PropertyGroup>
3636

3737
<PropertyGroup>
38-
<TargetFrameworks>$(SdkTargetFramework);net472</TargetFrameworks>
38+
<TargetFrameworks>$(SdkTargetFramework);net46</TargetFrameworks>
3939
</PropertyGroup>
4040

4141
<ItemGroup>
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
3+
<Project>
24

35
<PropertyGroup>
46
<EnableDefaultItems>false</EnableDefaultItems>
57
<OutDirName>Tests\$(MSBuildProjectName)</OutDirName>
68
</PropertyGroup>
79

10+
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
11+
812
<PropertyGroup>
13+
<OutputType>Exe</OutputType>
914
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
1015
</PropertyGroup>
1116

1217
<PropertyGroup>
13-
<OutputType>Exe</OutputType>
14-
<!-- Strip the '-parallel none' flag here -->
15-
<XUnitRunnerAdditionalArguments></XUnitRunnerAdditionalArguments>
1618
<PackageId>testSdkBlazorWasm</PackageId>
1719
</PropertyGroup>
18-
19-
<ItemGroup>
20-
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
21-
</ItemGroup>
2220

2321
<ItemGroup>
2422
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
@@ -32,4 +30,10 @@
3230
<ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
3331
</ItemGroup>
3432

33+
<ItemGroup>
34+
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
35+
</ItemGroup>
36+
37+
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
38+
3539
</Project>

0 commit comments

Comments
 (0)