Skip to content

Commit 3981239

Browse files
committed
Changed "Microsoft.CodeAnalysis.CSharp" to "Microsoft.CodeAnalysis.CSharp.Workspaces".
For testing.
1 parent 4089c2a commit 3981239

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/macos-arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
run: sed -i '' 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/Users/runner/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Cat CSTOJS_Tests.csproj
7171
run: cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72-
- name: Add Microsoft.CodeAnalysis.CSharp reference
73-
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
72+
- name: Add Microsoft.CodeAnalysis.CSharp.Workspaces reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp.Workspaces
7474
- name: Run tests
7575
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~/artifact/
7676
- name: Upload test result

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
run: sed -i '' 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/Users/runner/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Cat CSTOJS_Tests.csproj
7171
run: cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72-
- name: Add Microsoft.CodeAnalysis.CSharp reference
73-
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
72+
- name: Add Microsoft.CodeAnalysis.CSharp.Workspaces reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp.Workspaces
7474
- name: Run tests
7575
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~/artifact/
7676
- name: Upload test result

.github/workflows/ubuntu-arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
run: sed -i 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/home/runner/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Cat CSTOJS_Tests.csproj
7171
run: cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72-
- name: Add Microsoft.CodeAnalysis.CSharp reference
73-
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
72+
- name: Add Microsoft.CodeAnalysis.CSharp.Workspaces reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp.Workspaces
7474
- name: Run tests
7575
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~/artifact/
7676
- name: Upload test result

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
run: sed -i 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/home/runner/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Cat CSTOJS_Tests.csproj
7171
run: cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72-
- name: Add Microsoft.CodeAnalysis.CSharp reference
73-
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
72+
- name: Add Microsoft.CodeAnalysis.CSharp.Workspaces reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp.Workspaces
7474
- name: Run tests
7575
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~/artifact/
7676
- name: Upload test result

.github/workflows/windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
os: [windows-2025, windows-2022, windows-2019]
16+
os: [windows-2025, windows-2022]
1717

1818
runs-on: ${{ matrix.os }}
1919

@@ -38,7 +38,7 @@ jobs:
3838
needs: build
3939
strategy:
4040
matrix:
41-
os: [windows-2025, windows-2022, windows-2019]
41+
os: [windows-2025, windows-2022]
4242

4343
runs-on: ${{ matrix.os }}
4444

@@ -69,8 +69,8 @@ jobs:
6969
run: (Get-Content CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj) -replace '</Project>', '<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>C:/Users/runneradmin/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>' | Out-File -encoding ASCII CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Type CSTOJS_Tests.csproj
7171
run: type CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72-
- name: Add Microsoft.CodeAnalysis.CSharp reference
73-
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
72+
- name: Add Microsoft.CodeAnalysis.CSharp.Workspaces reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp.Workspaces
7474
- name: Run tests
7575
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory C:/Users/runneradmin/artifact
7676
- name: Upload test result

CSharpToJavaScript/CSharpToJavaScript.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
<PackageIcon>CSTOJS_128.png</PackageIcon>
2020
</PropertyGroup>
2121

22-
<ItemGroup>
23-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
24-
</ItemGroup>
25-
2622
<ItemGroup>
2723
<None Include="..\LICENSE">
2824
<Pack>True</Pack>
@@ -41,4 +37,8 @@
4137
</None>
4238
</ItemGroup>
4339

40+
<ItemGroup>
41+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />
42+
</ItemGroup>
43+
4444
</Project>

0 commit comments

Comments
 (0)