problem building WPF application

Ivan Pavlovic's Avatar

Ivan Pavlovic

27 May, 2014 10:53 PM

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. 1 Posted by Ivan Pavlovic on 27 May, 2014 10:54 PM

    Ivan Pavlovic's Avatar
  2. Support Staff 2 Posted by Feodor Fitsner on 27 May, 2014 11:15 PM

    Feodor Fitsner's Avatar

    Will take a look into this.

    - Feodor

  3. 3 Posted by Ivan Pavlovic on 28 May, 2014 08:13 AM

    Ivan Pavlovic's Avatar

    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?

  4. 4 Posted by Ivan Pavlovic on 28 May, 2014 08:26 AM

    Ivan Pavlovic's Avatar

    Got it!

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

  5. 5 Posted by Ivan Pavlovic on 28 May, 2014 09:11 AM

    Ivan Pavlovic's Avatar

    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

  6. Support Staff 6 Posted by Feodor Fitsner on 30 May, 2014 08:04 PM

    Feodor Fitsner's Avatar

    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!

  7. 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

Recent Discussions

18 Jun, 2025 08:45 PM
18 Jun, 2025 04:23 PM
13 Jun, 2025 04:36 PM
13 Jun, 2025 04:27 PM
13 Jun, 2025 07:20 AM

 

10 Jun, 2025 01:56 AM
09 Jun, 2025 07:11 PM
04 Jun, 2025 04:08 PM
27 May, 2025 05:48 PM
27 May, 2025 06:37 AM
27 May, 2025 06:31 AM