diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e56b89d23ef..5e90bee85a3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -46,7 +46,7 @@ jobs: # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - name: Install dependencies for windows runtime - run: dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln --runtime=win10-x64 + run: dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln --runtime=win-x64 - name: Build Dynamo with MSBuild for Windows run: | echo "***Continue with the build, Good luck developer!***" diff --git a/.github/workflows/dynamoAllNet6.0_build.yml b/.github/workflows/dynamoAllNet6.0_build.yml index f8965faa87a..d3be844e7a5 100644 --- a/.github/workflows/dynamoAllNet6.0_build.yml +++ b/.github/workflows/dynamoAllNet6.0_build.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies for windows runtime run: | - dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win10-x64 + dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 - name: Build Dynamo with MSBuild for Windows run: | echo "***Continue with the build, Good luck developer!***" diff --git a/.github/workflows/dynamoAllNet8.0_build.yml b/.github/workflows/dynamoAllNet8.0_build.yml new file mode 100644 index 00000000000..fc030856092 --- /dev/null +++ b/.github/workflows/dynamoAllNet8.0_build.yml @@ -0,0 +1,40 @@ +# Build Dynamo using latest VS and DotNET +name: DynamoAllNet8.0-Build +on: [push,pull_request] +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout Dynamo Repo + uses: actions/checkout@v4 + with: + path: Dynamo + repository: DynamoDS/Dynamo + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + - name: Disable problem matcher + run: echo "::remove-matcher owner=csc::" + + - name: Install dependencies for windows runtime + run: | + dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net8.0 + - name: Build Dynamo with MSBuild for Windows + run: | + echo "***Continue with the build, Good luck developer!***" + cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" + .\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net8.0 + # look for Dynamo + - name: Navigate to Dynamo Windows Folder + run: | + cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Release" + echo "***Locating DynamoCLI for Windows!***" + test ".\DynamoCLI.exe" && echo "DynamoCLI exists!" + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: DynamoSandbox + path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release + if-no-files-found: warn + retention-days: 3 diff --git a/.github/workflows/dynamoBinDiff.yml b/.github/workflows/dynamoBinDiff.yml index 92108408997..440094f431f 100644 --- a/.github/workflows/dynamoBinDiff.yml +++ b/.github/workflows/dynamoBinDiff.yml @@ -18,7 +18,7 @@ jobs: run: echo "::remove-matcher owner=csc::" - name: Install dependencies for windows runtime run: | - dotnet restore $Env:GITHUB_WORKSPACE\net60_Win_Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win10-x64 + dotnet restore $Env:GITHUB_WORKSPACE\net60_Win_Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 - name: Build Dynamo current branch with MSBuild for NET60-Windows run: | echo "***Continue with the build, Good luck developer!***" @@ -53,7 +53,7 @@ jobs: run: echo "::remove-matcher owner=csc::" - name: Install dependencies for windows runtime run: | - dotnet restore $Env:GITHUB_WORKSPACE\master_net60_Win_Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win10-x64 + dotnet restore $Env:GITHUB_WORKSPACE\master_net60_Win_Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 - name: Build Dynamo master branch with MSBuild for NET60-Windows run: | echo "***Continue with the build, Good luck developer!***" diff --git a/.github/workflows/dynamoNet6.0_build.yml b/.github/workflows/dynamoNet6.0_build.yml index 034aa66856b..f52c91e31fb 100644 --- a/.github/workflows/dynamoNet6.0_build.yml +++ b/.github/workflows/dynamoNet6.0_build.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies for windows runtime run: | - dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.sln /p:Configuration=Release --runtime=win10-x64 + dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\DynamoCore.sln /p:Configuration=Release --runtime=win-x64 - name: Build Dynamo with MSBuild for Windows run: | echo "***Continue with the build, Good luck developer!***" diff --git a/src/Config/CS_SDK.props b/src/Config/CS_SDK.props index 580774f221b..3f3c1037183 100644 --- a/src/Config/CS_SDK.props +++ b/src/Config/CS_SDK.props @@ -4,8 +4,11 @@ Debug AnyCPU x64 + + + net6.0 16.0 - net6.0 + $(DotNet) 512 false false @@ -49,7 +52,7 @@ false - win10-x64 + win-x64 $(DefineConstants);_WINDOWS diff --git a/src/DynamoCoreWpf/DynamoCoreWpf.csproj b/src/DynamoCoreWpf/DynamoCoreWpf.csproj index 1412882a168..3de3b783c4e 100644 --- a/src/DynamoCoreWpf/DynamoCoreWpf.csproj +++ b/src/DynamoCoreWpf/DynamoCoreWpf.csproj @@ -150,7 +150,7 @@ - ..\..\extern\Microsoft.Xaml.Behaviors\$(TargetFramework)\Dynamo.Microsoft.Xaml.Behaviors.dll + ..\..\extern\Microsoft.Xaml.Behaviors\net6.0-windows\Dynamo.Microsoft.Xaml.Behaviors.dll diff --git a/src/Libraries/DSOffice/DSOffice.csproj b/src/Libraries/DSOffice/DSOffice.csproj index c66bda5be3a..d01d11d7444 100644 --- a/src/Libraries/DSOffice/DSOffice.csproj +++ b/src/Libraries/DSOffice/DSOffice.csproj @@ -24,7 +24,7 @@ - + diff --git a/src/Libraries/DSOfficeUtilities/DSOfficeUtilities.csproj b/src/Libraries/DSOfficeUtilities/DSOfficeUtilities.csproj index 1a58e9b98a9..8a40de6fe32 100644 --- a/src/Libraries/DSOfficeUtilities/DSOfficeUtilities.csproj +++ b/src/Libraries/DSOfficeUtilities/DSOfficeUtilities.csproj @@ -22,7 +22,7 @@ tlbimp False - + {2DF8D04C-5BFA-101B-BDE5-00AA0044DE52} 2 8 diff --git a/src/Libraries/DynamoUnits/UnitsCore.csproj b/src/Libraries/DynamoUnits/UnitsCore.csproj index f85ce46e588..43309c7e8aa 100644 --- a/src/Libraries/DynamoUnits/UnitsCore.csproj +++ b/src/Libraries/DynamoUnits/UnitsCore.csproj @@ -40,6 +40,7 @@ + diff --git a/src/LibraryViewExtensionWebView2/LibraryViewExtensionWebView2.csproj b/src/LibraryViewExtensionWebView2/LibraryViewExtensionWebView2.csproj index 428eed2ece2..10118881162 100644 --- a/src/LibraryViewExtensionWebView2/LibraryViewExtensionWebView2.csproj +++ b/src/LibraryViewExtensionWebView2/LibraryViewExtensionWebView2.csproj @@ -181,7 +181,7 @@ - ..\..\extern\Microsoft.Xaml.Behaviors\$(TargetFramework)\Dynamo.Microsoft.Xaml.Behaviors.dll + ..\..\extern\Microsoft.Xaml.Behaviors\net6.0-windows\Dynamo.Microsoft.Xaml.Behaviors.dll diff --git a/src/Tools/Md2Html/Md2Html.csproj b/src/Tools/Md2Html/Md2Html.csproj index 93db771aa16..da8b3cf2bd3 100644 --- a/src/Tools/Md2Html/Md2Html.csproj +++ b/src/Tools/Md2Html/Md2Html.csproj @@ -27,8 +27,8 @@ - - - + + + diff --git a/src/build.xml b/src/build.xml index 3c864ffe5bc..5212c9c9237 100644 --- a/src/build.xml +++ b/src/build.xml @@ -5,7 +5,8 @@ Dynamo.All.sln Any CPU - win10-x64 + net6.0 + win-x64 $(MSBuildProjectDirectory)\..\tools\Nuget\NuGet.exe @@ -21,7 +22,7 @@ - +