ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl.net
perl.net
RE: Plc.exe and Vs2005
by Jan Dubois other posts by this author
Nov 14 2005 6:58PM messages near this date
view in the new Beta List Site
RE: Plc.exe and Vs2005 | Active Perl, IIS, Handlers and reverse-proxy
FRAMEWORK Hi Severan,

I could not reproduce your problem on my machine with PDK 6.0.2 and .NET
2.0. I haven't gotten around to trying to reproduce with PDK 5.3 yet. I
also don't have VS2005 installed, just .NET 2.0.

I'll try to look into this eventually but am very busy with other things
right now. You may want to try creating an application configuration
file for plc and use assembly binding redirection to get things to work
the way you want to. The config file would be called plc.exe.config, and
information about binding redirection can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconconfiguri
ngassemblybindingredirection.asp

Please let me know if you manage to get this to work!

Cheers,
-Jan

On Fri, 11 Nov 2005, Severan Rault wrote:
>  Hi Everybody, Does anyone have the answer or an idea for my
>  question below?
> 
>  Thanks
> 
>  Severan
> 
On Tue, 18 Oct 2005, Severan Rault wrote:
>  Hi Jan,
>  
>  Hi have installed Vs2005 on my machine and I realized it has broken the Plc
>  compiler. It seams Plc.exe is now using csc from the Framework 2.0 as per
>  log below.
>  How can I force plc to use the 1.1 Framework?
>  
>  Thanks
>  
>  Severan
>  
>  PerlNET 5.3.0 build 530
>  Copyright (C) 1998-2003 ActiveState Corp.  All rights reserved.
>  ActiveState is a division of Sophos Plc.
>  ===> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe -nologo
>  -t:library -o
>  ut:"c:\visual studio projects\smsgw> smsgw.dll" -r:C:\WINDOWS\Microsoft.NET\Framework\v1.1
.4322\System.Data.dll
>  -r:C:
>  \WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll
>  -r:C:\WINDOWS\Microsoft.NE
>  T\Framework\v1.1.4322\System.Messaging.dll -r:"C\Visual Studio
>  Projects\smsgw\Kikker.dll" -r:"C:\Visual Studio
>  Projects\smsgw\KikkerInterface.dll" -r:"c:\Visual Studio Projects\smsgw\Micr
>  osoft.ApplicationBlocks.Data.dll"
>  -r:C:\WINDOWS\assembly\GAC\PerlRT\5.3.0.530__c
>  ea8284aa6739163\PerlRT.dll C:\DOCUME~1\User\LOCALS~1\Temp\5448.cs
>  c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll: error CS1703:
>  An
>  assembly with the same identity 'System.Data, Version=2.0.0.0,
>  Culture=neutral,
>  PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one
>  of
>  the duplicate references.
>  c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll: (Location of
>  symbo
>  l related to previous error)
>  c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll: error CS1703: An
>  assem
>  bly with the same identity 'System, Version=2.0.0.0, Culture=neutral,
>  PublicKeyT
>  oken=b77a5c561934e089' has already been imported. Try removing one of the
>  duplic
>  ate references.
>  c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll: (Location of symbol
>  rel
>  ated to previous error)
>  c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Messaging.dll: error
>  CS1703
>  : An assembly with the same identity 'System.Messaging, Version=2.0.0.0,
>  Culture
>  =neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try
>  removi
>  ng one of the duplicate references.
>  c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Messaging.dll: (Location
>  of
>  symbol related to previous error)
>  Stopped with exit code 1
>  
>  _______________________________________________
>  Perl.NET mailing list
>  Perl.NET@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________
Perl.NET mailing list
Perl.NET@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Severan Rault
Jan Dubois

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved