Skip to content

Commit

Permalink
使用VS开发服务器(以避免 IISEx 多个解决方案副本的干扰冲突)手动转换成 WebApplication 可运行:
Browse files Browse the repository at this point in the history
使用了最新版的 LitJson ,并对主要代码做了适应性的更改。
合并并移动了 Config.cs 的位置,以便兼容 WebApplication 项目 的编译模式。
在 WebConfig 中指定了部分引用程序集的版本要求,以便兼容 VS Web开发服务器。
  • Loading branch information
Jiuyong committed Jul 3, 2014
1 parent 3796316 commit fbc32f7
Show file tree
Hide file tree
Showing 5 changed files with 1,315 additions and 24 deletions.
27 changes: 3 additions & 24 deletions src/RoadFlow/RoadFlow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyCache.IO", "MyCache.IO\My
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyCache.InProc", "MyCache.InProc\MyCache.InProc.csproj", "{85CE9C4B-0E05-4951-83C0-BBB65F43DF28}"
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Web", "http://localhost:4502", "{718F3D35-47C9-405F-B852-51FF6F07D76D}"
ProjectSection(WebsiteProperties) = preProject
UseIISExpress = "true"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
ProjectReferences = "{4853EEE1-204A-4501-A2A6-7D14CA7DCD0E}|Business.Platform.dll;{1E605362-7767-45F9-9BC1-F8E495FA3F4E}|MyCache.Factory.dll;{85CE9C4B-0E05-4951-83C0-BBB65F43DF28}|MyCache.InProc.dll;{C3F609A8-6A7B-4BFF-9E21-02B785AD4F20}|MyCache.Interface.dll;{41C4C5A0-0CF3-4E8F-9339-1F557C6D5A0F}|MyCache.IO.dll;{C34A6499-929A-4F0E-B1BA-2A6A9734888E}|Data.Factory.dll;{7F7EC855-EE2F-4EF5-861B-DA945961C1A2}|Data.Interface.dll;{75FB2C86-F7D3-4E94-82E9-46DD9787B39D}|Data.Model.dll;{EFCD6A7C-C598-4BBD-BDC6-3016AAABD26C}|Data.MSSQL.dll;{CE3B0ADB-736E-4A7B-BEDE-801C9104F95E}|Utility.dll;"
Debug.AspNetCompiler.VirtualPath = "/Web"
Debug.AspNetCompiler.PhysicalPath = "Web\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/Web"
Release.AspNetCompiler.PhysicalPath = "Web\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "Web\"
DefaultWebSiteLanguage = "Visual C#"
EndProjectSection
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{718F3D35-47C9-405F-B852-51FF6F07D76D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Document", "Document", "{4504FC74-BED7-4A2E-879B-F31DFC22D9F0}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -107,8 +86,8 @@ Global
{85CE9C4B-0E05-4951-83C0-BBB65F43DF28}.Release|Any CPU.Build.0 = Release|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Release|Any CPU.Build.0 = Debug|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{718F3D35-47C9-405F-B852-51FF6F07D76D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
12 changes: 12 additions & 0 deletions src/RoadFlow/Web/App_Code/Config.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Config 的摘要说明
/// </summary>
public class Config
{
public static string[] ImageSavePath = new string[] { "upload1", "upload2", "upload3" };
}
35 changes: 35 additions & 0 deletions src/RoadFlow/Web/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("站点")]
[assembly: AssemblyDescription("先进的.NET开源工作流快速开发平台。")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("RoadFlow")]
[assembly: AssemblyProduct("Web")]
[assembly: AssemblyCopyright("版权所有(C) RoadFlow 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// 将 ComVisible 设置为 false 会使此程序集中的类型
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的某个类型,
// 请针对该类型将 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]

// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("42d04389-ef46-42f4-8ae4-ed174b7b4cdc")]

// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 内部版本号
// 修订号
//
// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
// 方法是按如下所示使用“*”:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Loading

0 comments on commit fbc32f7

Please sign in to comment.