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
|
||||
# Visual Studio 2010
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{244AF685-4E12-4893-89DA-939A2964C0FB}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
License.txt = License.txt
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Parser.VS2010", "Parser\Parser.VS2010.vbproj", "{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBScript.VS2010", "VBScript\VBScript.VS2010.csproj", "{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asp.VS2010", "asp\Asp.VS2010.csproj", "{F076A2D0-5200-42D7-9AEA-9E1260EFB138}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspWebApp.VS2010", "AspWebApp\AspWebApp.VS2010.csproj", "{24BF0EA3-2D82-4E85-B13D-EA9279F58812}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBSC.VS2010", "VBSC\VBSC.VS2010.csproj", "{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{244AF685-4E12-4893-89DA-939A2964C0FB}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
License.txt = License.txt
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Parser.VS2010", "Parser\Parser.VS2010.vbproj", "{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBScript.VS2010", "VBScript\VBScript.VS2010.csproj", "{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Asp.VS2010", "asp\Asp.VS2010.csproj", "{F076A2D0-5200-42D7-9AEA-9E1260EFB138}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspWebApp.VS2010", "AspWebApp\AspWebApp.VS2010.csproj", "{24BF0EA3-2D82-4E85-B13D-EA9279F58812}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBSC.VS2010", "VBSC\VBSC.VS2010.csproj", "{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{57A0B340-BDA4-4DE3-B449-52B8C51D84B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F076A2D0-5200-42D7-9AEA-9E1260EFB138}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{24BF0EA3-2D82-4E85-B13D-EA9279F58812}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,158 +1,165 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{24BF0EA3-2D82-4E85-B13D-EA9279F58812}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AspWebApp</RootNamespace>
|
||||
<AssemblyName>AspWebApp</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.Mobile" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="default.htm" />
|
||||
<Content Include="test\byref.asp" />
|
||||
<Content Include="test\byref2.asp" />
|
||||
<Content Include="test\call.asp" />
|
||||
<Content Include="test\BuiltinConstants.asp" />
|
||||
<Content Include="components\adrot.txt" />
|
||||
<Content Include="components\AdRotator.asp" />
|
||||
<Content Include="components\BrowserCap.asp" />
|
||||
<Content Include="components\CDO.Asp" />
|
||||
<Content Include="components\clientcap.htm" />
|
||||
<Content Include="components\ContentRotator.Asp" />
|
||||
<Content Include="components\Counters\Docs\Contents.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter1.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter2.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter3.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter4.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter5.Htm" />
|
||||
<Content Include="components\Counters\Docs\Default.Htm" />
|
||||
<Content Include="components\Counters\Sample\Counters_JScript.Asp" />
|
||||
<Content Include="components\Counters\Sample\Counters_VBScript.Asp" />
|
||||
<Content Include="components\Counters\Sample\Global.Asa" />
|
||||
<Content Include="components\Counters\TOURL.Htm" />
|
||||
<Content Include="components\FileSystem.Asp" />
|
||||
<Content Include="components\ie.gif" />
|
||||
<Content Include="components\nts_iis.gif" />
|
||||
<Content Include="components\PermissionCheck.Asp" />
|
||||
<Content Include="components\Tiprot.Txt" />
|
||||
<Content Include="components\Tools.Asp" />
|
||||
<Content Include="test\datetest.asp" />
|
||||
<Content Include="test\extension.asp" />
|
||||
<Content Include="test\ifnull.asp" />
|
||||
<Content Include="test\imports.asp" />
|
||||
<Content Include="test\StringBuilder.asp" />
|
||||
<Content Include="test\with.asp" />
|
||||
<Content Include="Database\AddDelete.asp" />
|
||||
<Content Include="Database\adovbs.inc" />
|
||||
<Content Include="Database\Authors.mdb">
|
||||
</Content>
|
||||
<Content Include="Database\Blob.Asp" />
|
||||
<Content Include="Database\LimitRows.asp" />
|
||||
<Content Include="Database\MultiScrolling.asp" />
|
||||
<Content Include="Database\SimpleQuery.asp" />
|
||||
<Content Include="Database\StoredProcedures.asp" />
|
||||
<Content Include="Database\Update.asp" />
|
||||
<Content Include="test\perftest2.asp" />
|
||||
<Content Include="test\datatypes.asp" />
|
||||
<Content Include="test\forloop.asp" />
|
||||
<Content Include="test\function.asp" />
|
||||
<Content Include="test\if.asp" />
|
||||
<Content Include="test\literals.asp" />
|
||||
<Content Include="test\perftest.asp" />
|
||||
<Content Include="test\servervars.asp" />
|
||||
<Content Include="Simple\Arrays.asp" />
|
||||
<Content Include="Simple\Components.Asp" />
|
||||
<Content Include="Simple\Conditional.asp" />
|
||||
<Content Include="Simple\Functions.asp" />
|
||||
<Content Include="Simple\HeaderInfo.Asp" />
|
||||
<Content Include="Simple\Includes.asp" />
|
||||
<Content Include="Simple\Looping.asp" />
|
||||
<Content Include="Simple\Variables.asp" />
|
||||
<Content Include="Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\asp\Asp.VS2010.csproj">
|
||||
<Project>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</Project>
|
||||
<Name>Asp.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>False</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>3465</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>
|
||||
</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{24BF0EA3-2D82-4E85-B13D-EA9279F58812}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AspWebApp</RootNamespace>
|
||||
<AssemblyName>AspWebApp</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>4.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Web.Mobile" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="default.htm" />
|
||||
<Content Include="test\byref.asp" />
|
||||
<Content Include="test\byref2.asp" />
|
||||
<Content Include="test\call.asp" />
|
||||
<Content Include="test\BuiltinConstants.asp" />
|
||||
<Content Include="components\adrot.txt" />
|
||||
<Content Include="components\AdRotator.asp" />
|
||||
<Content Include="components\BrowserCap.asp" />
|
||||
<Content Include="components\CDO.Asp" />
|
||||
<Content Include="components\clientcap.htm" />
|
||||
<Content Include="components\ContentRotator.Asp" />
|
||||
<Content Include="components\Counters\Docs\Contents.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter1.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter2.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter3.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter4.Htm" />
|
||||
<Content Include="components\Counters\Docs\Counter5.Htm" />
|
||||
<Content Include="components\Counters\Docs\Default.Htm" />
|
||||
<Content Include="components\Counters\Sample\Counters_JScript.Asp" />
|
||||
<Content Include="components\Counters\Sample\Counters_VBScript.Asp" />
|
||||
<Content Include="components\Counters\Sample\Global.Asa" />
|
||||
<Content Include="components\Counters\TOURL.Htm" />
|
||||
<Content Include="components\FileSystem.Asp" />
|
||||
<Content Include="components\ie.gif" />
|
||||
<Content Include="components\nts_iis.gif" />
|
||||
<Content Include="components\PermissionCheck.Asp" />
|
||||
<Content Include="components\Tiprot.Txt" />
|
||||
<Content Include="components\Tools.Asp" />
|
||||
<Content Include="test\datetest.asp" />
|
||||
<Content Include="test\extension.asp" />
|
||||
<Content Include="test\ifnull.asp" />
|
||||
<Content Include="test\imports.asp" />
|
||||
<Content Include="test\StringBuilder.asp" />
|
||||
<Content Include="test\with.asp" />
|
||||
<Content Include="Database\AddDelete.asp" />
|
||||
<Content Include="Database\adovbs.inc" />
|
||||
<Content Include="Database\Authors.mdb">
|
||||
</Content>
|
||||
<Content Include="Database\Blob.Asp" />
|
||||
<Content Include="Database\LimitRows.asp" />
|
||||
<Content Include="Database\MultiScrolling.asp" />
|
||||
<Content Include="Database\SimpleQuery.asp" />
|
||||
<Content Include="Database\StoredProcedures.asp" />
|
||||
<Content Include="Database\Update.asp" />
|
||||
<Content Include="test\perftest2.asp" />
|
||||
<Content Include="test\datatypes.asp" />
|
||||
<Content Include="test\forloop.asp" />
|
||||
<Content Include="test\function.asp" />
|
||||
<Content Include="test\if.asp" />
|
||||
<Content Include="test\literals.asp" />
|
||||
<Content Include="test\perftest.asp" />
|
||||
<Content Include="test\servervars.asp" />
|
||||
<Content Include="Simple\Arrays.asp" />
|
||||
<Content Include="Simple\Components.Asp" />
|
||||
<Content Include="Simple\Conditional.asp" />
|
||||
<Content Include="Simple\Functions.asp" />
|
||||
<Content Include="Simple\HeaderInfo.Asp" />
|
||||
<Content Include="Simple\Includes.asp" />
|
||||
<Content Include="Simple\Looping.asp" />
|
||||
<Content Include="Simple\Variables.asp" />
|
||||
<Content Include="Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\asp\Asp.VS2010.csproj">
|
||||
<Project>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</Project>
|
||||
<Name>Asp.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>False</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>3465</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>
|
||||
</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</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.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Dynamic;
|
||||
using Microsoft.Scripting.Hosting;
|
||||
#if USE35
|
||||
using Microsoft.Scripting.Ast;
|
||||
#else
|
||||
using System.Linq.Expressions;
|
||||
#endif
|
||||
|
||||
using Dlrsoft.VBScript.Hosting;
|
||||
namespace Dlrsoft.VBScript
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Setup DLR ScriptRuntime with our languages. We hardcode them here
|
||||
// but a .NET app looking for general language scripting would use
|
||||
// an app.config file and ScriptRuntime.CreateFromConfiguration.
|
||||
var setup = new ScriptRuntimeSetup();
|
||||
string qualifiedname = typeof(VBScriptContext).AssemblyQualifiedName;
|
||||
setup.LanguageSetups.Add(new LanguageSetup(
|
||||
qualifiedname, "vbscript", new[] { "vbscript" }, new[] { ".vbs" }));
|
||||
var dlrRuntime = new ScriptRuntime(setup);
|
||||
// Don't need to tell the DLR about the assemblies we want to be
|
||||
// available, which the SymplLangContext constructor passes to the
|
||||
// Sympl constructor, because the DLR loads mscorlib and System by
|
||||
// default.
|
||||
//dlrRuntime.LoadAssembly(typeof(object).Assembly);
|
||||
dlrRuntime.LoadAssembly(typeof(global::Dlrsoft.VBScript.Runtime.BuiltInFunctions).Assembly);
|
||||
|
||||
// Get a Sympl engine and run stuff ...
|
||||
var engine = dlrRuntime.GetEngine("vbscript");
|
||||
//string filename = @"..\..\test\test.vbs";
|
||||
string filename = args[0];
|
||||
var scriptSource = engine.CreateScriptSourceFromFile(filename);
|
||||
var compiledCode = scriptSource.Compile();
|
||||
var feo = engine.CreateScope(); //File Level Expando Object
|
||||
//feo = engine.ExecuteFile(filename, feo);
|
||||
feo.SetVariable("response", System.Console.Out);
|
||||
compiledCode.Execute(feo);
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Dynamic;
|
||||
using Microsoft.Scripting.Hosting;
|
||||
#if USE35
|
||||
using Microsoft.Scripting.Ast;
|
||||
#else
|
||||
using System.Linq.Expressions;
|
||||
#endif
|
||||
|
||||
using Dlrsoft.VBScript.Hosting;
|
||||
namespace Dlrsoft.VBScript
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Setup DLR ScriptRuntime with our languages. We hardcode them here
|
||||
// but a .NET app looking for general language scripting would use
|
||||
// an app.config file and ScriptRuntime.CreateFromConfiguration.
|
||||
var setup = new ScriptRuntimeSetup();
|
||||
string qualifiedname = typeof(VBScriptContext).AssemblyQualifiedName;
|
||||
setup.LanguageSetups.Add(new LanguageSetup(
|
||||
qualifiedname, "vbscript", new[] { "vbscript" }, new[] { ".vbs" }));
|
||||
var dlrRuntime = new ScriptRuntime(setup);
|
||||
// Don't need to tell the DLR about the assemblies we want to be
|
||||
// available, which the SymplLangContext constructor passes to the
|
||||
// Sympl constructor, because the DLR loads mscorlib and System by
|
||||
// default.
|
||||
//dlrRuntime.LoadAssembly(typeof(object).Assembly);
|
||||
dlrRuntime.LoadAssembly(typeof(global::Dlrsoft.VBScript.Runtime.BuiltInFunctions).Assembly);
|
||||
|
||||
// Get a Sympl engine and run stuff ...
|
||||
var engine = dlrRuntime.GetEngine("vbscript");
|
||||
//string filename = @"..\..\test\test.vbs";
|
||||
string filename = args[0];
|
||||
var scriptSource = engine.CreateScriptSourceFromFile(filename);
|
||||
var compiledCode = scriptSource.Compile();
|
||||
var feo = engine.CreateScope(); //File Level Expando Object
|
||||
//feo = engine.ExecuteFile(filename, feo);
|
||||
feo.SetVariable("response", System.Console.Out);
|
||||
compiledCode.Execute(feo);
|
||||
Console.WriteLine("Type any key to continue..");
|
||||
Console.Read();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,78 +1,79 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Dlrsoft.VBScript</RootNamespace>
|
||||
<AssemblyName>VBSC</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\Release40\</OutputPath>
|
||||
<DefineConstants>TRACE;USE35</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Dynamic">
|
||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting">
|
||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="test\array.vbs" />
|
||||
<Content Include="test\builtin.vbs" />
|
||||
<Content Include="test\foreach.vbs" />
|
||||
<Content Include="test\dotnet.vbs" />
|
||||
<Content Include="test\dountil.vbs" />
|
||||
<Content Include="test\dowhile.vbs" />
|
||||
<Content Include="test\for.vbs" />
|
||||
<Content Include="test\function.vbs" />
|
||||
<Content Include="test\hello.vbs" />
|
||||
<Content Include="test\if.vbs" />
|
||||
<Content Include="test\new.vbs" />
|
||||
<Content Include="test\sub.vbs" />
|
||||
<Content Include="test\variables.vbs" />
|
||||
<Content Include="test\while.vbs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||
<Name>VBScript.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{556BAE6E-AA67-48C7-ACD6-1AB0AA930197}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Dlrsoft.VBScript</RootNamespace>
|
||||
<AssemblyName>VBSC</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\Release40\</OutputPath>
|
||||
<DefineConstants>TRACE;USE35</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Dynamic">
|
||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting">
|
||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="test\array.vbs" />
|
||||
<Content Include="test\builtin.vbs" />
|
||||
<Content Include="test\datetime.vbs" />
|
||||
<Content Include="test\foreach.vbs" />
|
||||
<Content Include="test\dotnet.vbs" />
|
||||
<Content Include="test\dountil.vbs" />
|
||||
<Content Include="test\dowhile.vbs" />
|
||||
<Content Include="test\for.vbs" />
|
||||
<Content Include="test\function.vbs" />
|
||||
<Content Include="test\hello.vbs" />
|
||||
<Content Include="test\if.vbs" />
|
||||
<Content Include="test\new.vbs" />
|
||||
<Content Include="test\sub.vbs" />
|
||||
<Content Include="test\variables.vbs" />
|
||||
<Content Include="test\while.vbs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||
<Name>VBScript.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</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"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Dlrsoft.Asp</RootNamespace>
|
||||
<AssemblyName>Dlrsoft.Asp</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\Release40\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Interop.ASPTypeLibrary, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
<HintPath>..\library\40\Interop.ASPTypeLibrary.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Web" />
|
||||
<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.RegularExpressions" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Web.Routing" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AspHandlerConfiguration.cs" />
|
||||
<Compile Include="AspHelper.cs" />
|
||||
<Compile Include="AspHost.cs" />
|
||||
<Compile Include="AspHostConfiguration.cs" />
|
||||
<Compile Include="BuiltInObjects\AspApplication.cs" />
|
||||
<Compile Include="BuiltInObjects\AspCookieCollection.cs" />
|
||||
<Compile Include="BuiltInObjects\AspError.cs" />
|
||||
<Compile Include="BuiltInObjects\AspForm.cs" />
|
||||
<Compile Include="BuiltInObjects\AspFormValue.cs" />
|
||||
<Compile Include="BuiltInObjects\AspNameValueCollection.cs" />
|
||||
<Compile Include="BuiltInObjects\AspObjectContext.cs" />
|
||||
<Compile Include="BuiltInObjects\AspReadCookie.cs" />
|
||||
<Compile Include="BuiltInObjects\AspRequest.cs" />
|
||||
<Compile Include="BuiltInObjects\AspResponse.cs" />
|
||||
<Compile Include="BuiltInObjects\AspServer.cs" />
|
||||
<Compile Include="BuiltInObjects\AspSession.cs" />
|
||||
<Compile Include="BuiltInObjects\AspStaticObjectsVariantDictionary.cs" />
|
||||
<Compile Include="BuiltInObjects\AspStringList.cs" />
|
||||
<Compile Include="BuiltInObjects\AspVariantDictionary.cs" />
|
||||
<Compile Include="BuiltInObjects\AspWriteCookie.cs" />
|
||||
<Compile Include="CompiledPage.cs" />
|
||||
<Compile Include="Mvc\AspView.cs" />
|
||||
<Compile Include="Mvc\AspViewEngine.cs" />
|
||||
<Compile Include="Mvc\RouteValueExtensions.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="AspHandler.cs" />
|
||||
<Compile Include="AspPageDom.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.VisualBasic.PowerPacks.10.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft Visual Basic PowerPacks 10.0</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||
<Name>VBScript.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{F076A2D0-5200-42D7-9AEA-9E1260EFB138}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Dlrsoft.Asp</RootNamespace>
|
||||
<AssemblyName>Dlrsoft.Asp</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\Release40\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Interop.ASPTypeLibrary, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
<HintPath>..\library\40\Interop.ASPTypeLibrary.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\library\40\Microsoft.Dynamic.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\library\40\Microsoft.Scripting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Abstractions" />
|
||||
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
||||
<Reference Include="System.Web.RegularExpressions" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Web.Routing" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AspHandlerConfiguration.cs" />
|
||||
<Compile Include="AspHelper.cs" />
|
||||
<Compile Include="AspHost.cs" />
|
||||
<Compile Include="AspHostConfiguration.cs" />
|
||||
<Compile Include="BuiltInObjects\AspApplication.cs" />
|
||||
<Compile Include="BuiltInObjects\AspCookieCollection.cs" />
|
||||
<Compile Include="BuiltInObjects\AspError.cs" />
|
||||
<Compile Include="BuiltInObjects\AspForm.cs" />
|
||||
<Compile Include="BuiltInObjects\AspFormValue.cs" />
|
||||
<Compile Include="BuiltInObjects\AspNameValueCollection.cs" />
|
||||
<Compile Include="BuiltInObjects\AspObjectContext.cs" />
|
||||
<Compile Include="BuiltInObjects\AspReadCookie.cs" />
|
||||
<Compile Include="BuiltInObjects\AspRequest.cs" />
|
||||
<Compile Include="BuiltInObjects\AspResponse.cs" />
|
||||
<Compile Include="BuiltInObjects\AspServer.cs" />
|
||||
<Compile Include="BuiltInObjects\AspSession.cs" />
|
||||
<Compile Include="BuiltInObjects\AspStaticObjectsVariantDictionary.cs" />
|
||||
<Compile Include="BuiltInObjects\AspStringList.cs" />
|
||||
<Compile Include="BuiltInObjects\AspVariantDictionary.cs" />
|
||||
<Compile Include="BuiltInObjects\AspWriteCookie.cs" />
|
||||
<Compile Include="CompiledPage.cs" />
|
||||
<Compile Include="Mvc\AspView.cs" />
|
||||
<Compile Include="Mvc\AspViewEngine.cs" />
|
||||
<Compile Include="Mvc\RouteValueExtensions.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="AspHandler.cs" />
|
||||
<Compile Include="AspPageDom.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.VisualBasic.PowerPacks.10.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft Visual Basic PowerPacks 10.0</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VBScript\VBScript.VS2010.csproj">
|
||||
<Project>{0846368D-EA96-4AC4-81AF-E4F9B78CE60B}</Project>
|
||||
<Name>VBScript.VS2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- 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.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
Loading…
Add table
Reference in a new issue