Changed the source control from Mercurial to git and added new examples.
This commit is contained in:
parent
2e5b85e798
commit
f9258fa976
13 changed files with 546 additions and 641 deletions
43
.gitattributes
vendored
Normal file
43
.gitattributes
vendored
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
||||||
|
|
||||||
|
*.bmp binary
|
||||||
|
*.gif binary
|
||||||
|
*.ico binary
|
||||||
|
*.jpg binary
|
||||||
|
*.png binary
|
||||||
|
|
||||||
|
*.ascx text
|
||||||
|
*.cmd text
|
||||||
|
*.coffee text
|
||||||
|
*.config text
|
||||||
|
*.cs text diff=csharp
|
||||||
|
*.csproj text merge=union
|
||||||
|
*.css text
|
||||||
|
*.cshtml text
|
||||||
|
*.htm text
|
||||||
|
*.html text
|
||||||
|
*.js text
|
||||||
|
*.msbuild text
|
||||||
|
*.resx text merge=union
|
||||||
|
*.ruleset text
|
||||||
|
*.Stylecop text
|
||||||
|
*.targets text
|
||||||
|
*.tt text
|
||||||
|
*.txt text
|
||||||
|
*.vb text
|
||||||
|
*.vbhtml text
|
||||||
|
*.vbproj text merge=union
|
||||||
|
*.xml text
|
||||||
|
*.xunit text
|
||||||
|
*.asp text
|
||||||
|
|
||||||
|
*.sln text eol=crlf merge=union
|
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
App_Data
|
||||||
|
[Bb]in
|
||||||
|
[Oo]bj
|
||||||
|
[Tt]est[Rr]esults
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.[Cc]ache
|
||||||
|
*[Rr]esharper*
|
||||||
|
packages
|
||||||
|
NuGet.exe
|
||||||
|
_[Ss]cripts
|
||||||
|
*.exe
|
||||||
|
*.dll
|
||||||
|
*.nupkg
|
||||||
|
*.ncrunchsolution
|
||||||
|
*.dot[Cc]over
|
|
@ -1,48 +1,50 @@
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 2010
|
# Visual Studio 2013
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{244AF685-4E12-4893-89DA-939A2964C0FB}"
|
VisualStudioVersion = 12.0.21005.1
|
||||||
ProjectSection(SolutionItems) = preProject
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
License.txt = License.txt
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{244AF685-4E12-4893-89DA-939A2964C0FB}"
|
||||||
EndProjectSection
|
ProjectSection(SolutionItems) = preProject
|
||||||
EndProject
|
License.txt = License.txt
|
||||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Parser.VS2010", "Parser\Parser.VS2010.vbproj", "{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}"
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBScript.VS2010", "VBScript\VBScript.VS2010.csproj", "{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}"
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Parser.VS2010", "Parser\Parser.VS2010.vbproj", "{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asp.VS2010", "asp\Asp.VS2010.csproj", "{F076A2D0-5200-42D7-9AEA-9E1260EFB138}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBScript.VS2010", "VBScript\VBScript.VS2010.csproj", "{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspWebApp.VS2010", "AspWebApp\AspWebApp.VS2010.csproj", "{24BF0EA3-2D82-4E85-B13D-EA9279F58812}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asp.VS2010", "asp\Asp.VS2010.csproj", "{F076A2D0-5200-42D7-9AEA-9E1260EFB138}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBSC.VS2010", "VBSC\VBSC.VS2010.csproj", "{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspWebApp.VS2010", "AspWebApp\AspWebApp.VS2010.csproj", "{24BF0EA3-2D82-4E85-B13D-EA9279F58812}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBSC.VS2010", "VBSC\VBSC.VS2010.csproj", "{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}"
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
EndProject
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Global
|
||||||
Release|Any CPU = Release|Any CPU
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
EndGlobalSection
|
Debug|Any CPU = Debug|Any CPU
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
Release|Any CPU = Release|Any CPU
|
||||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
EndGlobalSection
|
||||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.Build.0 = Release|Any CPU
|
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.Build.0 = Release|Any CPU
|
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.Build.0 = Release|Any CPU
|
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.Build.0 = Release|Any CPU
|
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
EndGlobalSection
|
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
HideSolutionNode = FALSE
|
EndGlobalSection
|
||||||
EndGlobalSection
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
EndGlobal
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
|
|
|
@ -1,158 +1,165 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<PropertyGroup>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<ProjectGuid>{24BF0EA3-2D82-4E85-B13D-EA9279F58812}</ProjectGuid>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
<ProjectGuid>{24BF0EA3-2D82-4E85-B13D-EA9279F58812}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<OutputType>Library</OutputType>
|
||||||
<RootNamespace>AspWebApp</RootNamespace>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<AssemblyName>AspWebApp</AssemblyName>
|
<RootNamespace>AspWebApp</RootNamespace>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<AssemblyName>AspWebApp</AssemblyName>
|
||||||
<FileUpgradeFlags>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
</FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
<OldToolsVersion>4.0</OldToolsVersion>
|
</FileUpgradeFlags>
|
||||||
<UpgradeBackupLocation />
|
<OldToolsVersion>4.0</OldToolsVersion>
|
||||||
</PropertyGroup>
|
<UpgradeBackupLocation>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
</UpgradeBackupLocation>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
</PropertyGroup>
|
||||||
<DebugType>full</DebugType>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<Optimize>false</Optimize>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\</OutputPath>
|
<DebugType>full</DebugType>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<Optimize>false</Optimize>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<OutputPath>bin\</OutputPath>
|
||||||
<WarningLevel>4</WarningLevel>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
</PropertyGroup>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<WarningLevel>4</WarningLevel>
|
||||||
<DebugType>pdbonly</DebugType>
|
</PropertyGroup>
|
||||||
<Optimize>true</Optimize>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\</OutputPath>
|
<DebugType>pdbonly</DebugType>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<Optimize>true</Optimize>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<OutputPath>bin\</OutputPath>
|
||||||
<WarningLevel>4</WarningLevel>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
</PropertyGroup>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<ItemGroup>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Reference Include="System" />
|
</PropertyGroup>
|
||||||
<Reference Include="System.Data" />
|
<ItemGroup>
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Web.ApplicationServices" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Web.DynamicData" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Web.Entity" />
|
<Reference Include="System.Web.ApplicationServices" />
|
||||||
<Reference Include="System.Web.Extensions" />
|
<Reference Include="System.Web.DynamicData" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Web.Entity" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Web.Extensions" />
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Web.Services" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.EnterpriseServices" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Web.Mobile" />
|
<Reference Include="System.Web.Services" />
|
||||||
</ItemGroup>
|
<Reference Include="System.EnterpriseServices" />
|
||||||
<ItemGroup>
|
<Reference Include="System.Web.Mobile" />
|
||||||
<Content Include="default.htm" />
|
</ItemGroup>
|
||||||
<Content Include="test\byref.asp" />
|
<ItemGroup>
|
||||||
<Content Include="test\byref2.asp" />
|
<Content Include="default.htm" />
|
||||||
<Content Include="test\call.asp" />
|
<Content Include="test\byref.asp" />
|
||||||
<Content Include="test\BuiltinConstants.asp" />
|
<Content Include="test\byref2.asp" />
|
||||||
<Content Include="components\adrot.txt" />
|
<Content Include="test\call.asp" />
|
||||||
<Content Include="components\AdRotator.asp" />
|
<Content Include="test\BuiltinConstants.asp" />
|
||||||
<Content Include="components\BrowserCap.asp" />
|
<Content Include="components\adrot.txt" />
|
||||||
<Content Include="components\CDO.Asp" />
|
<Content Include="components\AdRotator.asp" />
|
||||||
<Content Include="components\clientcap.htm" />
|
<Content Include="components\BrowserCap.asp" />
|
||||||
<Content Include="components\ContentRotator.Asp" />
|
<Content Include="components\CDO.Asp" />
|
||||||
<Content Include="components\Counters\Docs\Contents.Htm" />
|
<Content Include="components\clientcap.htm" />
|
||||||
<Content Include="components\Counters\Docs\Counter1.Htm" />
|
<Content Include="components\ContentRotator.Asp" />
|
||||||
<Content Include="components\Counters\Docs\Counter2.Htm" />
|
<Content Include="components\Counters\Docs\Contents.Htm" />
|
||||||
<Content Include="components\Counters\Docs\Counter3.Htm" />
|
<Content Include="components\Counters\Docs\Counter1.Htm" />
|
||||||
<Content Include="components\Counters\Docs\Counter4.Htm" />
|
<Content Include="components\Counters\Docs\Counter2.Htm" />
|
||||||
<Content Include="components\Counters\Docs\Counter5.Htm" />
|
<Content Include="components\Counters\Docs\Counter3.Htm" />
|
||||||
<Content Include="components\Counters\Docs\Default.Htm" />
|
<Content Include="components\Counters\Docs\Counter4.Htm" />
|
||||||
<Content Include="components\Counters\Sample\Counters_JScript.Asp" />
|
<Content Include="components\Counters\Docs\Counter5.Htm" />
|
||||||
<Content Include="components\Counters\Sample\Counters_VBScript.Asp" />
|
<Content Include="components\Counters\Docs\Default.Htm" />
|
||||||
<Content Include="components\Counters\Sample\Global.Asa" />
|
<Content Include="components\Counters\Sample\Counters_JScript.Asp" />
|
||||||
<Content Include="components\Counters\TOURL.Htm" />
|
<Content Include="components\Counters\Sample\Counters_VBScript.Asp" />
|
||||||
<Content Include="components\FileSystem.Asp" />
|
<Content Include="components\Counters\Sample\Global.Asa" />
|
||||||
<Content Include="components\ie.gif" />
|
<Content Include="components\Counters\TOURL.Htm" />
|
||||||
<Content Include="components\nts_iis.gif" />
|
<Content Include="components\FileSystem.Asp" />
|
||||||
<Content Include="components\PermissionCheck.Asp" />
|
<Content Include="components\ie.gif" />
|
||||||
<Content Include="components\Tiprot.Txt" />
|
<Content Include="components\nts_iis.gif" />
|
||||||
<Content Include="components\Tools.Asp" />
|
<Content Include="components\PermissionCheck.Asp" />
|
||||||
<Content Include="test\datetest.asp" />
|
<Content Include="components\Tiprot.Txt" />
|
||||||
<Content Include="test\extension.asp" />
|
<Content Include="components\Tools.Asp" />
|
||||||
<Content Include="test\ifnull.asp" />
|
<Content Include="test\datetest.asp" />
|
||||||
<Content Include="test\imports.asp" />
|
<Content Include="test\extension.asp" />
|
||||||
<Content Include="test\StringBuilder.asp" />
|
<Content Include="test\ifnull.asp" />
|
||||||
<Content Include="test\with.asp" />
|
<Content Include="test\imports.asp" />
|
||||||
<Content Include="Database\AddDelete.asp" />
|
<Content Include="test\StringBuilder.asp" />
|
||||||
<Content Include="Database\adovbs.inc" />
|
<Content Include="test\with.asp" />
|
||||||
<Content Include="Database\Authors.mdb">
|
<Content Include="Database\AddDelete.asp" />
|
||||||
</Content>
|
<Content Include="Database\adovbs.inc" />
|
||||||
<Content Include="Database\Blob.Asp" />
|
<Content Include="Database\Authors.mdb">
|
||||||
<Content Include="Database\LimitRows.asp" />
|
</Content>
|
||||||
<Content Include="Database\MultiScrolling.asp" />
|
<Content Include="Database\Blob.Asp" />
|
||||||
<Content Include="Database\SimpleQuery.asp" />
|
<Content Include="Database\LimitRows.asp" />
|
||||||
<Content Include="Database\StoredProcedures.asp" />
|
<Content Include="Database\MultiScrolling.asp" />
|
||||||
<Content Include="Database\Update.asp" />
|
<Content Include="Database\SimpleQuery.asp" />
|
||||||
<Content Include="test\perftest2.asp" />
|
<Content Include="Database\StoredProcedures.asp" />
|
||||||
<Content Include="test\datatypes.asp" />
|
<Content Include="Database\Update.asp" />
|
||||||
<Content Include="test\forloop.asp" />
|
<Content Include="test\perftest2.asp" />
|
||||||
<Content Include="test\function.asp" />
|
<Content Include="test\datatypes.asp" />
|
||||||
<Content Include="test\if.asp" />
|
<Content Include="test\forloop.asp" />
|
||||||
<Content Include="test\literals.asp" />
|
<Content Include="test\function.asp" />
|
||||||
<Content Include="test\perftest.asp" />
|
<Content Include="test\if.asp" />
|
||||||
<Content Include="test\servervars.asp" />
|
<Content Include="test\literals.asp" />
|
||||||
<Content Include="Simple\Arrays.asp" />
|
<Content Include="test\perftest.asp" />
|
||||||
<Content Include="Simple\Components.Asp" />
|
<Content Include="test\servervars.asp" />
|
||||||
<Content Include="Simple\Conditional.asp" />
|
<Content Include="Simple\Arrays.asp" />
|
||||||
<Content Include="Simple\Functions.asp" />
|
<Content Include="Simple\Components.Asp" />
|
||||||
<Content Include="Simple\HeaderInfo.Asp" />
|
<Content Include="Simple\Conditional.asp" />
|
||||||
<Content Include="Simple\Includes.asp" />
|
<Content Include="Simple\Functions.asp" />
|
||||||
<Content Include="Simple\Looping.asp" />
|
<Content Include="Simple\HeaderInfo.Asp" />
|
||||||
<Content Include="Simple\Variables.asp" />
|
<Content Include="Simple\Includes.asp" />
|
||||||
<Content Include="Web.config" />
|
<Content Include="Simple\Looping.asp" />
|
||||||
</ItemGroup>
|
<Content Include="Simple\Variables.asp" />
|
||||||
<ItemGroup>
|
<Content Include="Web.config" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
</ItemGroup>
|
||||||
</ItemGroup>
|
<ItemGroup>
|
||||||
<ItemGroup>
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Folder Include="App_Data\" />
|
</ItemGroup>
|
||||||
</ItemGroup>
|
<ItemGroup>
|
||||||
<ItemGroup>
|
<Folder Include="App_Data\" />
|
||||||
<ProjectReference Include="..\asp\Asp.VS2010.csproj">
|
</ItemGroup>
|
||||||
<Project>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</Project>
|
<ItemGroup>
|
||||||
<Name>Asp.VS2010</Name>
|
<ProjectReference Include="..\asp\Asp.VS2010.csproj">
|
||||||
</ProjectReference>
|
<Project>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</Project>
|
||||||
</ItemGroup>
|
<Name>Asp.VS2010</Name>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
</ProjectReference>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
</ItemGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<PropertyGroup>
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||||
<Target Name="BeforeBuild">
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||||
</Target>
|
</PropertyGroup>
|
||||||
<Target Name="AfterBuild">
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
</Target>
|
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||||
-->
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||||
<ProjectExtensions>
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
<VisualStudio>
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
<Target Name="BeforeBuild">
|
||||||
<WebProjectProperties>
|
</Target>
|
||||||
<UseIIS>False</UseIIS>
|
<Target Name="AfterBuild">
|
||||||
<AutoAssignPort>True</AutoAssignPort>
|
</Target>
|
||||||
<DevelopmentServerPort>3465</DevelopmentServerPort>
|
-->
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
<ProjectExtensions>
|
||||||
<IISUrl>
|
<VisualStudio>
|
||||||
</IISUrl>
|
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
<WebProjectProperties>
|
||||||
<UseCustomServer>False</UseCustomServer>
|
<UseIIS>False</UseIIS>
|
||||||
<CustomServerUrl>
|
<AutoAssignPort>True</AutoAssignPort>
|
||||||
</CustomServerUrl>
|
<DevelopmentServerPort>3465</DevelopmentServerPort>
|
||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||||
</WebProjectProperties>
|
<IISUrl>
|
||||||
</FlavorProperties>
|
</IISUrl>
|
||||||
</VisualStudio>
|
<NTLMAuthentication>False</NTLMAuthentication>
|
||||||
</ProjectExtensions>
|
<UseCustomServer>False</UseCustomServer>
|
||||||
|
<CustomServerUrl>
|
||||||
|
</CustomServerUrl>
|
||||||
|
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||||
|
</WebProjectProperties>
|
||||||
|
</FlavorProperties>
|
||||||
|
</VisualStudio>
|
||||||
|
</ProjectExtensions>
|
||||||
</Project>
|
</Project>
|
|
@ -1,19 +0,0 @@
|
||||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<string>>" %>
|
|
||||||
|
|
||||||
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
||||||
Azure Store Products
|
|
||||||
</asp:Content>
|
|
||||||
|
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
||||||
<h1><span class="product-category"><%=User.IsInRole("Home") ? "Home" : "Enterprise"%></span> Products</h1>
|
|
||||||
<label for="items">Select a product from the list:</label>
|
|
||||||
<% using (Html.BeginForm("Add", "Home")) { %>
|
|
||||||
<select name="selectedItem" class="product-list" id="items" size="4">
|
|
||||||
<% foreach (string product in ViewData.Model)
|
|
||||||
{ %>
|
|
||||||
<option value="<%=product%>"><%=product%></option>
|
|
||||||
<% } %>
|
|
||||||
</select>
|
|
||||||
<a href="javascript:document.forms[0].submit();">Add item to cart</a>
|
|
||||||
<% } %>
|
|
||||||
</asp:Content>
|
|
|
@ -1,76 +0,0 @@
|
||||||
<%@ Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Controllers.DinnerFormViewModel>" %>
|
|
||||||
|
|
||||||
<%= Html.ValidationSummary("Please correct the errors and try again.") %>
|
|
||||||
|
|
||||||
<% using (Html.BeginForm()) { %>
|
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
|
|
||||||
<div id="dinnerDiv">
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<label for="Title">Dinner Title:</label>
|
|
||||||
<%= Html.TextBox("Title", Model.Dinner.Title) %>
|
|
||||||
<%= Html.ValidationMessage("Title", "*") %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="EventDate">Event Date:</label>
|
|
||||||
<%= Html.TextBox("EventDate", String.Format("{0:g}", Model.Dinner.EventDate)) %>
|
|
||||||
<%= Html.ValidationMessage("EventDate", "*") %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="Description">Description:</label>
|
|
||||||
<%= Html.TextArea("Description", Model.Dinner.Description) %>
|
|
||||||
<%= Html.ValidationMessage("Description", "*")%>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="Address">Address:</label>
|
|
||||||
<%= Html.TextBox("Address", Model.Dinner.Address) %>
|
|
||||||
<%= Html.ValidationMessage("Address", "*") %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="Country">Country:</label>
|
|
||||||
<%= Html.DropDownList("Country", Model.Countries) %>
|
|
||||||
<%= Html.ValidationMessage("Country", "*") %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label for="ContactPhone">Contact Phone #:</label>
|
|
||||||
<%= Html.TextBox("ContactPhone", Model.Dinner.ContactPhone) %>
|
|
||||||
<%= Html.ValidationMessage("ContactPhone", "*") %>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<%= Html.Hidden("Latitude", Model.Dinner.Latitude)%>
|
|
||||||
<%= Html.Hidden("Longitude", Model.Dinner.Longitude)%>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<input type="submit" value="Save" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="mapDiv">
|
|
||||||
<% Html.RenderPartial("Map", Model.Dinner); %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
$(document).ready(function() {
|
|
||||||
$("#Address").blur(function(evt) {
|
|
||||||
//If it's time to look for an address,
|
|
||||||
// clear out the Lat and Lon
|
|
||||||
$("#Latitude").val("");
|
|
||||||
$("#Longitude").val("");
|
|
||||||
|
|
||||||
var address = jQuery.trim($("#Address").val());
|
|
||||||
if (address.length < 1)
|
|
||||||
return;
|
|
||||||
|
|
||||||
FindAddressOnMap(address);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<% } %>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.Dinner>" %>
|
|
||||||
|
|
||||||
<% if (Model.IsHostedBy(Context.User.Identity.Name)) { %>
|
|
||||||
|
|
||||||
<%= Html.ActionLink("Edit Dinner", "Edit", new { id=Model.DinnerID })%>
|
|
||||||
|
|
|
||||||
<%= Html.ActionLink("Delete Dinner", "Delete", new { id = Model.DinnerID })%>
|
|
||||||
|
|
||||||
<% } %>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.Dinner>" %>
|
|
||||||
|
|
||||||
<script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" type="text/javascript"></script>
|
|
||||||
|
|
||||||
<script src="/Scripts/Map.js" type="text/javascript"></script>
|
|
||||||
|
|
||||||
<div id="theMap" style="width:520px">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
$(document).ready(function() {
|
|
||||||
var latitude = <%=Model.Latitude %>;
|
|
||||||
var longitude = <%=Model.Longitude %>;
|
|
||||||
|
|
||||||
if ((latitude == 0) || (longitude == 0))
|
|
||||||
LoadMap();
|
|
||||||
else
|
|
||||||
LoadMap(latitude, longitude, mapLoaded);
|
|
||||||
});
|
|
||||||
|
|
||||||
function mapLoaded() {
|
|
||||||
var title = "<%= Html.Encode(Model.Title) %>";
|
|
||||||
var address = "<%= Html.Encode(Model.Address) %>";
|
|
||||||
|
|
||||||
LoadPin(center, title, address);
|
|
||||||
map.SetZoomLevel(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
|
@ -1,36 +0,0 @@
|
||||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.Dinner>" %>
|
|
||||||
|
|
||||||
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
|
||||||
<script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
function AnimateRSVPMessage() {
|
|
||||||
$("#rsvpmsg").animate({ fontSize: "1.5em" }, 400);
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="rsvpmsg">
|
|
||||||
|
|
||||||
<% if (Request.IsAuthenticated) { %>
|
|
||||||
|
|
||||||
<% if (Model.IsUserRegistered(Context.User.Identity.Name)) { %>
|
|
||||||
|
|
||||||
<p>You are registered for this event!</p>
|
|
||||||
|
|
||||||
<% } else { %>
|
|
||||||
|
|
||||||
<%= Ajax.ActionLink( "RSVP for this event",
|
|
||||||
"Register", "RSVP",
|
|
||||||
new { id=Model.DinnerID },
|
|
||||||
new AjaxOptions { UpdateTargetId="rsvpmsg", OnSuccess="AnimateRSVPMessage" }) %>
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
<% } else { %>
|
|
||||||
|
|
||||||
<a href="/Account/Logon">Logon</a> to RSVP for this event.
|
|
||||||
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,46 +1,48 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Dynamic;
|
using System.Dynamic;
|
||||||
using Microsoft.Scripting.Hosting;
|
using Microsoft.Scripting.Hosting;
|
||||||
#if USE35
|
#if USE35
|
||||||
using Microsoft.Scripting.Ast;
|
using Microsoft.Scripting.Ast;
|
||||||
#else
|
#else
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using Dlrsoft.VBScript.Hosting;
|
using Dlrsoft.VBScript.Hosting;
|
||||||
namespace Dlrsoft.VBScript
|
namespace Dlrsoft.VBScript
|
||||||
{
|
{
|
||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
// Setup DLR ScriptRuntime with our languages. We hardcode them here
|
// Setup DLR ScriptRuntime with our languages. We hardcode them here
|
||||||
// but a .NET app looking for general language scripting would use
|
// but a .NET app looking for general language scripting would use
|
||||||
// an app.config file and ScriptRuntime.CreateFromConfiguration.
|
// an app.config file and ScriptRuntime.CreateFromConfiguration.
|
||||||
var setup = new ScriptRuntimeSetup();
|
var setup = new ScriptRuntimeSetup();
|
||||||
string qualifiedname = typeof(VBScriptContext).AssemblyQualifiedName;
|
string qualifiedname = typeof(VBScriptContext).AssemblyQualifiedName;
|
||||||
setup.LanguageSetups.Add(new LanguageSetup(
|
setup.LanguageSetups.Add(new LanguageSetup(
|
||||||
qualifiedname, "vbscript", new[] { "vbscript" }, new[] { ".vbs" }));
|
qualifiedname, "vbscript", new[] { "vbscript" }, new[] { ".vbs" }));
|
||||||
var dlrRuntime = new ScriptRuntime(setup);
|
var dlrRuntime = new ScriptRuntime(setup);
|
||||||
// Don't need to tell the DLR about the assemblies we want to be
|
// Don't need to tell the DLR about the assemblies we want to be
|
||||||
// available, which the SymplLangContext constructor passes to the
|
// available, which the SymplLangContext constructor passes to the
|
||||||
// Sympl constructor, because the DLR loads mscorlib and System by
|
// Sympl constructor, because the DLR loads mscorlib and System by
|
||||||
// default.
|
// default.
|
||||||
//dlrRuntime.LoadAssembly(typeof(object).Assembly);
|
//dlrRuntime.LoadAssembly(typeof(object).Assembly);
|
||||||
dlrRuntime.LoadAssembly(typeof(global::Dlrsoft.VBScript.Runtime.BuiltInFunctions).Assembly);
|
dlrRuntime.LoadAssembly(typeof(global::Dlrsoft.VBScript.Runtime.BuiltInFunctions).Assembly);
|
||||||
|
|
||||||
// Get a Sympl engine and run stuff ...
|
// Get a Sympl engine and run stuff ...
|
||||||
var engine = dlrRuntime.GetEngine("vbscript");
|
var engine = dlrRuntime.GetEngine("vbscript");
|
||||||
//string filename = @"..\..\test\test.vbs";
|
//string filename = @"..\..\test\test.vbs";
|
||||||
string filename = args[0];
|
string filename = args[0];
|
||||||
var scriptSource = engine.CreateScriptSourceFromFile(filename);
|
var scriptSource = engine.CreateScriptSourceFromFile(filename);
|
||||||
var compiledCode = scriptSource.Compile();
|
var compiledCode = scriptSource.Compile();
|
||||||
var feo = engine.CreateScope(); //File Level Expando Object
|
var feo = engine.CreateScope(); //File Level Expando Object
|
||||||
//feo = engine.ExecuteFile(filename, feo);
|
//feo = engine.ExecuteFile(filename, feo);
|
||||||
feo.SetVariable("response", System.Console.Out);
|
feo.SetVariable("response", System.Console.Out);
|
||||||
compiledCode.Execute(feo);
|
compiledCode.Execute(feo);
|
||||||
}
|
Console.WriteLine("Type any key to continue..");
|
||||||
}
|
Console.Read();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,78 +1,79 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}</ProjectGuid>
|
<ProjectGuid>{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}</ProjectGuid>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>Dlrsoft.VBScript</RootNamespace>
|
<RootNamespace>Dlrsoft.VBScript</RootNamespace>
|
||||||
<AssemblyName>VBSC</AssemblyName>
|
<AssemblyName>VBSC</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>..\bin\Release40\</OutputPath>
|
<OutputPath>..\bin\Release40\</OutputPath>
|
||||||
<DefineConstants>TRACE;USE35</DefineConstants>
|
<DefineConstants>TRACE;USE35</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.Dynamic">
|
<Reference Include="Microsoft.Dynamic">
|
||||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Scripting">
|
<Reference Include="Microsoft.Scripting">
|
||||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="test\array.vbs" />
|
<Content Include="test\array.vbs" />
|
||||||
<Content Include="test\builtin.vbs" />
|
<Content Include="test\builtin.vbs" />
|
||||||
<Content Include="test\foreach.vbs" />
|
<Content Include="test\datetime.vbs" />
|
||||||
<Content Include="test\dotnet.vbs" />
|
<Content Include="test\foreach.vbs" />
|
||||||
<Content Include="test\dountil.vbs" />
|
<Content Include="test\dotnet.vbs" />
|
||||||
<Content Include="test\dowhile.vbs" />
|
<Content Include="test\dountil.vbs" />
|
||||||
<Content Include="test\for.vbs" />
|
<Content Include="test\dowhile.vbs" />
|
||||||
<Content Include="test\function.vbs" />
|
<Content Include="test\for.vbs" />
|
||||||
<Content Include="test\hello.vbs" />
|
<Content Include="test\function.vbs" />
|
||||||
<Content Include="test\if.vbs" />
|
<Content Include="test\hello.vbs" />
|
||||||
<Content Include="test\new.vbs" />
|
<Content Include="test\if.vbs" />
|
||||||
<Content Include="test\sub.vbs" />
|
<Content Include="test\new.vbs" />
|
||||||
<Content Include="test\variables.vbs" />
|
<Content Include="test\sub.vbs" />
|
||||||
<Content Include="test\while.vbs" />
|
<Content Include="test\variables.vbs" />
|
||||||
</ItemGroup>
|
<Content Include="test\while.vbs" />
|
||||||
<ItemGroup>
|
</ItemGroup>
|
||||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
<ItemGroup>
|
||||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||||
<Name>VBScript.VS2010</Name>
|
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||||
</ProjectReference>
|
<Name>VBScript.VS2010</Name>
|
||||||
</ItemGroup>
|
</ProjectReference>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
</ItemGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
<Target Name="BeforeBuild">
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
</Target>
|
<Target Name="BeforeBuild">
|
||||||
<Target Name="AfterBuild">
|
</Target>
|
||||||
</Target>
|
<Target Name="AfterBuild">
|
||||||
-->
|
</Target>
|
||||||
|
-->
|
||||||
</Project>
|
</Project>
|
4
aspclassiccompiler/VBSC/test/datetime.vbs
Normal file
4
aspclassiccompiler/VBSC/test/datetime.vbs
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
imports system
|
||||||
|
|
||||||
|
dim dt = System.DateTime.Now
|
||||||
|
response.write dt.toString()
|
|
@ -1,144 +1,144 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProductVersion>9.0.30729</ProductVersion>
|
<ProductVersion>9.0.30729</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</ProjectGuid>
|
<ProjectGuid>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>Dlrsoft.Asp</RootNamespace>
|
<RootNamespace>Dlrsoft.Asp</RootNamespace>
|
||||||
<AssemblyName>Dlrsoft.Asp</AssemblyName>
|
<AssemblyName>Dlrsoft.Asp</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
<UpdateEnabled>false</UpdateEnabled>
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
<UpdateMode>Foreground</UpdateMode>
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdateInterval>7</UpdateInterval>
|
||||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
<UpdatePeriodically>false</UpdatePeriodically>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>..\bin\Debug\</OutputPath>
|
<OutputPath>..\bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>..\bin\Release40\</OutputPath>
|
<OutputPath>..\bin\Release40\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Interop.ASPTypeLibrary, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Interop.ASPTypeLibrary, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
<HintPath>..\library\40\Interop.ASPTypeLibrary.dll</HintPath>
|
<HintPath>..\library\40\Interop.ASPTypeLibrary.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.configuration" />
|
<Reference Include="System.configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Web.Abstractions" />
|
<Reference Include="System.Web.Abstractions" />
|
||||||
<Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
||||||
<Reference Include="System.Web.RegularExpressions" />
|
<Reference Include="System.Web.RegularExpressions" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Web.Routing" />
|
<Reference Include="System.Web.Routing" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AspHandlerConfiguration.cs" />
|
<Compile Include="AspHandlerConfiguration.cs" />
|
||||||
<Compile Include="AspHelper.cs" />
|
<Compile Include="AspHelper.cs" />
|
||||||
<Compile Include="AspHost.cs" />
|
<Compile Include="AspHost.cs" />
|
||||||
<Compile Include="AspHostConfiguration.cs" />
|
<Compile Include="AspHostConfiguration.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspApplication.cs" />
|
<Compile Include="BuiltInObjects\AspApplication.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspCookieCollection.cs" />
|
<Compile Include="BuiltInObjects\AspCookieCollection.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspError.cs" />
|
<Compile Include="BuiltInObjects\AspError.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspForm.cs" />
|
<Compile Include="BuiltInObjects\AspForm.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspFormValue.cs" />
|
<Compile Include="BuiltInObjects\AspFormValue.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspNameValueCollection.cs" />
|
<Compile Include="BuiltInObjects\AspNameValueCollection.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspObjectContext.cs" />
|
<Compile Include="BuiltInObjects\AspObjectContext.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspReadCookie.cs" />
|
<Compile Include="BuiltInObjects\AspReadCookie.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspRequest.cs" />
|
<Compile Include="BuiltInObjects\AspRequest.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspResponse.cs" />
|
<Compile Include="BuiltInObjects\AspResponse.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspServer.cs" />
|
<Compile Include="BuiltInObjects\AspServer.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspSession.cs" />
|
<Compile Include="BuiltInObjects\AspSession.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspStaticObjectsVariantDictionary.cs" />
|
<Compile Include="BuiltInObjects\AspStaticObjectsVariantDictionary.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspStringList.cs" />
|
<Compile Include="BuiltInObjects\AspStringList.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspVariantDictionary.cs" />
|
<Compile Include="BuiltInObjects\AspVariantDictionary.cs" />
|
||||||
<Compile Include="BuiltInObjects\AspWriteCookie.cs" />
|
<Compile Include="BuiltInObjects\AspWriteCookie.cs" />
|
||||||
<Compile Include="CompiledPage.cs" />
|
<Compile Include="CompiledPage.cs" />
|
||||||
<Compile Include="Mvc\AspView.cs" />
|
<Compile Include="Mvc\AspView.cs" />
|
||||||
<Compile Include="Mvc\AspViewEngine.cs" />
|
<Compile Include="Mvc\AspViewEngine.cs" />
|
||||||
<Compile Include="Mvc\RouteValueExtensions.cs" />
|
<Compile Include="Mvc\RouteValueExtensions.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="AspHandler.cs" />
|
<Compile Include="AspHandler.cs" />
|
||||||
<Compile Include="AspPageDom.cs" />
|
<Compile Include="AspPageDom.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.VisualBasic.PowerPacks.10.0">
|
<BootstrapperPackage Include="Microsoft.VisualBasic.PowerPacks.10.0">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Microsoft Visual Basic PowerPacks 10.0</ProductName>
|
<ProductName>Microsoft Visual Basic PowerPacks 10.0</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Windows Installer 3.1</ProductName>
|
<ProductName>Windows Installer 3.1</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||||
<Name>VBScript.VS2010</Name>
|
<Name>VBScript.VS2010</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue