Fixed SLProxy in MSVC. Analyst is now a dll that is loaded with Proxy.exe using Proxy.exe --load Analyst.dll, you might need to specify the full path. Analyst may be reverted to an exe and ChatConsole changed to a library soon

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@799 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-01-05 00:01:09 +00:00
parent f17b7d8252
commit e6d80faac0
5 changed files with 23 additions and 8 deletions

View File

@@ -108,7 +108,7 @@ public class Analyst : ProxyPlugin
{
pType = packetTypeFromName(words[1]);
}
catch (ArgumentException e)
catch (ArgumentException)
{
SayToUser("Bad packet name: " + words[1]);
return;
@@ -166,7 +166,7 @@ public class Analyst : ProxyPlugin
{
pType = packetTypeFromName(words[1]);
}
catch (ArgumentException e)
catch (ArgumentException)
{
SayToUser("Bad packet name: " + words[1]);
return;
@@ -223,7 +223,7 @@ public class Analyst : ProxyPlugin
{
pType = packetTypeFromName(words[1]);
}
catch (ArgumentException e)
catch (ArgumentException)
{
SayToUser("Bad packet name: " + words[1]);
return;

View File

@@ -17,7 +17,7 @@
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>Analyst</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>
@@ -97,8 +97,6 @@
<Compile Include="Analyst.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="SLProxyLoader.cs" />
<Compile Include="SLProxyMain.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>

View File

@@ -51,7 +51,7 @@
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<OutputPath>..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>

View File

@@ -89,6 +89,7 @@
<Compile Include="SLProxy.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="SLProxyLoader.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\libsecondlife-cs\libsecondlife.csproj">

View File

@@ -1,5 +1,5 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
# Visual C# Express 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "libsecondlife", "libsecondlife.csproj", "{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sldump", "examples\sldump\sldump.csproj", "{F6258A68-C624-46A0-BA73-B55D21BB0A3B}"
@@ -46,6 +46,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Analyst", "..\applications\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatConsole", "..\applications\SLProxy\ChatConsole.csproj", "{D8ECCBE1-AC71-4054-AAA6-2D50E5629504}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "libslupdater", "..\applications\libslupdater\libslupdater.csproj", "{9707686C-61AB-4DDB-8437-A11A36B61A81}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Proxy", "..\applications\SLProxy\Proxy.csproj", "{0516E1A7-D062-4830-859C-6FD0E4F84E75}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET 1.1 = Debug|.NET 1.1
@@ -196,6 +200,18 @@ Global
{D8ECCBE1-AC71-4054-AAA6-2D50E5629504}.Release|.NET 1.1.ActiveCfg = Release|Any CPU
{D8ECCBE1-AC71-4054-AAA6-2D50E5629504}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8ECCBE1-AC71-4054-AAA6-2D50E5629504}.Release|Any CPU.Build.0 = Release|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Debug|.NET 1.1.ActiveCfg = Debug|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Release|.NET 1.1.ActiveCfg = Release|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9707686C-61AB-4DDB-8437-A11A36B61A81}.Release|Any CPU.Build.0 = Release|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Debug|.NET 1.1.ActiveCfg = Debug|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Release|.NET 1.1.ActiveCfg = Release|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0516E1A7-D062-4830-859C-6FD0E4F84E75}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE