I hit build errors out of the box on PK v4.0. I'm using RVDS 3.0. I'm
using a fresh PK v4.0 installation on a XP x86 machine. This documents the
two issues I hit and the solutions.
I launch build window via shortcut starting in "D:\MicroFrameworkPK_v4_0":
%comspec% /k "D:\MicroFrameworkPK_v4_0\setenv_RVDS3.0.cmd"
In build window I execute:
msbuild build.dirproj
Problem 1: Done Building Project
"D:\MicroFrameworkPK_v4_0\Framework\Core\Native_TimeService\Core_TimeService.csproj" (Build target(s)).
d:\microframeworkpk_v4_0\solutions\windows2\tinyclr\stdafx.h(24): fatal
error C1083: Cannot open include file: 'cor.h': No such file or directory
Solution 1: Add additional include directory to TinyCLR.proj:
<IncludePaths Include="CLR\Tools\Include"/>
Problem 2: LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'
Solution 2: Add additional lib path to TinyCLR.proj:
<LibDirs Include="D:\Program Files\Microsoft SDKs\Windows\v6.0\Lib"/>
With these changes I see final build output of:
51 Warning(s)
0 Error(s)
Time Elapsed 00:01:25.28
Joel
thanks for the advide. You can also solve the problem by having the .NET MF
SDK in the path.
Regards
Lorenzo