From 88ae96ff82ddc836a822a55aef17ea66ca06ac65 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 7 Mar 2006 13:18:32 +0000 Subject: restructured project (MSVC can't cope well with folder/classname mismatch) search for CLR DLLs in PD path first steps to efficient method handling svn path=/trunk/externals/clr/; revision=4656 --- external/AssemblyInfo.cs | 58 -------------------------- external/Counter.cs | 72 -------------------------------- external/README.txt | 3 -- external/external.csproj | 106 ----------------------------------------------- external/external.sln | 21 ---------- 5 files changed, 260 deletions(-) delete mode 100755 external/AssemblyInfo.cs delete mode 100755 external/Counter.cs delete mode 100755 external/README.txt delete mode 100755 external/external.csproj delete mode 100755 external/external.sln (limited to 'external') diff --git a/external/AssemblyInfo.cs b/external/AssemblyInfo.cs deleted file mode 100755 index f341568..0000000 --- a/external/AssemblyInfo.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// Le informazioni generali relative a un assembly sono controllate dal seguente -// insieme di attributi. Per modificare le informazioni associate a un assembly -// occorre quindi modificare i valori di questi attributi. -// -[assembly: AssemblyTitle("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: -// -// Numero di versione principale -// Numero di versione secondario -// Numero revisione -// Numero build -// -// È possibile specificare tutti i valori o impostare come predefiniti i valori Numero revisione e Numero build -// utilizzando l'asterisco (*) come illustrato di seguito: - -[assembly: AssemblyVersion("1.0.*")] - -// -// Per firmare l'assembly è necessario specificare una chiave da utilizzare. -// Fare riferimento alla documentazione di Microsoft .NET Framework per ulteriori informazioni sulla firma degli assembly. -// -// Utilizzare gli attributi elencati di seguito per verificare la chiave utilizzata per la firma. -// -// Note: -// (*) Se non è specificata alcuna chiave, non sarà possibile firmare l'assembly. -// (*) KeyName fa riferimento a una chiave installata nel provider di servizi di -// crittografia (CSP) sul computer in uso. KeyFile fa riferimento a un file che contiene -// una chiave. -// (*) Se entrambi i valori KeyFile e KeyName sono specificati, si -// verificherà il seguente processo: -// (1) Se KeyName è presente in CSP, verrà utilizzata tale chiave. -// (2) Se KeyName non esiste e KeyFile esiste, la chiave -// di KeyFile verrà installata nel CSP e utilizzata. -// (*) Per creare un KeyFile, è possibile utilizzare l'utilità sn.exe (Strong Name). -// Quando si specifica il KeyFile, il percorso dovrà essere -// relativo alla directory di output del progetto, ovvero -// %Project Directory%\obj\. Se ad esempio il KeyFile si -// trova nella directory del progetto, occorre specificare l'attributo AssemblyKeyFile -// come [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) La firma ritardata è un'opzione avanzata. Vedere la documentazione di Microsoft -// .NET Framework per ulteriori informazioni. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/external/Counter.cs b/external/Counter.cs deleted file mode 100755 index da2b814..0000000 --- a/external/Counter.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; - -/// -/// Descrizione di riepilogo per Counter. -/// -public class Counter: - PureData.External -{ - public Counter(PureData.AtomList args) - { - Post("Count.ctor "+args.ToString()); - -// pd.AddInlet(x, "init", ParametersType.Float); -// pd.AddOutlet(x, ParametersType.Float); - } - - // this function MUST exist - public static void Main() - { - Post("Count.Main"); - } - -/* - public void MyBang() - { - Post("Count-BANG"); - } - - public void MyFloat(float f) - { - Post(String.Format("Count-FLOAT {0}",f)); - } -*/ - protected override void MethodBang() - { - Post("Count-BANG"); - } - - protected override void MethodFloat(float f) - { - Post("Count-FLOAT "+f.ToString()); - } - - protected override void MethodSymbol(PureData.Symbol s) - { - Post("Count-SYMBOL "+s.ToString()); - } - - protected override void MethodList(PureData.AtomList l) - { - Post("Count-LIST "+l.ToString()); - } - - /* - public void Init(float f) - { - curr = (int) f; - } - - public void SendOut() - { - pd.SendToOutlet(x, 0, new Atom(curr)); - } - - public void Sum(float f) - { - curr += (int) f; - pd.SendToOutlet(x, 0, new Atom(curr)); - } - -*/ -} diff --git a/external/README.txt b/external/README.txt deleted file mode 100755 index dd2d745..0000000 --- a/external/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -to compile External.dll put PureData.dll in this folder then execute this command: - -mcs External.cs Counter.cs -out:External.dll -target:library -r:PureData.dll \ No newline at end of file diff --git a/external/external.csproj b/external/external.csproj deleted file mode 100755 index 3848266..0000000 --- a/external/external.csproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/external/external.sln b/external/external.sln deleted file mode 100755 index 092ddee..0000000 --- a/external/external.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "external", "external.csproj", "{FFBC9D2E-1FB7-4E82-B5DC-46B31F8A58A2}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {FFBC9D2E-1FB7-4E82-B5DC-46B31F8A58A2}.Debug.ActiveCfg = Debug|.NET - {FFBC9D2E-1FB7-4E82-B5DC-46B31F8A58A2}.Debug.Build.0 = Debug|.NET - {FFBC9D2E-1FB7-4E82-B5DC-46B31F8A58A2}.Release.ActiveCfg = Release|.NET - {FFBC9D2E-1FB7-4E82-B5DC-46B31F8A58A2}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal -- cgit v1.2.1