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?
- log.txt 6.52 KB
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
1 Posted by Ivan Pavlovic on 27 May, 2014 10:54 PM
it seems to be related to http://help.appveyor.com/discussions/problems/160-sliverlight-5-x64...
Support Staff 2 Posted by Feodor Fitsner on 27 May, 2014 11:15 PM
Will take a look into this.
- Feodor
3 Posted by Ivan Pavlovic on 28 May, 2014 08:13 AM
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 Posted by Ivan Pavlovic on 28 May, 2014 08:26 AM
Got it!
I had to switch build enviroment to Windows Server 2012 R2. Build now works fine!
5 Posted by Ivan Pavlovic on 28 May, 2014 09:11 AM
Is it possible to install newer .NET SDK on build server? It still builds using
insted of 4.5
Support Staff 6 Posted by Feodor Fitsner on 30 May, 2014 08:04 PM
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!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.