# Compiling Compact Framework Project

**URL:** https://www.finalbuilder.com/forums/t/compiling-compact-framework-project/100
**Category:** Discussion
**Created:** [May 26, 2006, 6:07am UTC](https://www.finalbuilder.com/forums/t/compiling-compact-framework-project/100 "2006-05-26T06:07:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![phantom1024](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@phantom1024](https://www.finalbuilder.com/forums/u/phantom1024)
#### Post date: [May 26, 2006, 6:07am UTC](https://www.finalbuilder.com/forums/t/compiling-compact-framework-project/100/1 "2006-05-26T06:07:16Z")

</div>

Hi,   
  
Has anybody been able to compile compact framework projects? I am currently using the Microsoft C# Project compiler. I am able to define the location of all the assemblies, including the compact framework (I attached a screenshot)   
  
The problem is that although the project compiles and creates an executable I get a warning on the error log that says something like this multiple times and I end up with a windows executable instead of a compact framework executable.  
  
"assetMoveToTabpage.cs(49,13): warning CS1595: ‘System.Windows.Forms.DataGrid’ is defined in multiple places; using definition from ‘c:\WINDOWS\[Microsoft.NET](http://Microsoft.NET)\Framework\v1.1.4322\System.Windows.Forms.dll’"  
  
When compiling a compact framework project, the compiler should be using the libraries located at:   
  
C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE  
  
Instead of the libraries in the full framework. It seems that if we are compiling for the compact framework, FinalBuilder should look for the referenced assemblies first on the paths provided and then on the full framework.  
  
Please let me know if anybody has been able to compile for the compact framework.  
  
Thanks in advanced,  
  
Karim

![C#ProjectCompiler.JPG](https://www.finalbuilder.com/forums/uploads/default/original/1X/ecc3ed2be5fadd606f40264b7c2b47fa0f7e29ba.jpeg)

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [May 29, 2006, 2:54am UTC](https://www.finalbuilder.com/forums/t/compiling-compact-framework-project/100/2 "2006-05-29T02:54:54Z")

</div>

Just wanted to point out that we’ve got this in our support system now as well. We’ll post on here once we work out what’s happening (is anyone else having problems with CF projects?)
