-
Notifications
You must be signed in to change notification settings - Fork 8
Fix NETMF 4.3 bug in interop compilation with "." in assembly name
A bug in NETMF 4.3 code must be corrected to compile interop project with name containing dot characters like "Community.Hardware".
The bug is located in Microsoft.SPOT.tasks.dll
This can be fix by changing line 87 in "C:\MicroFrameworkPK_v4_3\Framework\Tools\BuildTasks\CreateInteropFeatureProj.cs"
bpg.AddProperty(m_name.ToUpper().Replace('.', '_') + "_FEATUREPROJ", "True");
Update: This fix is already applied, so you can just proceed to the following rebuild steps:
Rebuild on command line
C:\>cd MicroFrameworkPK_v4_3
C:\MicroFrameworkPK_v4_3>setenv_vs 11
Compiler: VS 11
C:\MicroFrameworkPK_v4_3>cd framework\tools\buildtasks
C:\MicroFrameworkPK_v4_3\Framework\Tools\BuildTasks>msbuild buildtasks.csproj
Then copy C:\MicroFrameworkPK_v4_3\BuildOutput\public\Debug\Server\dll\Microsoft.SPOT.tasks.dll (and .pdb) to C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Tools
You can now build your managed code for interop.