Permalink
Browse files

Allow for website to be opened in VS2010, and run generate.bat on eac…

…h build
  • Loading branch information...
1 parent 8717713 commit 046324b99bf114e754cecdb5df32fdce20093d6d @jschementi committed Apr 20, 2010
Showing with 328 additions and 4 deletions.
  1. +35 −0 Properties/AssemblyInfo.cs
  2. +30 −0 Web.Debug.config
  3. +31 −0 Web.Release.config
  4. +13 −0 Web.config
  5. +4 −0 config.bat
  6. +2 −0 generate.bat
  7. +191 −0 iron-websites.csproj
  8. +20 −0 iron-websites.sln
  9. +1 −2 python.bat
  10. +1 −2 ruby.bat
View
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("iron_websites")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("iron_websites")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("e2e34a1f-b9d9-447c-a5a9-bca7bbf57d05")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
View
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <!--
+ In the example below, the "SetAttributes" transform will change the value of
+ "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
+ finds an atrribute "name" that has a value of "MyDB".
+
+ <connectionStrings>
+ <add name="MyDB"
+ connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+ </connectionStrings>
+ -->
+ <system.web>
+ <!--
+ In the example below, the "Replace" transform will replace the entire
+ <customErrors> section of your web.config file.
+ Note that because there is only one customErrors section under the
+ <system.web> node, there is no need to use the "xdt:Locator" attribute.
+
+ <customErrors defaultRedirect="GenericError.htm"
+ mode="RemoteOnly" xdt:Transform="Replace">
+ <error statusCode="500" redirect="InternalError.htm"/>
+ </customErrors>
+ -->
+ </system.web>
+</configuration>
View
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+
+<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <!--
+ In the example below, the "SetAttributes" transform will change the value of
+ "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
+ finds an atrribute "name" that has a value of "MyDB".
+
+ <connectionStrings>
+ <add name="MyDB"
+ connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+ </connectionStrings>
+ -->
+ <system.web>
+ <compilation xdt:Transform="RemoveAttributes(debug)" />
+ <!--
+ In the example below, the "Replace" transform will replace the entire
+ <customErrors> section of your web.config file.
+ Note that because there is only one customErrors section under the
+ <system.web> node, there is no need to use the "xdt:Locator" attribute.
+
+ <customErrors defaultRedirect="GenericError.htm"
+ mode="RemoteOnly" xdt:Transform="Replace">
+ <error statusCode="500" redirect="InternalError.htm"/>
+ </customErrors>
+ -->
+ </system.web>
+</configuration>
View
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+
+<!--
+ For more information on how to configure your ASP.NET application, please visit
+ http://go.microsoft.com/fwlink/?LinkId=169433
+ -->
+
+<configuration>
+ <system.web>
+ <compilation debug="true" targetFramework="4.0" />
+ </system.web>
+
+</configuration>
View
@@ -0,0 +1,4 @@
+@echo off
+
+REM set your merlin root here
+set MERLIN_ROOT=c:\dev\vsl1s\Merlin\Main
View
@@ -1,4 +1,6 @@
@echo off
+pushd %~dp0
call %~dp0python.bat %~dp0generate.py -python
call %~dp0python.bat %~dp0generate.py -ruby
call %~dp0ruby.bat %~dp0deploy.rb
+popd
View
@@ -0,0 +1,191 @@
+<?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>
+ </ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{8125A0FD-84E7-42C9-9629-EBC3824B1407}</ProjectGuid>
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>iron_websites</RootNamespace>
+ <AssemblyName>iron-websites</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ </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="Microsoft.CSharp" />
+ <Reference Include="System.Web.DynamicData" />
+ <Reference Include="System.Web.Entity" />
+ <Reference Include="System.Web.ApplicationServices" />
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <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" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="css\lang.css" />
+ <Content Include="css\master.css" />
+ <Content Include="css\rst.css" />
+ <Content Include="css\sticky-footer.css" />
+ <Content Include="images\arrow-dark.png" />
+ <Content Include="images\arrow-light.png" />
+ <Content Include="images\btn_getstarted.png" />
+ <Content Include="images\code-snippet-bg.png" />
+ <Content Include="images\download-ironpython.png" />
+ <Content Include="images\download-ironruby.png" />
+ <Content Include="images\ironpython-design-thumb.PNG" />
+ <Content Include="images\ironpython-design.PNG" />
+ <Content Include="images\ironpython-logo-202x50.png" />
+ <Content Include="images\ironpython-logo-383x95.png" />
+ <Content Include="images\ironpython-tools-wpf-500.png" />
+ <Content Include="images\ironpython-tools-wpf.png" />
+ <Content Include="images\ironpython-tutorial.jpg" />
+ <Content Include="images\ironruby-design-thumb.PNG" />
+ <Content Include="images\ironruby-design.PNG" />
+ <Content Include="images\ironruby-logo-202x50.png" />
+ <Content Include="images\ironruby-logo-383x95.png" />
+ <Content Include="images\ironruby-tools-rails-500.png" />
+ <Content Include="images\ironruby-tools-rails.PNG" />
+ <Content Include="images\ironruby-tutorial.jpg" />
+ <Content Include="images\trypythoninbrowser-290x100.png" />
+ <Content Include="index.html" />
+ <Content Include="python\browser\getting-started\01_ruby.html" />
+ <Content Include="python\browser\getting-started\02_python.html" />
+ <Content Include="python\browser\getting-started\03_xaml.html" />
+ <Content Include="python\browser\getting-started\04_animation.html" />
+ <Content Include="python\browser\getting-started\05_final.html" />
+ <Content Include="python\browser\new-index.html" />
+ <Content Include="python\documentation\dotnet\docutils.css" />
+ <Content Include="python\documentation\dotnet\dotnet.html" />
+ <Content Include="python\documentation\dotnet\index.html" />
+ <Content Include="python\documentation\images\ironpythoninaction-100x75.jpg" />
+ <Content Include="python\nostalgia\index.html" />
+ <Content Include="python\support\articles.html" />
+ <Content Include="python\try\index.html" />
+ <Content Include="python\tutorial\index.html" />
+ <Content Include="ruby\announcements\index.html" />
+ <Content Include="ruby\browser\docs.html" />
+ <Content Include="ruby\browser\download.html" />
+ <Content Include="ruby\browser\examples.html" />
+ <Content Include="ruby\browser\gettingstarted.html" />
+ <Content Include="ruby\browser\index.html" />
+ <Content Include="ruby\browser\new-index.html" />
+ <Content Include="ruby\browser\spec.v2.html" />
+ <Content Include="ruby\documentation\index.html" />
+ <Content Include="ruby\download\index.html" />
+ <Content Include="ruby\index.html" />
+ <Content Include="ruby\old.html" />
+ <Content Include="ruby\support\articles.html" />
+ <Content Include="ruby\support\index.html" />
+ <Content Include="ruby\tools\index.html" />
+ <Content Include="ruby\try\index.html" />
+ <Content Include="ruby\tutorial\index.html" />
+ <Content Include="templates\download.html" />
+ <Content Include="templates\home.html" />
+ <Content Include="templates\layout.html" />
+ <Content Include="templates\nav.html" />
+ <Content Include="templates\page.html" />
+ <Content Include="Web.config" />
+ <Content Include="Web.Debug.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ <Content Include="Web.Release.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </Content>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="python\announcements\index.rst" />
+ <None Include="python\browser\docs.rst" />
+ <None Include="python\browser\download.rst" />
+ <None Include="python\browser\examples.rst" />
+ <Content Include="python\browser\gestalt-20091120.zip" />
+ <Content Include="python\browser\gestalt-20100305.zip" />
+ <None Include="python\browser\gettingstarted.rst" />
+ <None Include="python\browser\index.rst" />
+ <None Include="python\browser\nav.py" />
+ <None Include="python\browser\sl-back-to-just-text.pdf" />
+ <None Include="python\browser\spec.v2.rst" />
+ <None Include="python\documentation\index.rst" />
+ <Content Include="python\download\aspnet-201001\web.config" />
+ <None Include="python\download\index.rst" />
+ <None Include="python\index.rst" />
+ <Content Include="python\nostalgia\IronPython-0.6.zip" />
+ <None Include="python\support\index.rst" />
+ <None Include="python\tools\index.rst" />
+ <None Include="python\tools\nav.py" />
+ <None Include="ruby\announcements\index.rst" />
+ <None Include="ruby\browser\docs.rst" />
+ <None Include="ruby\browser\download.rst" />
+ <None Include="ruby\browser\examples.rst" />
+ <None Include="ruby\browser\gettingstarted.rst" />
+ <None Include="ruby\browser\index.rst" />
+ <None Include="ruby\browser\nav.py" />
+ <None Include="ruby\browser\spec.v2.rst" />
+ <None Include="ruby\documentation\index.rst" />
+ <None Include="ruby\download\index.rst" />
+ <None Include="ruby\index.rst" />
+ <None Include="ruby\support\index.rst" />
+ <None Include="ruby\tools\index.rst" />
+ <None Include="ruby\tools\nav.py" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>True</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>3610</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost/iron-websites</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <UseCustomServer>False</UseCustomServer>
+ <CustomServerUrl>
+ </CustomServerUrl>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+ <PropertyGroup>
+ <PostBuildEvent>$(ProjectDir)generate.bat</PostBuildEvent>
+ </PropertyGroup>
+ <!-- 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>
View
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iron-websites", "iron-websites.csproj", "{8125A0FD-84E7-42C9-9629-EBC3824B1407}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8125A0FD-84E7-42C9-9629-EBC3824B1407}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8125A0FD-84E7-42C9-9629-EBC3824B1407}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8125A0FD-84E7-42C9-9629-EBC3824B1407}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8125A0FD-84E7-42C9-9629-EBC3824B1407}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
@@ -1,4 +1,3 @@
@echo off
+call %~dp0config.bat
%merlin_root%\..\External.LCA_RESTRICTED\Languages\CPython\26\python.exe %*
-rem %merlin_root%\Bin\Debug\ipy.exe %*
-rem c:\Python26\python.exe %*
View
@@ -1,4 +1,3 @@
@echo off
+call %~dp0config.bat
%merlin_root%\..\External.LCA_RESTRICTED\Languages\Ruby\ruby-1.8.6p368\bin\ruby.exe %*
-rem %merlin_root%\Bin\Debug\ir.exe %*
-rem c:\ruby\bin\ruby.exe %*

0 comments on commit 046324b

Please sign in to comment.