[Mono-list] Error converting project from Windows to Linux

BertV bert.verhees at rosa.nl
Thu Sep 18 03:05:00 EDT 2008


I solved the problem, the solution is that the HintPath directive is needed,
a relative path to where the assembly is. Projects coming from Visual Studio
do not always contain <HintPath> at all references. Removing and adding
again a reference makes Monodevelop add it.

Thanks
Bert


BertV wrote:
> 
> Hi,
> 
> I am trying to convert a Windows-project to monodevelop. The project
> consists in a lot of vb-files and resource-files.
> The compile all without errors.
> 
> There are also a few dll's, the give me an headache. Can some one please
> help me?
> 
> The dll's, three, are in the bin-directory of the project. The errors are:
> Error : VBNC2001: file not found: Version=5.6.1127.0,
> Error : VBNC2001: file not found: Culture=neutral,
> Error : VBNC2001: file not found: PublicKeyToken=def26f296efef469
> Error : VBNC2001: file not found: Version=1.7.0.0,
> Error : VBNC2001: file not found: Culture=neutral,
> Error : VBNC2001: file not found: PublicKeyToken=3a6eb82f876a49bc
> Error : VBNC2001: file not found: Version=1.0.0.0,
> Error : VBNC2001: file not found: Culture=neutral,
> Error : VBNC2001: file not found: processorArchitecture=X86
> Compilation took 00:00:00.6171810
> 
> The (I think) relevant part of the vbproj file is:
> <ItemGroup>
>     <Reference Include="adl_dotnet_lib, Version=0.0.0.0, Culture=neutral">
>       <SpecificVersion>False</SpecificVersion>
>       <HintPath>bin\adl_dotnet_lib.dll</HintPath>
>     </Reference>
>     <Reference Include="EiffelSoftware.Runtime, Version=5.6.1127.0,
> Culture=neutral, PublicKeyToken=def26f296efef469">
>       <SpecificVersion>False</SpecificVersion>
>     </Reference>
>     <Reference Include="MagicLibrary, Version=1.7.0.0, Culture=neutral,
> PublicKeyToken=3a6eb82f876a49bc" />
>     <Reference Include="OTSControls, Version=1.0.2786.20790,
> Culture=neutral, PublicKeyToken=null">
>       <SpecificVersion>False</SpecificVersion>
>       <HintPath>OTS\OTSControls.dll</HintPath>
>     </Reference>
>     <Reference Include="System">
>       <Name>System</Name>
>     </Reference>
>     <Reference Include="System.Data">
>       <Name>System.Data</Name>
>     </Reference>
>     <Reference Include="System.Design">
>       <Name>System.Design</Name>
>     </Reference>
>     <Reference Include="System.Drawing">
>       <Name>System.Drawing</Name>
>     </Reference>
>     <Reference Include="System.EnterpriseServices" />
>     <Reference Include="System.Web.Services" />
>     <Reference Include="System.Windows.Forms">
>       <Name>System.Windows.Forms</Name>
>     </Reference>
>     <Reference Include="System.Xml">
>       <Name>System.XML</Name>
>     </Reference>
>     <Reference Include="XMLParser, Version=1.0.0.0, Culture=neutral,
> processorArchitecture=X86" />
>   </ItemGroup>
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-converting-project-from-Windows-to-Linux-tp19509551p19547178.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list