Skip to content

Commit 17990ad

Browse files
cleanup
1 parent 25f07f5 commit 17990ad

39 files changed

+34
-18443
lines changed

Java.NET.msTest/Java.NET.msTest.csproj renamed to Components/Java.NET.Test/Java.NET.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
11-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
12-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
11+
<PackageReference Include="xunit" Version="2.4.0" />
12+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
1313
<PackageReference Include="coverlet.collector" Version="1.0.1" />
1414
</ItemGroup>
1515

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using Xunit;
3+
4+
namespace Java.NET.Test
5+
{
6+
public class UnitTest1
7+
{
8+
[Fact]
9+
public void Test1()
10+
{
11+
var result = true;
12+
Assert.False(result, "1 should not be prime");
13+
}
14+
}
15+
}

Java.NET.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<BuildServerSideRenderer>false</BuildServerSideRenderer>
1616
</PropertyGroup>
1717

18+
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Java.NETcore' ">
19+
<StartAction>Project</StartAction>
20+
<ApplicationURL>https://localhost:5001;http://localhost:5000</ApplicationURL>
21+
</PropertyGroup>
1822
<ItemGroup>
1923
<PackageReference Include="MediatR" Version="7.0.0" />
2024
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="7.0.0" />
@@ -57,7 +61,7 @@
5761
<ItemGroup>
5862
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />
5963
<DistFiles Include="$(SpaRoot)node_modules\**" Condition="'$(BuildServerSideRenderer)' == 'true'" />
60-
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
64+
<ResolvedFileToPublish Include="@(DistFiles-&gt;'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
6165
<RelativePath>%(DistFiles.Identity)</RelativePath>
6266
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
6367
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>

Java.NET.msTest/UnitTest1.cs

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

Properties/launchSettings.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"iisSettings": {
33
"windowsAuthentication": false,
44
"anonymousAuthentication": true,
@@ -18,10 +18,18 @@
1818
"Java.NETcore": {
1919
"commandName": "Project",
2020
"launchBrowser": true,
21-
"applicationUrl": "https://localhost:5001;http://localhost:5000",
2221
"environmentVariables": {
2322
"ASPNETCORE_ENVIRONMENT": "Development"
24-
}
23+
},
24+
"applicationUrl": "https://localhost:5001;http://localhost:5000"
25+
},
26+
"Java.NET": {
27+
"commandName": "Project",
28+
"launchBrowser": true,
29+
"environmentVariables": {
30+
"ASPNETCORE_ENVIRONMENT": "Development"
31+
},
32+
"applicationUrl": "http://localhost:5000"
2533
}
2634
}
27-
}
35+
}

Tools/Java.NET.react/.gitignore

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

Tools/Java.NET.react/ClientAppReact/.gitignore

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

0 commit comments

Comments
 (0)