problem building WPF application

Dear Sirs,

I am encountering problem trying to build WPF application

C:\projects\tap-desktop\TheAirline\TheAirline.csproj(1213,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.5\Microsoft.Expression.Blend.WPF.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Is it possible that some SDK is missing from the build server?

  1. Will take a look into this.

    - Feodor

  2. The problem is in .NET versions

    This is .net 4.5 app but build kicks .net 4.0 build tools as shown in th log

    Microsoft (R) Build Engine version 12.0.21005.1
    [Microsoft .NET Framework, version 4.0.30319.18449]

    if I switch application to .NET 4.0. build works fine (It fails because of syntax error, unrelated to build issue)

    Do you have .net v4.5, v4.5.1 or v4.5.2 SDK installed on the build server?

  3. Got it!

    I had to switch build enviroment to Windows Server 2012 R2. Build now works fine!

  4. Is it possible to install newer .NET SDK on build server? It still builds using

        line 6 [Microsoft .NET Framework, version 4.0.30319.34014]
    

    insted of 4.5

  5. Hi Ivan,

    Sorry for the delay with reply!

    Your build should be working now. Could you please give it another try and let me know about the results?

    Thank you!

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac