Web Application Development with ASP.NET and C# XXXXXXXXXXCEIL-865 LAB #4 – Using ASP.NET Validation controls and Error Handling Student: ______________________ Purpose:The purpose of this Lab...

1 answer below »
This is a small lab assignment weekly and I do not know many pages it will take so I estimate about 3 pages at max. The number of pages/words can be changed.


Web Application Development with ASP.NET and C# CEIL-865 LAB #4 – Using ASP.NET Validation controls and Error Handling Student: ______________________ Purpose:The purpose of this Lab assignment is to: Use Validation controls in ASP.NET applications and Practice Error Handling References: Textbook. Lecture notes This assignment may be completed individually by all the students. Submit the solution in a zip file using assignment link on blackboard. Exercise #1 Your project manager has asked you to create the shipping form for a Shopping cart application. Create the form for the visitor’s name, address, phone, province, and email address. Use the ASP.NET validation controls to validate the form. Modify the error messages to indicate the error to visitor. Once the page is validated, direct the user to another form and display a thank you message to the visitor. Lab #4 Page 1 of 1 Overview of the Web Application Development with ASP.NET and C# CEIL-865 Lesson Week#1,2: Introduction to .NET and ASP.NET Based on chapters 4,5. In this lecture you will learn about Web programming in .NET. Visual Studio Help Documentation, MSDN and .NET (www.asp.net) documentation is used extensively throughout these notes to assure the correctness of definitions, concepts and terms. Objectives Upon the completion of this work the learner will have a good understanding of web programming in .NET. The student will be introduced to AP.NET component model, event-driven programming, ASP.NET development stack and ASP.NET provider model. Introduction to ASP.NET   ASP.NET is the new Microsoft’s server-side technology that can be used to create dynamic and interactive Web applications. An ASP.NET program is designed to run on any web server such as IIS, etc. ASP.NET is replacing the old server-side scripting technology, Active Server Pages, which is very tied to IIS and is based on server-side scripting languages, such as VBScript or JavaScript.   ASP.NET programs are CLR (Common Language Runtime) compiled code and have all the advantages of .NET languages. The actual implementation of ASP.NET provides support for VB.NET, C#.NET and JScript.NET. Common Language Runtime provides the infrastructure that enables execution to take place as well as a variety of services that can be used during execution. Language compilers and tools that target the runtime use a common type system defined by the runtime. When an ASP.NET page is first requested, it is compiled and cached on the server. This brings better performance. Compiled code allows just-in-time (JIT) compiling to native code.   ASP.NET offers more flexibility than ASP because the entire .NET Framework is made available to ASP.NET developers. This allows you to separate the application logic from presentation layer and also to take advantage of the common Visual Basic model of event-driven programming.   ASP.NET and HTTP Methods   When the user requests an ASP.NET page (an .aspx file) from a browser, the browser sends an HTTP request to IIS . The IIS passes the request to worker process, which passes it to the HTTPHandlers defined in the configuration file Web.config.   The ASP.NET file is read from the cache or disk (if it’s the first time), loaded into memory and executed. ASP.NET generates an HTML output and sends it to IIS, which returns it to the browser.  Figure 1.1. ASP.NET model   The two most common HTTP request methods are GET and POST: · A GET request gets (retrieves) information from the server. Common uses of GET requests are to retrieve an HTML document or an image. · A POST request posts (or sends) data to the server. Common uses of POST are to send to the server information from an HTML form in which the client has entered data. ASP.NET and the Web Servers   You may run the ASP.NET pages on IIS (Internet Information Server) that comes with Windows XP/7. When you install the Web Server, the installation wizard creates a default home directory C:\Inetpub\wwwroot, which will be used to store your .aspx files. Using the Internet Services Manager you can create as many virtual directories as you want and store your ASP.NET files into them. In order to be able to test ASP.NET programs the web developer must have administrator privileges on the computer running IIS.   To write an ASP.NET page you may use any text editor or the Visual Studio.NET IDE. Microsoft provides for free a very simple and useful tool that can make it easy for you to write ASP.NET applications. It’s called Visual Web Developer 2010 Express Edition. We will be using VWD 2010 Express edition in our course. The Architecture of an ASP.NET page   An ASP.NET page can be simply consisted of HTML text and the code. You can write the code in Visual Basic.NET or C#. The ASP.NET files should be stored with the extension .aspx. The actual implementation provides full support for the ASP scripts as well. This includes support for <%  %> tag that is used to write code that can be intermixed with HTML content within an .aspx file. But unlike with ASP, the code included in percentage tags is compiled. An ASP.NET page is composed of the following elements: 1 -         Code declaration blocks used for defining variables and methods   ‘code 2 -         Code rendered blocks: <% string strVar;       strVar = “Hello”;       Response.Write(strVar); %> 3 -         Directives that specify optional settings for the page: <%@ Page Language="C#" %> 4 -         HTML syntax 5 -         Server control syntax Web Forms   Undoubtedly the most exciting feature of ASP.NET is introduction of the Web Forms. You can use the web forms to create the user interface of ASP.NET applications in the same way you build the GUI for VB applications. The web forms allow a clear separation of the presentation layer from business logic which can be implemented using VB.NET or C# classes. This is known as code-behind technique. Visual Studio .NET implements the code-behind by default.   With the web forms you can take advantage of event-driven programming techniques, and use a rich set of controls. HTML Controls These are the standard HTML controls like the text fields and buttons used in the previous example. The HTML controls can also be executed as server-side controls by adding "runat=server" into their definition:

In this case the HTML controls allow you to handle server events associated with a specific control, such as click event, etc. Web Form Controls Web Form Controls are a richer set of controls that run on the Server. For example the Label control is a server side control that can be used to display information on a web form: Label All Web Form controls inherit from System.Web.UI.WebControls class. A Web Form life-cycle follows a specified set of events. For example The Init event is the first event that occurs when the user visits the page. The Load event occurs when the page is loaded. The control events such as Change event, occur next. The UnLoad event takes place before the page is disposed. Web Form Example Let’s write a simple ASP.NET application consisted of a simple web form. Run Visual Studio .NET 2005. The Visual Studio .NET 2005 IDE will show the following window: Select File, New, Web site.  Figure 1.2. Creating a Web site project The New Web site window will open as is shown below:   Figure 1.3. Selecting an ASP.NET Empty project Select Visual C# under the languages and ASP.NET Web site under the Templates. Change the location of your application as is shown in the Location combo box and click OK. Add a new item to your project by selecting the project in Solution explorer and clicking on Add New Item. Choose Web form as shown below and click Add. Visual Studio will create a new web form and display the following page:  Figure 1.4. ASP.NET project view Click on the tool box and by adding only labels, text boxes and buttons, design a simple web form (for example, a simple login screen). Run the web application by clicking on the start button. You will get something like this:  Figure 1.5. Running the project Select Run without debugging and click OK. Here is the output:  Figure 1.6. ASP.NET web for at runtime Simple eh! Let’s add some code to handle the interaction with users. Add another label control to the web form.  Figure 1.7. Handling the interaction with user Here is the C# code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void cmdOk_Click(object sender, EventArgs e) { Label1.Visible = true; Label1.Text = "Welcome " + TextBox1.Text; } } All the Web form controls are defined using asp tag. Their definition is placed within a server side form. And the button’s click event is placed within tag. Whenever the user interacts with a web form control, an
Answered 2 days AfterJun 07, 2021

Answer To: Web Application Development with ASP.NET and C# XXXXXXXXXXCEIL-865 LAB #4 – Using ASP.NET Validation...

Shweta answered on Jun 10 2021
156 Votes
86035Solution/ShoppingCart/.vs/ShoppingCart/config/applicationhost.config

    
    
        
            
            
            
            
            
            
            
            
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
                
                
                
                    
                    
                    
                    
                    
                    
                
                
                
                
                
                
            
            
            
            
            
                
                
            
            
            
            
                
                
                
            
            
                
                
                
                
                
                
            
            
            
    
    
        
            
            
            
        
    
    
        
            
            
            
            
            
            
                
            
        
        
        
            
        
        
            
                
                    
                
                
                    
                
            









            
                
                
                
            
            
            
        
        
    
    
        
        
            
            
        
        
        
        
        
            
                
                
                
                
                
                
            
        
        
        
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            

        
        
            
            
                
                
                
                
                
            
            
                
                
                
                
                
                
                
            
        
        
            
            
            
            
            
            
            
            
            
        
        
        
            
                
                
            
            
                
            
        
        
        
        
            
            
            
            
            
        
        
        
            
            
                
            
            
                
                
                
                
                
                
                
                    
                        
                        
                    
                
            
            
                
            
            
            
                
                
                
                
            
            
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                
                
                    
                    
                    
                    
                    
                    
                    
                    
                
            
        
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
        
            
                
                    
                        
                        
                        
                        
                    
                    
                
            
            
                
                    
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        

                    
                
                
                    
                        
                    
                
                
                    
                        
                    
                
                
                    
                        
                        
                        
                        
                    
                
            
        
        
        
        
            
                
                    
                
                
                    
                
            
            
                
            
            
        
        
        
    
    
        
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                

            
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
            
        
    
86035Solution/ShoppingCart/.vs/ShoppingCart/v16/.suo
86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/.signature.p7s
86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompil
erPlatform.2.0.1/build/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props


$(MSBuildThisFileDirectory)..\..\tools\roslyn45


86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/build/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props




roslyn\%(RecursiveDir)%(Filename)%(Extension)





bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)
IncludeRoslynCompilerFilesToFilesForPackagingFromProject
Run





$(WebProjectOutputDir)\bin\roslyn
$(OutputPath)\roslyn
































try
{
foreach(var p in Process.GetProcessesByName(ProcessName))
{
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
using(var searcher = new ManagementObjectSearcher(wmiQuery))
{
using(var results = searcher.Get())
{
var mo = results.Cast().FirstOrDefault();
if(mo != null)
{
var path = (string)mo["ExecutablePath"];
var executablePath = path != null ? path : string.Empty;
Log.LogMessage("ExecutablePath is {0}", executablePath);
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
{
p.Kill();
p.WaitForExit();
Log.LogMessage("{0} is killed", executablePath);
break;
}
}
}
}
}
}
catch (Exception ex)
{
Log.LogWarning(ex.Message);
}
return true;
]]>












WillOverride = false;
try {
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
}
catch { }
]]>




86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props


$(MSBuildThisFileDirectory)..\..\tools\roslynlatest


86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props




roslyn\%(RecursiveDir)%(Filename)%(Extension)





bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)
IncludeRoslynCompilerFilesToFilesForPackagingFromProject
Run





$(WebProjectOutputDir)\bin\roslyn
$(OutputPath)\roslyn
































try
{
foreach(var p in Process.GetProcessesByName(ProcessName))
{
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
using(var searcher = new ManagementObjectSearcher(wmiQuery))
{
using(var results = searcher.Get())
{
var mo = results.Cast().FirstOrDefault();
if(mo != null)
{
var path = (string)mo["ExecutablePath"];
var executablePath = path != null ? path : string.Empty;
Log.LogMessage("ExecutablePath is {0}", executablePath);
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
{
p.Kill();
p.WaitForExit();
Log.LogMessage("{0} is killed", executablePath);
break;
}
}
}
}
}
}
catch (Exception ex)
{
Log.LogWarning(ex.Message);
}
return true;
]]>












WillOverride = false;
try {
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
}
catch { }
]]>




86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net45/app.config.install.xdt







































86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net45/app.config.uninstall.xdt




















86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net45/web.config.install.xdt

































86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net45/web.config.uninstall.xdt















86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net46/app.config.install.xdt







































86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net46/app.config.uninstall.xdt




















86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net46/web.config.install.xdt

































86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/content/net46/web.config.uninstall.xdt















86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml


Microsoft.CodeDom.Providers.DotNetCompilerPlatform




Provides access to instances of the .NET Compiler Platform C# code generator and code compiler.




Default Constructor




Creates an instance using the given ICompilerSettings





Gets an instance of the .NET Compiler Platform C# code compiler.

An instance of the .NET Compiler Platform C# code compiler



Provides settings for the C# and VB CodeProviders




The full path to csc.exe or vbc.exe




TTL in seconds




Provides access to instances of the .NET Compiler Platform VB code generator and code compiler.




Default Constructor




Creates an instance using the given ICompilerSettings





Gets an instance of the .NET Compiler Platform VB code compiler.

An instance of the .NET Compiler Platform VB code compiler


86035Solution/ShoppingCart/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1.nupkg
_rels/.rels



Microsoft.CodeDom.Providers.DotNetCompilerPlatform.nuspec


Microsoft.CodeDom.Providers.DotNetCompilerPlatform
2.0.1
CodeDOM Providers for .NET Compiler Platform ("Roslyn")
Microsoft
Microsoft
true
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
http://www.asp.net/
http://go.microsoft.com/fwlink/?LinkID=288859
Replacement CodeDOM providers that use the new .NET Compiler Platform ("Roslyn") compiler as a service APIs. This provides support for new language features in systems using CodeDOM (e.g. ASP.NET runtime compilation) as well as improving the compilation performance of these systems.

This package was built from the source at https://github.com/aspnet/RoslynCodeDomProvider/commit/12975a5a1616dbefac02ba8113204b59cba7eeec
Replacement CodeDOM providers that use the new .NET Compiler Platform ("Roslyn") compiler as a service APIs.
© Microsoft Corporation. All rights reserved.
en-US
Roslyn CodeDOM Compiler CSharp VB.Net ASP.NET

lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
lib/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml


Microsoft.CodeDom.Providers.DotNetCompilerPlatform




Provides access to instances of the .NET Compiler Platform C# code generator and code compiler.




Default Constructor




Creates an instance using the given ICompilerSettings





Gets an instance of the .NET Compiler Platform C# code compiler.

An instance of the .NET Compiler Platform C# code compiler



Provides settings for the C# and VB CodeProviders




The full path to csc.exe or vbc.exe




TTL in seconds




Provides access to instances of the .NET Compiler Platform VB code generator and code compiler.




Default Constructor




Creates an instance using the given ICompilerSettings





Gets an instance of the .NET Compiler Platform VB code compiler.

An instance of the .NET Compiler Platform VB code compiler


content/net45/app.config.install.xdt







































content/net45/app.config.uninstall.xdt




















content/net45/web.config.install.xdt

































content/net45/web.config.uninstall.xdt















content/net46/app.config.install.xdt







































content/net46/app.config.uninstall.xdt




















content/net46/web.config.install.xdt

































content/net46/web.config.uninstall.xdt















build/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props




roslyn\%(RecursiveDir)%(Filename)%(Extension)





bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)
IncludeRoslynCompilerFilesToFilesForPackagingFromProject
Run





$(WebProjectOutputDir)\bin\roslyn
$(OutputPath)\roslyn
































try
{
foreach(var p in Process.GetProcessesByName(ProcessName))
{
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
using(var searcher = new ManagementObjectSearcher(wmiQuery))
{
using(var results = searcher.Get())
{
var mo = results.Cast().FirstOrDefault();
if(mo != null)
{
var path = (string)mo["ExecutablePath"];
var executablePath = path != null ? path : string.Empty;
Log.LogMessage("ExecutablePath is {0}", executablePath);
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
{
p.Kill();
p.WaitForExit();
Log.LogMessage("{0} is killed", executablePath);
break;
}
}
}
}
}
}
catch (Exception ex)
{
Log.LogWarning(ex.Message);
}
return true;
]]>












WillOverride = false;
try {
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
}
catch { }
]]>




build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props




roslyn\%(RecursiveDir)%(Filename)%(Extension)





bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)
IncludeRoslynCompilerFilesToFilesForPackagingFromProject
Run





$(WebProjectOutputDir)\bin\roslyn
$(OutputPath)\roslyn
































try
{
foreach(var p in Process.GetProcessesByName(ProcessName))
{
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
using(var searcher = new ManagementObjectSearcher(wmiQuery))
{
using(var results = searcher.Get())
{
var mo = results.Cast().FirstOrDefault();
if(mo != null)
{
var path = (string)mo["ExecutablePath"];
var executablePath = path != null ? path : string.Empty;
Log.LogMessage("ExecutablePath is {0}", executablePath);
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
{
p.Kill();
p.WaitForExit();
Log.LogMessage("{0} is killed", executablePath);
break;
}
}
}
}
}
}
catch (Exception ex)
{
Log.LogWarning(ex.Message);
}
return true;
]]>












WillOverride = false;
try {
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
}
catch { }
]]>




build/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props


$(MSBuildThisFileDirectory)..\..\tools\roslyn45


build/net46/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props


$(MSBuildThisFileDirectory)..\..\tools\roslynlatest


tools/Roslyn45/csc.exe
tools/Roslyn45/csc.exe.config



























tools/Roslyn45/csc.rsp
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
# This file contains command-line options that the C#
# command line compiler (CSC) will process as part
# of every compilation, unless the "/noconfig" option
# is specified.
# Reference the common Framework libraries
/r:Accessibility.dll
/r:Microsoft.CSharp.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Core.dll
/r:System.Data.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Data.Linq.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceModel.dll
/r:System.ServiceModel.Web.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Extensions.Design.dll
/r:System.Web.Extensions.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Xml.dll
/r:System.Xml.Linq.dll
tools/Roslyn45/csi.exe
tools/Roslyn45/csi.rsp
/r:System
/r:System.Core
/r:Microsoft.CSharp
/u:System
/u:System.IO
/u:System.Collections.Generic
/u:System.Console
/u:System.Diagnostics
/u:System.Dynamic
/u:System.Linq
/u:System.Linq.Expressions
/u:System.Text
/u:System.Threading.Tasks
tools/Roslyn45/Microsoft.Build.Tasks.CodeAnalysis.dll
tools/Roslyn45/Microsoft.CodeAnalysis.CSharp.dll
tools/Roslyn45/Microsoft.CodeAnalysis.CSharp.Scripting.dll
tools/Roslyn45/Microsoft.CodeAnalysis.dll
tools/Roslyn45/Microsoft.CodeAnalysis.Scripting.dll
tools/Roslyn45/Microsoft.CodeAnalysis.VisualBasic.dll
tools/Roslyn45/Microsoft.CSharp.Core.targets

Name="CoreCompile"
Inputs="$(MSBuildAllProjects);
@(Compile);
@(_CoreCompileResourceInputs);
$(ApplicationIcon);
$(AssemblyOriginatorKeyFile);
@(ReferencePath);
@(CompiledLicenseFile);
@(LinkResource);
@(EmbeddedDocumentation);
$(Win32Resource);
$(Win32Manifest);
@(CustomAdditionalCompileInputs);
$(ResolvedCodeAnalysisRuleSet)"
Outputs="@(DocFileItem);
@(IntermediateAssembly);
@(_DebugSymbolsIntermediatePath);
$(NonExistentFile);
@(CustomAdditionalCompileOutputs)"
Returns="@(CscCommandLineArgs)"
DependsOnTargets="$(CoreCompileDependsOn)"
>


$(NoWarn);1701;1702



$(NoWarn);2008








$(AppConfig)

$(IntermediateOutputPath)$(TargetName).compile.pdb



false






true


AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)"
AdditionalFiles="@(AdditionalFiles)"
AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
Analyzers="@(Analyzer)"
ApplicationConfiguration="$(AppConfigForCompiler)"
BaseAddress="$(BaseAddress)"
CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
DebugType="$(DebugType)"
DefineConstants="$(DefineConstants)"
DelaySign="$(DelaySign)"
DisabledWarnings="$(NoWarn)"
DocumentationFile="@(DocFileItem)"
EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(CscEnvironment)"
ErrorEndLocation="$(ErrorEndLocation)"
ErrorLog="$(ErrorLog)"
ErrorReport="$(ErrorReport)"
Features="$(Features)"
FileAlignment="$(FileAlignment)"
GenerateFullPaths="$(GenerateFullPaths)"
HighEntropyVA="$(HighEntropyVA)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
LangVersion="$(LangVersion)"
LinkResources="@(LinkResource)"
MainEntryPoint="$(StartupObject)"
ModuleAssemblyName="$(ModuleAssemblyName)"
NoConfig="true"
NoLogo="$(NoLogo)"
NoStandardLib="$(NoCompilerStandardLib)"
NoWin32Manifest="$(NoWin32Manifest)"
Optimize="$(Optimize)"
Deterministic="$(Deterministic)"
PublicSign="$(PublicSign)"
OutputAssembly="@(IntermediateAssembly)"
PdbFile="$(PdbFile)"
Platform="$(PlatformTarget)"
Prefer32Bit="$(Prefer32Bit)"
PreferredUILang="$(PreferredUILang)"
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
References="@(ReferencePath)"
ReportAnalyzer="$(ReportAnalyzer)"
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)"
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
SkipCompilerExecution="$(SkipCompilerExecution)"
Sources="@(Compile)"
SubsystemVersion="$(SubsystemVersion)"
TargetType="$(OutputType)"
ToolExe="$(CscToolExe)"
ToolPath="$(CscToolPath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
UseSharedCompilation="$(UseSharedCompilation)"
Utf8Output="$(Utf8Output)"
VsSessionGuid="$(VsSessionGuid)"
WarningLevel="$(WarningLevel)"
WarningsAsErrors="$(WarningsAsErrors)"
WarningsNotAsErrors="$(WarningsNotAsErrors)"
Win32Icon="$(ApplicationIcon)"
Win32Manifest="$(Win32Manifest)"
Win32Resource="$(Win32Resource)"
PathMap="$(PathMap)"
>



<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />




tools/Roslyn45/Microsoft.DiaSymReader.Native.amd64.dll
tools/Roslyn45/Microsoft.DiaSymReader.Native.x86.dll
tools/Roslyn45/Microsoft.VisualBasic.Core.targets

Name="CoreCompile"
Inputs="$(MSBuildAllProjects);
@(Compile);
@(_CoreCompileResourceInputs);
$(ApplicationIcon);
$(AssemblyOriginatorKeyFile);
@(ReferencePath);
@(CompiledLicenseFile);
@(LinkResource);
@(EmbeddedDocumentation);
$(Win32Resource);
$(Win32Manifest);
@(CustomAdditionalCompileInputs);
$(ResolvedCodeAnalysisRuleSet)"
Outputs="@(DocFileItem);
@(IntermediateAssembly);
@(_DebugSymbolsIntermediatePath);
$(NonExistentFile);
@(CustomAdditionalCompileOutputs)"
Returns="@(VbcCommandLineArgs)"
DependsOnTargets="$(CoreCompileDependsOn)"
>

<_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true
<_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false



$(IntermediateOutputPath)$(TargetName).compile.pdb








false






true


AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)"
AdditionalFiles="@(AdditionalFiles)"
Analyzers="@(Analyzer)"
BaseAddress="$(BaseAddress)"
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
DebugType="$(DebugType)"
DefineConstants="$(FinalDefineConstants)"
DelaySign="$(DelaySign)"
DisabledWarnings="$(NoWarn)"
DocumentationFile="@(DocFileItem)"
EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(VbcEnvironment)"
ErrorLog="$(ErrorLog)"
ErrorReport="$(ErrorReport)"
Features="$(Features)"
FileAlignment="$(FileAlignment)"
GenerateDocumentation="$(GenerateDocumentation)"
HighEntropyVA="$(HighEntropyVA)"
Imports="@(Import)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
LangVersion="$(LangVersion)"
LinkResources="@(LinkResource)"
MainEntryPoint="$(StartupObject)"
ModuleAssemblyName="$(ModuleAssemblyName)"
NoConfig="true"
NoStandardLib="$(NoCompilerStandardLib)"
NoVBRuntimeReference="$(NoVBRuntimeReference)"
NoWarnings="$(_NoWarnings)"
NoWin32Manifest="$(NoWin32Manifest)"
Optimize="$(Optimize)"
Deterministic="$(Deterministic)"
PublicSign="$(PublicSign)"
OptionCompare="$(OptionCompare)"
OptionExplicit="$(OptionExplicit)"
OptionInfer="$(OptionInfer)"
OptionStrict="$(OptionStrict)"
OptionStrictType="$(OptionStrictType)"
OutputAssembly="@(IntermediateAssembly)"
PdbFile="$(PdbFile)"
Platform="$(PlatformTarget)"
Prefer32Bit="$(Prefer32Bit)"
PreferredUILang="$(PreferredUILang)"
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
References="@(ReferencePath)"
RemoveIntegerChecks="$(RemoveIntegerChecks)"
ReportAnalyzer="$(ReportAnalyzer)"
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)"
RootNamespace="$(RootNamespace)"
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
SdkPath="$(FrameworkPathOverride)"
SkipCompilerExecution="$(SkipCompilerExecution)"
Sources="@(Compile)"
SubsystemVersion="$(SubsystemVersion)"
TargetCompactFramework="$(TargetCompactFramework)"
TargetType="$(OutputType)"
ToolExe="$(VbcToolExe)"
ToolPath="$(VbcToolPath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
UseSharedCompilation="$(UseSharedCompilation)"
Utf8Output="$(Utf8Output)"
VBRuntimePath="$(VBRuntimePath)"
Verbosity="$(VbcVerbosity)"
VsSessionGuid="$(VsSessionGuid)"
WarningsAsErrors="$(WarningsAsErrors)"
WarningsNotAsErrors="$(WarningsNotAsErrors)"
Win32Icon="$(ApplicationIcon)"
Win32Manifest="$(Win32Manifest)"
Win32Resource="$(Win32Resource)"
VBRuntime="$(VBRuntime)"
PathMap="$(PathMap)"
>



<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />




tools/Roslyn45/System.AppContext.dll
tools/Roslyn45/System.Collections.Immutable.dll
tools/Roslyn45/System.Diagnostics.StackTrace.dll
tools/Roslyn45/System.IO.FileSystem.dll
tools/Roslyn45/System.IO.FileSystem.Primitives.dll
tools/Roslyn45/System.Reflection.Metadata.dll
tools/Roslyn45/vbc.exe
tools/Roslyn45/vbc.exe.config



























tools/Roslyn45/vbc.rsp
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
# This file contains command-line options that the VB
# command line compiler (VBC) will process as part
# of every compilation, unless the "/noconfig" option
# is specified.
# Reference the common Framework libraries
/r:Accessibility.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Data.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.XML.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Runtime.Serialization.dll
/r:System.ServiceModel.dll
/r:System.Core.dll
/r:System.Xml.Linq.dll
/r:System.Data.Linq.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Web.Extensions.dll
/r:System.Web.Extensions.Design.dll
/r:System.ServiceModel.Web.dll
# Import System and Microsoft.VisualBasic
/imports:System
/imports:Microsoft.VisualBasic
/imports:System.Linq
/imports:System.Xml.Linq
/optioninfer+
tools/Roslyn45/VBCSCompiler.exe
tools/Roslyn45/VBCSCompiler.exe.config































tools/RoslynLatest/csc.exe
tools/RoslynLatest/csc.exe.config












































































































































tools/RoslynLatest/csc.rsp
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
# This file contains command-line options that the C#
# command line compiler (CSC) will process as part
# of every compilation, unless the "/noconfig" option
# is specified.
# Reference the common Framework libraries
/r:Accessibility.dll
/r:Microsoft.CSharp.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Core.dll
/r:System.Data.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Data.Linq.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceModel.dll
/r:System.ServiceModel.Web.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Extensions.Design.dll
/r:System.Web.Extensions.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Xml.dll
/r:System.Xml.Linq.dll
tools/RoslynLatest/csi.exe
tools/RoslynLatest/csi.exe.config






















































































































































tools/RoslynLatest/csi.rsp
/r:System
/r:System.Core
/r:Microsoft.CSharp
/r:System.ValueTuple.dll
/u:System
/u:System.IO
/u:System.Collections.Generic
/u:System.Console
/u:System.Diagnostics
/u:System.Dynamic
/u:System.Linq
/u:System.Linq.Expressions
/u:System.Text
/u:System.Threading.Tasks
tools/RoslynLatest/Microsoft.Build.Tasks.CodeAnalysis.dll
tools/RoslynLatest/Microsoft.CodeAnalysis.CSharp.dll
tools/RoslynLatest/Microsoft.CodeAnalysis.CSharp.Scripting.dll
tools/RoslynLatest/Microsoft.CodeAnalysis.dll
tools/RoslynLatest/Microsoft.CodeAnalysis.Scripting.dll
tools/RoslynLatest/Microsoft.CodeAnalysis.VisualBasic.dll
tools/RoslynLatest/Microsoft.CSharp.Core.targets





$(NoWarn);1701;1702



$(NoWarn);2008



$(AppConfig)

...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here