Skip to content

Build error on Win x64 #701

@sjackmuth

Description

@sjackmuth

Describe the bug
Project can not be build on Windows x64, .NET SDK 8.0.303

PS C:\Users\user\source\repos\PowerApps-Tooling> ./build
You must install or update .NET to run this application.

App: C:\Users\user\source\repos\PowerApps-Tooling\targets\bin\Debug\net7.0\targets.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Program Files\dotnet

The following frameworks were found:
  3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.32 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

After switching to /src/ and performing dotnet build I get the following (German) error about failing dependencies:

C:\Users\user\source\repos\PowerApps-Tooling\src\Persistence.Tests\Persistence.Tests.csproj : error NU1603: Warnung als Fehler: "Persistence.Tests" ist von "Microsoft.Net.Compilers.Toolset.Framework (>= 4.10.0-3.24314.14)" abhängig, "Microsoft.Net.Compilers.Toolset.Fr
amework 4.10.0-3.24314.14" wurde jedoch nicht gefunden. Die ungefähre höchste Übereinstimmung von "Microsoft.Net.Compilers.Toolset.Framework 4.10.0-3.final" wurde aufgelöst. [C:\Users\user\source\repos\PowerApps-Tooling\src\PASopa.sln]
C:\Users\user\source\repos\PowerApps-Tooling\src\PAModelTests\PAModelTests.csproj : error NU1603: Warnung als Fehler: "PAModelTests" ist von "Microsoft.Net.Compilers.Toolset.Framework (>= 4.10.0-3.24314.14)" abhängig, "Microsoft.Net.Compilers.Toolset.Framework 4.10.0-
3.24314.14" wurde jedoch nicht gefunden. Die ungefähre höchste Übereinstimmung von "Microsoft.Net.Compilers.Toolset.Framework 4.10.0-3.final" wurde aufgelöst. [C:\Users\user\source\repos\PowerApps-Tooling\src\PASopa.sln]
C:\Users\user\source\repos\PowerApps-Tooling\src\PASopa\PASopa.csproj : error NU1603: Warnung als Fehler: "PASopa" ist von "Microsoft.Net.Compilers.Toolset.Framework (>= 4.10.0-3.24314.14)" abhängig, "Microsoft.Net.Compilers.Toolset.Framework 4.10.0-3.24314.14" wurde
jedoch nicht gefunden. Die ungefähre höchste Übereinstimmung von "Microsoft.Net.Compilers.Toolset.Framework 4.10.0-3.final" wurde aufgelöst. [C:\Users\user\source\repos\PowerApps-Tooling\src\PASopa.sln]

Looks like the build-process doesn't like the -final of the Microsoft.Net.Compilers.Toolset.Framework

To Reproduce

git clone https://github.com/microsoft/PowerApps-Tooling
cd PowerApps-Tooling
./build

and the 2nd:
cd src
dotnet build

Metadata

Metadata

Assignees

No one assigned

    Labels

    newAn Issue created that needs to be looked at by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions