在调试时,让客户请求经过IIS转发,而不是通过vs studio 服务器转发

<!--黑体部分,在项目文件(.csproj)中--> 

<Project ToolsVersion="3.5" 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>{5234EF58-7DA3-4B93-8CE4-5C9B2093015A}</ProjectGuid>
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>BizerbaManage</RootNamespace>
    <AssemblyName>BizerBarWeb</AssemblyName>
    <TargetFrameworkVersion>v3.5</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="Fonet, Version=1.0.3940.21530, Culture=neutral, PublicKeyToken=52effa152c4a9dc6, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Documents and Settings\Administrator\桌面\westsoft.data.xml\bin\Debug\Fonet.dll</HintPath>
    </Reference>
    <Reference Include="JSON.CS, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Documents and Settings\Administrator\桌面\westsoft.data.xml\bin\Debug\JSON.CS.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data.DataSetExtensions">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Web.Extensions">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Xml.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <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" />
    <Reference Include="westsoft.data.xml, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Documents and Settings\Administrator\桌面\westsoft.data.xml.dll\westsoft.data.xml.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Bizerba\Bottom_Frame.aspx" />
    <Content Include="Bizerba\Left_Frame.aspx" />
    <Content Include="Bizerba\Login.aspx" />
    <Content Include="Bizerba\Right_Frame.aspx" />
    <Content Include="Bizerba\Top_Frame.aspx" />
    <Content Include="Content\css\AStyle.css" />
    <Content Include="Content\css\Template.css" />
    <Content Include="Content\images\action_container_bg.gif" />
    <Content Include="Content\images\back_page.gif" />
    <Content Include="Content\images\back_page_un.gif" />
    <Content Include="Content\images\bg.png" />
    <Content Include="Content\images\buttom_four.gif" />
    <Content Include="Content\images\calendar.png" />
    <Content Include="Content\images\check_all.png" />
    <Content Include="Content\images\frist_page.gif" />
    <Content Include="Content\images\frist_page_un.gif" />
    <Content Include="Content\images\last_page.gif" />
    <Content Include="Content\images\last_page_un.gif" />
    <Content Include="Content\images\left_bg.jpg" />
    <Content Include="Content\images\login_logo.jpg" />
    <Content Include="Content\images\max.png" />
    <Content Include="Content\images\menu_arrow.gif" />
    <Content Include="Content\images\menu_arrow.png" />
    <Content Include="Content\images\menu_hide.png" />
    <Content Include="Content\images\menu_minus.gif" />
    <Content Include="Content\images\menu_minus.png" />
    <Content Include="Content\images\menu_minus_ie6.7.gif" />
    <Content Include="Content\images\menu_plus.gif" />
    <Content Include="Content\images\menu_plus.png" />
    <Content Include="Content\images\menu_show.png" />
    <Content Include="Content\images\min.png" />
    <Content Include="Content\images\next_page.gif" />
    <Content Include="Content\images\next_page_un.gif" />
    <Content Include="Content\images\pager.png" />
    <Content Include="Content\images\pager_selected.png" />
    <Content Include="Content\images\right_bg.jpg" />
    <Content Include="Content\images\right_bg.png" />
    <Content Include="Content\images\th_bg.gif" />
    <Content Include="Content\images\Tile.png" />
    <Content Include="Content\images\top_bottom_bg_1.jpg" />
    <Content Include="Content\images\top_bottom_bg_2.jpg" />
    <Content Include="Content\images\top_bottom_bg_3.jpg" />
    <Content Include="Content\images\top_bottom_container_bg_1.gif" />
    <Content Include="Content\images\top_bottom_container_bg_2.gif" />
    <Content Include="Content\images\top_bottom_container_bg_3.gif" />
    <Content Include="Content\images\top_logo_1.jpg" />
    <Content Include="Content\images\top_logo_2.jpg" />
    <Content Include="Content\images\top_logo_3.jpg" />
    <Content Include="Content\images\top_top_container_bg.gif" />
    <Content Include="Content\images\welcome_1.jpg" />
    <Content Include="Content\images\welcome_10.jpg" />
    <Content Include="Content\images\welcome_11.jpg" />
    <Content Include="Content\images\welcome_2.jpg" />
    <Content Include="Content\images\welcome_3.jpg" />
    <Content Include="Content\images\welcome_4.jpg" />
    <Content Include="Content\images\welcome_5.jpg" />
    <Content Include="Content\images\welcome_6.jpg" />
    <Content Include="Content\images\welcome_7.jpg" />
    <Content Include="Content\images\welcome_8.jpg" />
    <Content Include="Content\images\welcome_9.jpg" />
    <Content Include="Default.aspx" />
    <Content Include="Global.asax" />
    <Content Include="Resource\config\systemcfg.xml" />
    <Content Include="Resource\config\chs.xml" />
    <Content Include="Resource\config\en.xml" />
    <Content Include="Resource\datadef\cntdaysale1rt.xml" />
    <Content Include="Resource\datadef\datadef_data.xml" />
    <Content Include="Resource\datadef\datafmt_data.xslt" />
    <Content Include="Resource\datadef\mysql_tt.xml" />
    <Content Include="Resource\datadef\segdaysale1st.xml" />
    <Content Include="Resource\datadef\segdaysale2nd.xml" />
    <Content Include="Resource\datadef\segdaysale3rd.xml" />
    <Content Include="Resource\datafmt\datafmt_data.xslt" />
    <Content Include="Resource\datafmt\flash图.xslt" />
    <Content Include="Resource\datafmt\sqlxmldata.xslt" />
    <Content Include="Resource\datafmt\三级子表.xslt" />
    <Content Include="Resource\datafmt\单张表格.xslt" />
    <Content Include="Resource\datafmt\多表和子表.xslt" />
    <Content Include="Resource\datafmt\柱状图.xslt" />
    <Content Include="Resource\data\datadef_data.xml" />
    <Content Include="Resource\data\datadef_data\datafmt_data\2F4F4484DA7C202A86FAE3627B41891A2865E8C7.xml" />
    <Content Include="Resource\data\datadef_data\datafmt_data\2F4F4484DA7C202A86FAE3627B41891A2865E8C7.xml.txt" />
    <Content Include="Resource\data\datadef_data\datafmt_data\66814EC6B324B18C38EB81506CEA3816200ADA83.xml" />
    <Content Include="Resource\data\datadef_data\datafmt_data\66814EC6B324B18C38EB81506CEA3816200ADA83.xml.txt" />
    <Content Include="Resource\data\DATAXMLFileDEMO.xml" />
    <Content Include="Resource\data\flash图.xml" />
    <Content Include="Resource\data\mysql_tt\json\47730DC7EF5A895B160FFE88BD7884861875C3E8.xml.txt" />
    <Content Include="Resource\data\mysql_tt\json\5E76300FD0048B323ECBCB0F02C3218FF412D7D8.xml.txt" />
    <Content Include="Resource\data\sqlxmldata.xml" />
    <Content Include="Resource\data\xmldata.js" />
    <Content Include="Resource\data\三级子表.xml" />
    <Content Include="Resource\data\单张表格.xml" />
    <Content Include="Resource\data\多表和子表.xml" />
    <Content Include="Resource\data\柱状图.xml" />
    <Content Include="Resource\xml2json.xslt" />
    <Content Include="Scripts\FormEdit.js" />
    <Content Include="Scripts\GDData.js" />
    <Content Include="Scripts\Grid.js" />
    <Content Include="Scripts\jquery-1.4.1.js" />
    <Content Include="Scripts\jquery.extend-lastest.js" />
    <Content Include="Scripts\json2.js" />
    <Content Include="Scripts\Mask.js" />
    <Content Include="Scripts\New.js" />
    <Content Include="Scripts\public.js" />
    <Content Include="Scripts\tool.js" />
    <Content Include="Scripts\test.js" />
    <Content Include="Web.config" />
    <Content Include="WebForm1.aspx" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Bizerba\Bottom_Frame.aspx.cs">
      <DependentUpon>Bottom_Frame.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Bizerba\Bottom_Frame.aspx.designer.cs">
      <DependentUpon>Bottom_Frame.aspx</DependentUpon>
    </Compile>
    <Compile Include="Bizerba\Left_Frame.aspx.cs">
      <DependentUpon>Left_Frame.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Bizerba\Left_Frame.aspx.designer.cs">
      <DependentUpon>Left_Frame.aspx</DependentUpon>
    </Compile>
    <Compile Include="Bizerba\Login.aspx.cs">
      <DependentUpon>Login.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Bizerba\Login.aspx.designer.cs">
      <DependentUpon>Login.aspx</DependentUpon>
    </Compile>
    <Compile Include="Bizerba\Right_Frame.aspx.cs">
      <DependentUpon>Right_Frame.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Bizerba\Right_Frame.aspx.designer.cs">
      <DependentUpon>Right_Frame.aspx</DependentUpon>
    </Compile>
    <Compile Include="Bizerba\Top_Frame.aspx.cs">
      <DependentUpon>Top_Frame.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Bizerba\Top_Frame.aspx.designer.cs">
      <DependentUpon>Top_Frame.aspx</DependentUpon>
    </Compile>
    <Compile Include="Default.aspx.cs">
      <SubType>ASPXCodeBehind</SubType>
      <DependentUpon>Default.aspx</DependentUpon>
    </Compile>
    <Compile Include="Default.aspx.designer.cs">
      <DependentUpon>Default.aspx</DependentUpon>
    </Compile>
    <Compile Include="Filter\JsChunnel.cs" />
    <Compile Include="Filter\Filterdelegate.cs" />
    <Compile Include="Filter\Filters.cs" />
    <Compile Include="Filter\tool\xmlTool.cs" />
    <Compile Include="Filter\tool\fileSystem.cs" />
    <Compile Include="Global.asax.cs">
      <DependentUpon>Global.asax</DependentUpon>
    </Compile>
    <Compile Include="Filter\ModuleFilter.cs" />
    <Compile Include="Filter\LocalModule.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="WebForm1.aspx.cs">
      <DependentUpon>WebForm1.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="WebForm1.aspx.designer.cs">
      <DependentUpon>WebForm1.aspx</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="Content\images\Thumbs.db" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="App_Data\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.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>3089</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost/Bizerba/</IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>True</UseCustomServer>
          <CustomServerUrl>http://localhost/Bizerba/</CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>
原文地址:https://www.cnblogs.com/kuailewangzi1212/p/2170073.html