Use legacy solution format (.sln) to fix MSBuild project not found errors
Build and Test / build (push) Failing after 54s
Build and Test / build (push) Failing after 54s
This commit is contained in:
@@ -19,13 +19,13 @@ jobs:
|
|||||||
dotnet-version: '10.0.x'
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore NixWslWrapper.slnx
|
run: dotnet restore NixWslWrapper.sln
|
||||||
|
|
||||||
- name: Build solution
|
- name: Build solution
|
||||||
run: dotnet build NixWslWrapper.slnx --configuration Release --no-restore
|
run: dotnet build NixWslWrapper.sln --configuration Release --no-restore
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: dotnet test NixWslWrapper.slnx --configuration Release --no-build --verbosity normal
|
run: dotnet test NixWslWrapper.sln --configuration Release --no-build --verbosity normal
|
||||||
|
|
||||||
- name: Publish single-file executable
|
- name: Publish single-file executable
|
||||||
run: dotnet publish src/NixWslWrapper.Cli/NixWslWrapper.Cli.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -o ./dist
|
run: dotnet publish src/NixWslWrapper.Cli/NixWslWrapper.Cli.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -o ./dist
|
||||||
|
|||||||
@@ -0,0 +1,86 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.0.31903.59
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NixWslWrapper.Core", "src\NixWslWrapper.Core\NixWslWrapper.Core.csproj", "{B94E56D4-E202-495D-9229-581F94A670BC}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NixWslWrapper.Infrastructure", "src\NixWslWrapper.Infrastructure\NixWslWrapper.Infrastructure.csproj", "{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NixWslWrapper.Cli", "src\NixWslWrapper.Cli\NixWslWrapper.Cli.csproj", "{DA481C55-6E5B-47E1-B7A5-44389555BFD8}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0AB3BF05-4346-4AA6-1389-037BE0695223}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NixWslWrapper.Tests", "tests\NixWslWrapper.Tests\NixWslWrapper.Tests.csproj", "{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{B94E56D4-E202-495D-9229-581F94A670BC} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||||
|
{ABA72A96-8D93-42CA-9DF9-A078D0453CAF} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||||
|
{DA481C55-6E5B-47E1-B7A5-44389555BFD8} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
|
||||||
|
{B40A36DA-531B-4D06-8595-6F93BEEBAB2C} = {0AB3BF05-4346-4AA6-1389-037BE0695223}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<Solution>
|
|
||||||
<Folder Name="/src/">
|
|
||||||
<Project Path="src/NixWslWrapper.Cli/NixWslWrapper.Cli.csproj" />
|
|
||||||
<Project Path="src/NixWslWrapper.Core/NixWslWrapper.Core.csproj" />
|
|
||||||
<Project Path="src/NixWslWrapper.Infrastructure/NixWslWrapper.Infrastructure.csproj" />
|
|
||||||
</Folder>
|
|
||||||
<Folder Name="/tests/">
|
|
||||||
<Project Path="tests/NixWslWrapper.Tests/NixWslWrapper.Tests.csproj" />
|
|
||||||
</Folder>
|
|
||||||
</Solution>
|
|
||||||
Reference in New Issue
Block a user